summaryrefslogtreecommitdiff
path: root/npc/003-0/colin.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-07-19 20:54:36 -0300
committerJesusaves <cpntb1@ymail.com>2019-07-19 20:54:36 -0300
commit3efa7fedb25f7df0990906bc98f453d9c74824a8 (patch)
tree8fd221ee6d2abb530dd9cb3cb48c70b8e296f507 /npc/003-0/colin.txt
parent95cc256e4c1fcf38f4a845489fc1d78739399a00 (diff)
downloadserverdata-3efa7fedb25f7df0990906bc98f453d9c74824a8.tar.gz
serverdata-3efa7fedb25f7df0990906bc98f453d9c74824a8.tar.bz2
serverdata-3efa7fedb25f7df0990906bc98f453d9c74824a8.tar.xz
serverdata-3efa7fedb25f7df0990906bc98f453d9c74824a8.zip
Rewrite Colin and Luca to new template
Diffstat (limited to 'npc/003-0/colin.txt')
-rw-r--r--npc/003-0/colin.txt35
1 files changed, 33 insertions, 2 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: