summaryrefslogtreecommitdiff
path: root/world/map/npc/items/require_stat.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/items/require_stat.txt')
-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)