diff options
Diffstat (limited to 'world/map/npc/items/require_stat.txt')
-rw-r--r-- | world/map/npc/items/require_stat.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/world/map/npc/items/require_stat.txt b/world/map/npc/items/require_stat.txt index 87fd9d72..df05d37c 100644 --- a/world/map/npc/items/require_stat.txt +++ b/world/map/npc/items/require_stat.txt @@ -5,7 +5,8 @@ // @minbStatVal The minimum stat value to accept this item. // ------------------------------------------------------------ -function|script|RequireStat|{ +function|script|RequireStat| +{ if (@bStat$ == "" || @minbStatVal < 0) return; set @bStatVal, 0; if (@bStat$ == "Str") |