summaryrefslogtreecommitdiff
path: root/npc/018-5-4/darklord.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/018-5-4/darklord.txt')
-rw-r--r--npc/018-5-4/darklord.txt30
1 files changed, 26 insertions, 4 deletions
diff --git a/npc/018-5-4/darklord.txt b/npc/018-5-4/darklord.txt
index 9e3a9ac4b..db95c04a7 100644
--- a/npc/018-5-4/darklord.txt
+++ b/npc/018-5-4/darklord.txt
@@ -57,8 +57,9 @@ function script DarkLordMobCount {
function lordHuntReport;
function lordHuntReward;
function lordTrainingComplete;
+ function lordSkillTraining;
function lordClose;
- if (MAGIC_LVL && getq(LilitQuest_PiratesOfSARAH) > 1)
+ if ((MAGIC_LVL) && (getq(LilitQuest_PiratesOfSARAH) > 1))
{
lordQuest();
}
@@ -69,7 +70,7 @@ function lordQuest
{
if (BaseLevel < 60)
{
- elderClose();
+ lordClose();
return;
}
.@q=getq(LilitQuest_TheDuckSide);
@@ -380,7 +381,7 @@ function lordHuntReward
mesq l("Congratulations, Apprentice. Your training is complete. You now truly belong to the Duck Side.");
next;
mesn;
- mesq l("Remember to practice, youngling. Discipline is everything.");
+ mesq l("Remember to practice youngling. Discipline is everything.");
next;
skill(TMW2_NECROTICBOLT,1,0);
setq(LilitQuest_TheDuckSide, 7, 0, 0);
@@ -390,8 +391,29 @@ function lordHuntReward
function lordTrainingComplete
{
mesn;
- mesq l("You have mastered much, but you must practice more before you can draw even greater power from the Duck Side.");
+ mesq l("I teach the skills necessary to draw even greater power from the Duck Side.");
next;
+ if (MAGIC_LVL)
+ {
+ lordSkillTraining();
+ }
+ return;
+}
+
+function lordSkillTraining
+{
+ mes l(".:: Destructive Magic Class ::.");
+ mesc l("Specialized in necromancer skills with undead-based damage and summoning.");
+ next;
+ mesn;
+ mesc l("You have @@ magic skill points available.", sk_points());
+ mes "";
+ mes l(".:: Necrotic Bolt ::.");
+ mesc l("Blast your enemies with a bolt of pure undeath, leeching life from them in the process.");
+ mes "";
+ menuint
+ l("Necrotic Bolt"), TMW2_NECROTICBOLT,
+ l("Cancel"), 0;
return;
}