diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-07-16 23:11:39 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-07-16 23:11:39 -0300 |
commit | b73cecf2dd621675eeb3674423450b9b5079ee63 (patch) | |
tree | 6901aed8524ad9435ddbf646149b670c0067b054 /npc/functions/clear_vars.txt | |
parent | 631b221422448bcb029780b0f2e0838c33c09c4f (diff) | |
download | serverdata-b73cecf2dd621675eeb3674423450b9b5079ee63.tar.gz serverdata-b73cecf2dd621675eeb3674423450b9b5079ee63.tar.bz2 serverdata-b73cecf2dd621675eeb3674423450b9b5079ee63.tar.xz serverdata-b73cecf2dd621675eeb3674423450b9b5079ee63.zip |
Migrate OrumQuest to the QuestSystem, and inheir skills on ported chars.
Diffstat (limited to 'npc/functions/clear_vars.txt')
-rw-r--r-- | npc/functions/clear_vars.txt | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/npc/functions/clear_vars.txt b/npc/functions/clear_vars.txt index efaa9d13..9670134b 100644 --- a/npc/functions/clear_vars.txt +++ b/npc/functions/clear_vars.txt @@ -12,11 +12,12 @@ function script ClearVariables { QL_HIDENSEEK = 0; } if (#CRYPT_PASSWORD && !getq(Quest_Reapercry)) { + learnskill SKILL_REAPERCRY, 1; setq Quest_Reapercry, 1; } if (#DD5_TALLY) { setq Quest_Doomsday, 2; - #DD5_TALLY = 0; // Whatever + #DD5_TALLY = 0; // Whatever, one is enough } if (#BankAccount) { BankVault += #BankAccount; @@ -56,8 +57,16 @@ function script ClearVariables { //SAGATHA_ST = (QUEST_MAGIC & NIBBLE_3_MASK) >> NIBBLE_3_SHIFT; // Unhappy //Saggy - 4+5 //Alchemist - 6+7 (War Quest - Swords again?) + if (OrumQuest >= 37) + learnskill SKILL_HELORP; + if (OrumQuest >= 38) + learnskill SKILL_PHLEX; + if (OrumQuest >= 41) + learnskill SKILL_HALHISS; + setq(MagicQuest_DarkMage, OrumQuest); QUEST_MAGIC = 0; QUEST_MAGIC2 = 0; + OrumQuest = 0; } return; } |