From 6df037322b925220dd503746692200b9aff5d2d4 Mon Sep 17 00:00:00 2001 From: mekolat Date: Sun, 19 Apr 2015 15:37:54 -0400 Subject: add new consts for the params --- world/map/npc/items/require_stat.txt | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'world/map/npc/items/require_stat.txt') 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; } -- cgit v1.2.3-60-g2f50