summaryrefslogtreecommitdiff
path: root/npc/003-0
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-08-12 14:26:53 -0300
committerJesusaves <cpntb1@ymail.com>2019-08-12 14:26:53 -0300
commit1416450971492d42e1f6ca072621315d77a8c815 (patch)
tree3929b949ff8f419dfa5603e047ce454fde418d57 /npc/003-0
parentf1fc62e838d9cddc6a4428e7b57676f7c79a34d6 (diff)
downloadserverdata-1416450971492d42e1f6ca072621315d77a8c815.tar.gz
serverdata-1416450971492d42e1f6ca072621315d77a8c815.tar.bz2
serverdata-1416450971492d42e1f6ca072621315d77a8c815.tar.xz
serverdata-1416450971492d42e1f6ca072621315d77a8c815.zip
Enzo the Forgetful - Allows you to lose 1-MSP skills
Diffstat (limited to 'npc/003-0')
-rw-r--r--npc/003-0/_import.txt1
-rw-r--r--npc/003-0/enzo.txt57
2 files changed, 58 insertions, 0 deletions
diff --git a/npc/003-0/_import.txt b/npc/003-0/_import.txt
index 0ec5970cb..3ed596714 100644
--- a/npc/003-0/_import.txt
+++ b/npc/003-0/_import.txt
@@ -2,6 +2,7 @@
// This file is generated automatically. All manually added changes will be removed when running the Converter.
"npc/003-0/_warps.txt",
"npc/003-0/colin.txt",
+"npc/003-0/enzo.txt",
"npc/003-0/luca.txt",
"npc/003-0/recepcionist.txt",
"npc/003-0/saves.txt",
diff --git a/npc/003-0/enzo.txt b/npc/003-0/enzo.txt
new file mode 100644
index 000000000..a7dfe3173
--- /dev/null
+++ b/npc/003-0/enzo.txt
@@ -0,0 +1,57 @@
+// TMW2 Script
+// Author:
+// Jesusalva
+// Description:
+// Forgetful
+
+003-0,68,25,0 script Enzo NPC_BLACKWIZARD,{
+ mesn l("Enzo, the Forgetful");
+ mesq l("What was I doing before...? I forgot!");
+ next;
+ mesc l("Teaching Enzo your skills will make you both forget them."), 1;
+ mesc l("Once your skill is forgotten, the Magic Skill Points used will be freed."), 1;
+ mesc l("But be careful: Only 1MSP-costed skills can be forgotten, and learning fees WON'T be given back!"), 1;
+ do
+ {
+ next;
+ mesc l("Which skill will you FORGET permanently today?"), 1;
+ menuint
+ l("Uhm... Bye?"), 0,
+ rif(getskilllv(AL_HEAL), l("Healing")), AL_HEAL,
+ rif(getskilllv(TMW2_SAGE), l("Mana Wisdom")), TMW2_SAGE,
+ rif(getskilllv(HW_MAGICPOWER), l("Accumulate Power")), HW_MAGICPOWER,
+ rif(getskilllv(SM_PROVOKE), l("Provoke")), SM_PROVOKE,
+ rif(getskilllv(SA_FREECAST), l("Free Casting")), SA_FREECAST,
+ rif(getskilllv(TF_BACKSLIDING), l("Tactical Retreat")), TF_BACKSLIDING,
+ rif(getskilllv(MG_FIREWALL), l("Nature Wall")), MG_FIREWALL,
+ rif(getskilllv(ALL_FULL_THROTTLE), l("Last Resort")), ALL_FULL_THROTTLE,
+ rif(getskilllv(SM_BASH), l("Falkon Punch!")), SM_BASH,
+ rif(getskilllv(MC_MAMMONITE), l("Supreme Attack")), MC_MAMMONITE,
+ rif(getskilllv(AC_SHOWER), l("Arrow Shower")), AC_SHOWER,
+ rif(getskilllv(MG_FIREBALL), l("Fireball")), MG_FIREBALL,
+ rif(getskilllv(AL_HOLYLIGHT), l("Holy Light")), AL_HOLYLIGHT,
+ rif(getskilllv(MG_SOULSTRIKE), l("Magic Strike")), MG_SOULSTRIKE,
+ l("None at the moment!"), 0;
+ mes "";
+ mesc l("Skill @@ will be permanently lost!", @menuret), 1;
+ mesc l("Continue anyway?"), 1;
+ if (askyesno() == ASK_YES) {
+ .@lv=getskilllv(@menuret);
+ skill @menuret, 0, 0;
+ MAGIC_PTS-=.@lv;
+ mesc l("Skill @@ has been lost", @menuret), 3;
+ mesc l("You recovered @@ magic skill points", .@lv), 3;
+ } else {
+ mesn l("Enzo, the Forgetful");
+ mesq l("Uh, what?");
+ }
+ } while (@menuret);
+ close;
+
+OnInit:
+ .sex = G_MALE;
+ .distance = 5;
+ end;
+
+}
+