diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-06-23 09:21:04 +0000 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-06-23 09:21:04 +0000 |
commit | 2dfb07cd4a528751e8863cf8ba8127287a2a8f08 (patch) | |
tree | 04d92c6019c92fd92be52487a1fecbad000b6994 /npc/027-1 | |
parent | 0db6acf806ed5db7e4585c589cd4a2e236932c06 (diff) | |
parent | cb1deecd00fcb96aa5db2dab9fdc0f45e229d769 (diff) | |
download | serverdata-2dfb07cd4a528751e8863cf8ba8127287a2a8f08.tar.gz serverdata-2dfb07cd4a528751e8863cf8ba8127287a2a8f08.tar.bz2 serverdata-2dfb07cd4a528751e8863cf8ba8127287a2a8f08.tar.xz serverdata-2dfb07cd4a528751e8863cf8ba8127287a2a8f08.zip |
Merge branch 'enzosister' into 'master'
Xanthem: Created Enzo's Sister who forgets 3MSP skills
See merge request TMW2/serverdata!33
Diffstat (limited to 'npc/027-1')
-rw-r--r-- | npc/027-1/elza.txt | 52 |
1 files changed, 52 insertions, 0 deletions
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; + +} + |