summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-09-07 14:45:06 -0300
committerJesusaves <cpntb1@ymail.com>2019-09-07 14:45:06 -0300
commit0b07d3ce6cf5b02ec20db1d3f231df322dfca699 (patch)
treecc862d661bd7705d5f7198afc33f84d902a46f89
parentdc2c201628885530639472d35397c1f54f7f8d66 (diff)
downloadserverdata-0b07d3ce6cf5b02ec20db1d3f231df322dfca699.tar.gz
serverdata-0b07d3ce6cf5b02ec20db1d3f231df322dfca699.tar.bz2
serverdata-0b07d3ce6cf5b02ec20db1d3f231df322dfca699.tar.xz
serverdata-0b07d3ce6cf5b02ec20db1d3f231df322dfca699.zip
Correct a getarg bug in csys_Apply
-rw-r--r--npc/craft/options.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/craft/options.txt b/npc/craft/options.txt
index b9cd159a4..879dd022d 100644
--- a/npc/craft/options.txt
+++ b/npc/craft/options.txt
@@ -424,7 +424,7 @@ function script csys_BonusCalc {
function script csys_Apply {
.@id=getarg(0);
.@lv=getarg(1, getskilllv(TMW2_CRAFT));
- .@sc=getarg(1, CRAFTSYS_CURRENT);
+ .@sc=getarg(2, CRAFTSYS_CURRENT);
.@lv2=csys_Generate(.@sc);
// @csys_attr → Available attributes