From fea468067efd742aad0fdd7bc3ebba9da21f6313 Mon Sep 17 00:00:00 2001
From: Christopher Chay <2vendor@hisfootsteps.net>
Date: Fri, 22 May 2020 22:35:04 +0000
Subject: Xanthem: Added Enzo

---
 npc/027-1/ezra.txt | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 58 insertions(+)
 create mode 100644 npc/027-1/ezra.txt

(limited to 'npc')

diff --git a/npc/027-1/ezra.txt b/npc/027-1/ezra.txt
new file mode 100644
index 000000000..c3a604f6e
--- /dev/null
+++ b/npc/027-1/ezra.txt
@@ -0,0 +1,58 @@
+// TMW2 Script
+// Author:
+//  Jesusalva
+// Description:
+//  Forgetful
+
+027-1,86,115,0	script	Ezra	NPC_BLACKWIZARD,{
+    mesn l("Ezra, the very Forgetful");
+    mesq l("What was I doing before...? I forgot!");
+    next;
+    mesc l("Teaching Ezra 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 2MSP-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(MG_NAPALMBEAT),          l("Napalm Beat")), MG_NAPALMBEAT,
+	    	rif(getskilllv(MG_FROSTDIVER),          l("Frost Diver")), MG_FROSTDIVER,
+	    	rif(getskilllv(SO_FIREWALK), 			l("Fire Walk")), SO_FIREWALK,
+	    	rif(getskilllv(KN_AUTOCOUNTER),			l("Counter Attack")), KN_AUTOCOUNTER,
+	    	rif(getskilllv(ASC_METEORASSAULT),		l("Ground Strike")), ASC_METEORASSAULT,
+	    	rif(getskilllv(EVOL_AREA_PROVOKE),		l("Area Provoke")), EVOL_AREA_PROVOKE,
+	    	rif(getskilllv(EVOL_MASS_PROVOKE),		l("Mass Provoke")), EVOL_MASS_PROVOKE,
+	    	rif(getskilllv(AB_HIGHNESSHEAL),		l("High Healing")), AB_HIGHNESSHEAL,
+	    	rif(getskilllv(GC_DARKILLUSION),		l("Dark Illusion")), GC_DARKILLUSION,
+	    	rif(getskilllv(NV_TRICKDEAD),			l("Trick Dead")), NV_TRICKDEAD,
+            l("None at the moment!"), 0;
+        if (!@menuret)
+            close;
+        mes "";
+        mesc l("Skill @@ will be permanently lost!", @menuret), 1;
+        mesc l("Continue anyway?"), 1;
+        if (askyesno() == ASK_YES) {
+            .@lv=getskilllv(@menuret)+1;
+            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("Ezra, the very Forgetful");
+            mesq l("Uh, what?");
+        }
+    } while (@menuret);
+    next;
+    mesn l("Ezra, the Very Forgetful");
+    mesq l("Do you know where my brother Enzo is? I forgot that too!");
+    close;
+
+OnInit:
+    .sex = G_MALE;
+    .distance = 5;
+    end;
+
+}
+
-- 
cgit v1.2.3-70-g09d2