summaryrefslogtreecommitdiff
path: root/npc/functions/clear_vars.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/clear_vars.txt')
-rw-r--r--npc/functions/clear_vars.txt11
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;
}