diff options
Diffstat (limited to 'world/map/npc/items/require_stat.txt')
-rw-r--r-- | world/map/npc/items/require_stat.txt | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/world/map/npc/items/require_stat.txt b/world/map/npc/items/require_stat.txt index 27d215f9..87ecf22a 100644 --- a/world/map/npc/items/require_stat.txt +++ b/world/map/npc/items/require_stat.txt @@ -13,14 +13,11 @@ function|script|RequireStat set @bStatVal, @bStat; // If the requirement isn't met, we set an unequip trigger. // The item is now removed. - if (@bStatVal < @minbStatVal) + if (@bStat < @minbStatVal) goto L_Unequip; - goto L_Return; + return; L_Unequip: callfunc "UnequipLater"; - goto L_Return; - -L_Return: return; } |