summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/003-0/colin.txt35
-rw-r--r--npc/003-0/luca.txt36
2 files changed, 66 insertions, 5 deletions
diff --git a/npc/003-0/colin.txt b/npc/003-0/colin.txt
index 1a7bb2c3b..888c73f4d 100644
--- a/npc/003-0/colin.txt
+++ b/npc/003-0/colin.txt
@@ -6,9 +6,40 @@
// Colin, of Destructive Magic Class.
003-0,58,29,0 script Colin NPC_PLAYER,{
- mesn;
- mesq l("I am the @@ master.", l("Wizard Mages"));
if (!MAGIC_LVL) goto L_NoMagic;
+ mes l(".:: Trickster Class ::.");
+ mesc l("Specialized in miscellaneous skills.");
+ next;
+ mesn;
+ mesc l("You have @@/@@ magic skill points available.", sk_points(), sk_maxpoints());
+ mesc l("Trickster uses an experimental window, you might need to resize it to see all skills.");
+ do {
+ next;
+ mesc l("Healing - The most basic healing skill, requires no items to use.");
+ mesc l("Mana Wisdom - Raise Mana EXP Gain rate");
+ menuint
+ "Healing", AL_HEAL,
+ "Mana Wisdom", TMW2_SAGE,
+ "Cancel", 0;
+ mes "";
+
+ switch (@menuret) {
+ case AL_HEAL:
+ if (!mlearn(AL_HEAL, 1, 1, SpellBookPage, 1))
+ mesc l("You do not meet all requisites for this skill."), 1;
+ break;
+ case TMW2_SAGE:
+ if (!mlearn(TMW2_SAGE, 1, 1, SpellBookPage, 1))
+ mesc l("You do not meet all requisites for this skill."), 1;
+ break;
+ default:
+ if (@menuret)
+ Exception("ERROR skill not implemented", RB_DEFAULT|RB_SPEECH);
+ else
+ closeclientdialog;
+ break;
+ }
+ } while (@menuret);
close;
L_NoMagic:
diff --git a/npc/003-0/luca.txt b/npc/003-0/luca.txt
index 39bf70e9b..c44614a77 100644
--- a/npc/003-0/luca.txt
+++ b/npc/003-0/luca.txt
@@ -6,10 +6,40 @@
// Luca, of Physical Science Class.
003-0,34,41,0 script Luca NPC_PLAYER,{
- mesn;
- mesq l("I am the @@ master.", l("Magic Warriors"));
if (!MAGIC_LVL) goto L_NoMagic;
- if (getskilllv(WIZARD_MAGE) && !is_admin()) close;
+ mes l(".:: Trickster Class ::.");
+ mesc l("Specialized in miscellaneous skills.");
+ next;
+ mesn;
+ mesc l("You have @@/@@ magic skill points available.", sk_points(), sk_maxpoints());
+ mesc l("Trickster uses an experimental window, you might need to resize it to see all skills.");
+ do {
+ next;
+ mesc l("Healing - The most basic healing skill, requires no items to use.");
+ mesc l("Mana Wisdom - Raise Mana EXP Gain rate");
+ menuint
+ "Healing", AL_HEAL,
+ "Mana Wisdom", TMW2_SAGE,
+ "Cancel", 0;
+ mes "";
+
+ switch (@menuret) {
+ case AL_HEAL:
+ if (!mlearn(AL_HEAL, 1, 1, SpellBookPage, 1))
+ mesc l("You do not meet all requisites for this skill."), 1;
+ break;
+ case TMW2_SAGE:
+ if (!mlearn(TMW2_SAGE, 1, 1, SpellBookPage, 1))
+ mesc l("You do not meet all requisites for this skill."), 1;
+ break;
+ default:
+ if (@menuret)
+ Exception("ERROR skill not implemented", RB_DEFAULT|RB_SPEECH);
+ else
+ closeclientdialog;
+ break;
+ }
+ } while (@menuret);
close;
L_NoMagic: