diff options
author | mekolat <mekolat@gmail.com> | 2015-04-19 15:37:54 -0400 |
---|---|---|
committer | mekolat <mekolat@users.noreply.github.com> | 2015-04-30 01:41:56 -0400 |
commit | 6df037322b925220dd503746692200b9aff5d2d4 (patch) | |
tree | 9c7fccf1cecea4f1120e2fbad3c71f1df03094ef /world/map/npc/items/require_stat.txt | |
parent | bf3c1c0e4add6a5d8a52b043a30775eada1cef2f (diff) | |
download | serverdata-6df037322b925220dd503746692200b9aff5d2d4.tar.gz serverdata-6df037322b925220dd503746692200b9aff5d2d4.tar.bz2 serverdata-6df037322b925220dd503746692200b9aff5d2d4.tar.xz serverdata-6df037322b925220dd503746692200b9aff5d2d4.zip |
add new consts for the params
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; } |