From cb1deecd00fcb96aa5db2dab9fdc0f45e229d769 Mon Sep 17 00:00:00 2001 From: Christopher Chay <2vendor@hisfootsteps.net> Date: Tue, 23 Jun 2020 09:21:04 +0000 Subject: Xanthem: Created Enzo's Sister who forgets 3MSP skills --- npc/027-1/elza.txt | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 npc/027-1/elza.txt (limited to 'npc/027-1') diff --git a/npc/027-1/elza.txt b/npc/027-1/elza.txt new file mode 100644 index 000000000..e7c5f5779 --- /dev/null +++ b/npc/027-1/elza.txt @@ -0,0 +1,52 @@ +// TMW2 Script +// Author: +// Jesusalva +// Description: +// Forgetful + +027-1,86,110,0 script Elza 312,{ + mesn l("Elza, the Forgetful"); + mesq l("What was I doing before...? I totally forgot!"); + if (any(true, false)) + mesc l("Have you seen my brother %s?", any("Enzo", "Ezra")); + next; + mesc l("Teaching Elza 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 3MSP-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(WZ_FROSTNOVA), l("Frost Nova")), WZ_FROSTNOVA, + rif(getskilllv(AC_SHOWER), l("Arrow Shower")), AC_SHOWER, + rif(getskilllv(SN_SHARPSHOOTING), l("Sharpshooter")), SN_SHARPSHOOTING, + rif(getskilllv(SN_WINDWALK), l("Wind Walk")), SN_WINDWALK, + rif(getskilllv(CR_TRUST), l("Last Man Standing")), CR_TRUST, + 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)+2; + 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("Elza, the Forgetful"); + mesq l("Uh, what?"); + } + } while (@menuret); + close; + +OnInit: + .sex = G_MALE; + .distance = 5; + end; + +} + -- cgit v1.2.3-70-g09d2