summaryrefslogtreecommitdiff
path: root/world/map/npc/items
diff options
context:
space:
mode:
authormekolat <mekolat@gmail.com>2015-04-16 21:11:51 -0400
committermekolat <mekolat@users.noreply.github.com>2015-04-30 01:41:26 -0400
commitbf3c1c0e4add6a5d8a52b043a30775eada1cef2f (patch)
treee5b50684900e324ac12eeb16c1c38b6729b3fb86 /world/map/npc/items
parentdbf4de95bec3a15f3e7c636899f679c814af85a2 (diff)
downloadserverdata-bf3c1c0e4add6a5d8a52b043a30775eada1cef2f.tar.gz
serverdata-bf3c1c0e4add6a5d8a52b043a30775eada1cef2f.tar.bz2
serverdata-bf3c1c0e4add6a5d8a52b043a30775eada1cef2f.tar.xz
serverdata-bf3c1c0e4add6a5d8a52b043a30775eada1cef2f.zip
remove deprecated readparam & statusup2
Diffstat (limited to 'world/map/npc/items')
-rw-r--r--world/map/npc/items/require_stat.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/world/map/npc/items/require_stat.txt b/world/map/npc/items/require_stat.txt
index 40200ea9..27d215f9 100644
--- a/world/map/npc/items/require_stat.txt
+++ b/world/map/npc/items/require_stat.txt
@@ -4,13 +4,13 @@
// This is passed automagically when called in an equip script.
// @bStat The stat to check against.
// Usually one of: bStr, bAgi, bVit, bInt, bDex, bLuk;
-// but can be anything that works with readparam().
+// but can be anything that works with .
// @minbStatVal The minimum stat value to accept this item.
// ------------------------------------------------------------
function|script|RequireStat
{
- set @bStatVal, readparam(@bStat);
+ set @bStatVal, @bStat;
// If the requirement isn't met, we set an unequip trigger.
// The item is now removed.
if (@bStatVal < @minbStatVal)