diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-04-11 11:46:57 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-04-11 11:46:57 -0300 |
commit | 5a74b05a113c5d0eea21c3d061f44c72f1df2ff7 (patch) | |
tree | ba1fce51143e1a1e76c4789531a44985739cb4bd /npc/002-1 | |
parent | 964018501cd9c86790ff206692500841056733d1 (diff) | |
download | serverdata-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.txt | 2 | ||||
-rw-r--r-- | npc/002-1/luca.txt | 2 |
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; |