summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-12-26 02:16:15 -0200
committerJesusaves <cpntb1@ymail.com>2018-12-26 02:16:15 -0200
commit8a067ea72f82ee8089978a58f9ef36c55bb6c1e8 (patch)
treec7d71f51aeb0ca0cd1a50ba179ea2e8e9941c13e
parentb0d9247f48151d047ac4dccc37efa70a71383926 (diff)
downloadserverdata-8a067ea72f82ee8089978a58f9ef36c55bb6c1e8.tar.gz
serverdata-8a067ea72f82ee8089978a58f9ef36c55bb6c1e8.tar.bz2
serverdata-8a067ea72f82ee8089978a58f9ef36c55bb6c1e8.tar.xz
serverdata-8a067ea72f82ee8089978a58f9ef36c55bb6c1e8.zip
Bella the Scholar reports to players who find her in Halinarzo,
what they're lacking to learn Magic.
-rw-r--r--db/constants.conf1
-rw-r--r--npc/009-2/_import.txt1
-rw-r--r--npc/009-2/scholar.txt35
3 files changed, 37 insertions, 0 deletions
diff --git a/db/constants.conf b/db/constants.conf
index 349497096..b97409044 100644
--- a/db/constants.conf
+++ b/db/constants.conf
@@ -4017,6 +4017,7 @@ constants_db: {
NPC_GNOME_B: 320
NPC_GNOME_C: 321
NPC_MIRAJ: 323
+ NPC_BELLA: 324
NPC_ERNANDO: 328
NPC_ANDREI: 329
diff --git a/npc/009-2/_import.txt b/npc/009-2/_import.txt
index c4f67b6bd..87b9801a2 100644
--- a/npc/009-2/_import.txt
+++ b/npc/009-2/_import.txt
@@ -3,3 +3,4 @@
"npc/009-2/_warps.txt",
"npc/009-2/librarian.txt",
"npc/009-2/ryan.txt",
+"npc/009-2/scholar.txt",
diff --git a/npc/009-2/scholar.txt b/npc/009-2/scholar.txt
new file mode 100644
index 000000000..ff5227e3e
--- /dev/null
+++ b/npc/009-2/scholar.txt
@@ -0,0 +1,35 @@
+// TMW2/LoF scripts.
+// Authors:
+// TMW-LoF Team
+// Jesusalva
+// Description:
+// Permanently repeatable quest, without any special limit
+
+009-2,51,54,0 script Bella, the Scholar NPC_BELLA,{
+ mesn;
+ mesq l("I am Bella, the Scholar.");
+ if (!mstone($MAGIC_TIER)) goto L_NotEnough;
+ mesq l("Out of my experience, you are ready to learn magic.");
+ next;
+ mesn;
+ mesq l("A pity that without having born with magic, you need a Mana Stone... And there are none left...");
+ mesc l("*sigh*");
+ close;
+
+L_NotEnough:
+ if (BaseLevel < $MANA_BLVL+$MAGIC_TIER*rand(18,22)) {
+ mesq l("Out of my experience, your level may not be enough.");
+ }
+ if (JobLevel < $MANA_JLVL+$MAGIC_TIER*rand(12,26)) {
+ mesq l("Out of my experience, your job may not be enough.");
+ }
+ if (readparam(bInt) < $MANA_BINT+$MAGIC_TIER*rand(18,22)) {
+ mesq l("Out of my experience, your base intelligence may not be enough.");
+ }
+ close;
+
+OnInit:
+ .sex=G_FEMALE;
+ .distance=5;
+ end;
+}