summaryrefslogtreecommitdiff
path: root/npc/003-0/luca.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/luca.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/luca.txt')
-rw-r--r--npc/003-0/luca.txt36
1 files changed, 33 insertions, 3 deletions
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: