summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--db/quest_db.conf4
-rw-r--r--npc/009-2/scholar.txt36
2 files changed, 40 insertions, 0 deletions
diff --git a/db/quest_db.conf b/db/quest_db.conf
index f7de57195..f0f748f3b 100644
--- a/db/quest_db.conf
+++ b/db/quest_db.conf
@@ -220,6 +220,10 @@ quest_db: (
Id: 76
Name: "HalinarzoQuest_Alvasus"
},
+{
+ Id: 77
+ Name: "HalinarzoQuest_MageEquipment"
+},
// ID 91 to 110: Hurnscald Quests
{
diff --git a/npc/009-2/scholar.txt b/npc/009-2/scholar.txt
index ff5227e3e..9ac710f78 100644
--- a/npc/009-2/scholar.txt
+++ b/npc/009-2/scholar.txt
@@ -4,8 +4,13 @@
// Jesusalva
// Description:
// Permanently repeatable quest, without any special limit
+// HalinarzoQuest_MageEquipment
+// 0 - Haven't started
+// 1 - Listened to intro about mage equipments.
+// 2 - NYI: A quest to obtain more powerful magic equipment.
009-2,51,54,0 script Bella, the Scholar NPC_BELLA,{
+ .@q=getq(HalinarzoQuest_MageEquipment);
mesn;
mesq l("I am Bella, the Scholar.");
if (!mstone($MAGIC_TIER)) goto L_NotEnough;
@@ -14,6 +19,8 @@
mesn;
mesq l("A pity that without having born with magic, you need a Mana Stone... And there are none left...");
mesc l("*sigh*");
+ if (.@q < 1)
+ goto L_Intro;
close;
L_NotEnough:
@@ -26,6 +33,35 @@ L_NotEnough:
if (readparam(bInt) < $MANA_BINT+$MAGIC_TIER*rand(18,22)) {
mesq l("Out of my experience, your base intelligence may not be enough.");
}
+ if (.@q < 1)
+ goto L_Intro;
+ close;
+
+L_Intro:
+ next;
+ mesn;
+ mesq l("I'll only say you this once. Mages can, of course, go to battlefield in heavy armor and stuff.");
+ next;
+ mesn;
+ mesq l("But if a mage wants to be a warrior, they won't be able to use their full magic skills.");
+ next;
+ mesn;
+ mesq l("Mages should use equipment designed for them. Those may be lacking on defense, but will raise MP and Magic Attack.");
+ next;
+ mesn;
+ mesq l("Without magic attack, using a fireball at an enemy will be like throwing a stone.");
+ mesq l("And without proper MP-raising equipment, you'll be exausthed after your first fireball.");
+ next;
+ mesn;
+ mesq l("Mage equipment also raises MP recovery. So yes, a mage can use a sword and heavy armor, but...");
+ mesq l("...If they decide to do so, they'll have to deal with weak magical attacks, and with quick mana depletion.");
+ next;
+ inventoryplace TrainingWand, 1;
+ mesn;
+ mesq l("Thanks for listening to my rambles. I'll gift you a @@. Of course, having a wand won't give you magic...", getitemlink(TrainingWand));
+ mesq l("...You need to learn magic before this equipment being useful to you in any way.");
+ setq HalinarzoQuest_MageEquipment, 1;
+ getitem TrainingWand, 1;
close;
OnInit: