diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-05-01 14:27:33 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-05-01 14:27:33 -0300 |
commit | f92335a4c2024993899188d3548eaa7d6dbd7444 (patch) | |
tree | 7794d192c9cdcabcc20f92147035c9079c7200ee /npc/functions/quests.txt | |
parent | 1da05d24db230a695fce7522b383762f29f93f38 (diff) | |
download | serverdata-f92335a4c2024993899188d3548eaa7d6dbd7444.tar.gz serverdata-f92335a4c2024993899188d3548eaa7d6dbd7444.tar.bz2 serverdata-f92335a4c2024993899188d3548eaa7d6dbd7444.tar.xz serverdata-f92335a4c2024993899188d3548eaa7d6dbd7444.zip |
Update Valon to new quest system
Diffstat (limited to 'npc/functions/quests.txt')
-rw-r--r-- | npc/functions/quests.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/functions/quests.txt b/npc/functions/quests.txt index fcdc13eb..657b7eff 100644 --- a/npc/functions/quests.txt +++ b/npc/functions/quests.txt @@ -37,8 +37,8 @@ function script elanore_decrease_exp { function script ValonCount { @valon_mob = 0; - if (QL_VALON >= 2) - @valon_mob = (QL_VALON - 2); + if (getq(CandorQuest_Valon) >= 2) + @valon_mob = (getq(CandorQuest_Valon) - 2); @valon_count = ((STARTAREA & NIBBLE_2_MASK) >> NIBBLE_2_SHIFT); return; } @@ -50,7 +50,7 @@ function script ResetValonCntMask { function script ValonProgress { ValonCount(); - if ((QL_VALON > 1) && (QL_VALON < 6)) + if ((getq(CandorQuest_Valon) > 1) && (getq(CandorQuest_Valon) < 6)) message strcharinfo(0), $@ValonMobName$[@valon_mob] + ": " + @valon_count + "/" + $@ValonMobCnt[@valon_mob]; return; } |