summaryrefslogtreecommitdiff
path: root/npc/002-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-04-11 11:46:57 -0300
committerJesusaves <cpntb1@ymail.com>2021-04-11 11:46:57 -0300
commit5a74b05a113c5d0eea21c3d061f44c72f1df2ff7 (patch)
treeba1fce51143e1a1e76c4789531a44985739cb4bd /npc/002-1
parent964018501cd9c86790ff206692500841056733d1 (diff)
downloadserverdata-5a74b05a113c5d0eea21c3d061f44c72f1df2ff7.tar.gz
serverdata-5a74b05a113c5d0eea21c3d061f44c72f1df2ff7.tar.bz2
serverdata-5a74b05a113c5d0eea21c3d061f44c72f1df2ff7.tar.xz
serverdata-5a74b05a113c5d0eea21c3d061f44c72f1df2ff7.zip
The meaning of addtoskill is different here; Make a wrapper
Diffstat (limited to 'npc/002-1')
-rw-r--r--npc/002-1/elanore.txt2
-rw-r--r--npc/002-1/luca.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/npc/002-1/elanore.txt b/npc/002-1/elanore.txt
index 3a546cd2..8a9a5da2 100644
--- a/npc/002-1/elanore.txt
+++ b/npc/002-1/elanore.txt
@@ -468,7 +468,7 @@ L_T_AdvTo3Ready:
callsub S_Update_Var;
getexp @xp, 0;
if (getskilllv(SKILL_MAGIC_LIFE) < 3)
- addtoskill SKILL_MAGIC_LIFE, 3;
+ updateskill SKILL_MAGIC_LIFE, 3;
next;
if (@Q_kadiya_status != @Q_STATUS_COMPLETED_ELANORE) goto L_Main;
diff --git a/npc/002-1/luca.txt b/npc/002-1/luca.txt
index 2350ded5..90762575 100644
--- a/npc/002-1/luca.txt
+++ b/npc/002-1/luca.txt
@@ -130,7 +130,7 @@ L_Teach0_follow:
mes "He grins.";
mes "[You gain 10,000 experience points]";
mes "[You learned Skill Focus]";
- addtoskill SKILL_POOL, 1;
+ updateskill SKILL_POOL, 1;
getexp 10000, 0;
next;
goto L_Teachmore2;