From 40f92e35f93d6b773766a93bd7c8c5513b79ab58 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 11 Mar 2018 12:50:47 -0300 Subject: Mana Stone basic implementation --- npc/009-5/manastone.txt | 52 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 npc/009-5/manastone.txt (limited to 'npc/009-5/manastone.txt') diff --git a/npc/009-5/manastone.txt b/npc/009-5/manastone.txt new file mode 100644 index 000000000..55fd811c1 --- /dev/null +++ b/npc/009-5/manastone.txt @@ -0,0 +1,52 @@ +// TMW2 Script +// Author: +// Jesusalva +// Description: +// TODO + +009-5,0,0,0 script Mana Stone NPC_MANA_STONE,{ + + if (BaseLevel < 40) goto L_NotWorthy; + hello; + end; + +L_NotWorthy: + percentheal -70+BaseLevel, -100+BaseLevel; + npctalk3 "You are not worthy!"; + end; + +OnInit: + movenpc .name$, rand(200), rand(200); + .sex = G_OTHER; + .distance = 5; + end; + +OnClock0030: +OnClock0120: +OnClock0210: +OnClock0300: +OnClock0450: +OnClock0540: +OnClock0630: +OnClock0720: +OnClock0810: +OnClock0900: +OnClock1050: +OnClock1140: +OnClock1230: +OnClock1320: +OnClock1410: +OnClock1500: +OnClock1650: +OnClock1740: +OnClock1830: +OnClock1920: +OnClock2010: +OnClock2100: +OnClock2250: +OnClock2340: + movenpc .name$, rand(200), rand(200); + npctalk l("Those who are worthy, may get my magic. For the others, death awaits!"); + end; + +} -- cgit v1.2.3-70-g09d2