summaryrefslogtreecommitdiff
path: root/npc/015-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-04-15 13:56:27 -0300
committerJesusaves <cpntb1@ymail.com>2021-04-15 13:56:27 -0300
commit827a9f2be696ece2984776fcc77ebd1439db9032 (patch)
tree86de75665faf32066557c9791a922b618a441264 /npc/015-1
parentc927a7d771b7ed475e4d8e2e946faace2438d575 (diff)
downloadserverdata-827a9f2be696ece2984776fcc77ebd1439db9032.tar.gz
serverdata-827a9f2be696ece2984776fcc77ebd1439db9032.tar.bz2
serverdata-827a9f2be696ece2984776fcc77ebd1439db9032.tar.xz
serverdata-827a9f2be696ece2984776fcc77ebd1439db9032.zip
Polish a bit the Magic Sword
Diffstat (limited to 'npc/015-1')
-rw-r--r--npc/015-1/sword.txt33
1 files changed, 19 insertions, 14 deletions
diff --git a/npc/015-1/sword.txt b/npc/015-1/sword.txt
index 3c9594aa..d829793a 100644
--- a/npc/015-1/sword.txt
+++ b/npc/015-1/sword.txt
@@ -1,7 +1,7 @@
015-1,97,97,0 script #MagicSword#_M NPC400,{
if (getskilllv(SKILL_MAGIC))
goto L_message;
- mes "It appears to be an ordinary sword.";
+ mes l("It appears to be an ordinary sword.");
close;
L_message:
@@ -31,20 +31,20 @@ L_message:
if (@Q_status == @STATUS_W11_12) goto L_L2_W10;
mesn l("Mystic Sword");
- mes "\"I have taught thee all I can teach for now.\"";
+ mesq l("I have taught thee all I can teach for now.");
close;
L_Initial:
mesn l("Mystic Sword");
- mes "At this point, the river deepens, slowing down to a leisurely pace. In its center you notice an unusual stone, waves breaking around it.";
- mes "Sticking out of the rock is a sword hilt.";
+ mes l("At this point, the river deepens, slowing down to a leisurely pace. In its center you notice an unusual stone, waves breaking around it.");
+ mes l("Sticking out of the rock is a sword hilt.");
next;
mesn l("Mystic Sword");
- mes "Suddenly, you hear a strange, metallic voice in your head, the voice of a woman.";
- mes "\"A blissful day to thee, mortal!\"";
+ mesc l("Suddenly, you hear a strange, metallic voice in your head, the voice of a woman.");
+ mesq l("A blissful day to thee, mortal!");
next;
mesn l("Mystic Sword");
- mes "\"What is it is that brings thee to this place?\"";
+ mesq l("What is it is that brings thee to this place?");
next;
menu
"Who are you?", L_Noq,
@@ -54,18 +54,18 @@ L_Initial:
L_Noq:
mesn l("Mystic Sword");
- mes "The voice sounds slightly amused.";
- mes "\"How sad to hear how manners have degenerated in recent centuries. Farewell for now, dear mortal.\"";
+ mesc l("The voice sounds slightly amused.");
+ mesq l("How sad to hear how manners have degenerated in recent centuries. Farewell for now, dear mortal.");
close;
L_Initial_nothing:
mesn l("Mystic Sword");
- mes "\"Then I wish thee well in thy travels, wanderer!\"";
+ mesq l("Then I wish thee well in thy travels, wanderer!");
close;
L_Initial_learn:
mesn l("Mystic Sword");
- mes "\"Magic? Unless I am very mistaken thou already possessest some magic. Yet perhaps I can grant thee some slight aid by providing a magical invocation?\"";
+ mes "\"Magic? Unless I am very mistaken thou already possessest some magic. Yet perhaps I can grant thee some slight aid by providing a magical invocation?\"";
next;
mesn l("Mystic Sword");
mes "\"Alas, my nature is not quite conductive for spells of healing or protection, though I can bestow upon thee the powers for a rather more martial kind of power.\"";
@@ -150,7 +150,7 @@ L_FlareStage_moremagic:
L_FlareStage_sulphur:
mesn l("Mystic Sword");
- mes "\"I do not know, though I suggest to seek out a local alchemist, if there is any.\"";
+ mesq l("I do not know, though I suggest to seek out a local alchemist, if there is any.");
next;
goto L_Farewell;
@@ -167,7 +167,7 @@ L_MagicBladeStage:
L_Levelup2_yes:
mesn l("Mystic Sword");
- mes "\"Beware of what thou wishest for, mortal...\"";
+ mesq l("Beware of what thou wishest for, mortal...");
next;
if (!MPQUEST)
@@ -176,7 +176,7 @@ L_Levelup2_yes:
goto L_Lvl2_must_practice;
mesn l("Mystic Sword");
- mes "\"Thou hast collected " + Mobpt + " Monster Points. For one thousand of them, I shall admit thee to the school of war magic.\"";
+ mesq l("Thou hast collected %s Monster Points. For one thousand of them, I shall admit thee to the school of war magic.", fnum(Mobpt));
next;
menu
"OK!", L_Next1,
@@ -239,6 +239,11 @@ L_L2_W12:
L_Next2:
mesn l("Mystic Sword");
+ if (getskilllv(SKILL_MAGIC) < 2) {
+ mesq l("But alas, thou need more magical power for that.");
+ next;
+ goto L_Farewell;
+ }
mes "\"Very well. I shall teach thee another spell, if thou provest thy progress by sacrificing another five thousand monster points.\"";
next;
menu