diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-03-11 12:50:47 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-03-11 12:50:47 -0300 |
commit | 40f92e35f93d6b773766a93bd7c8c5513b79ab58 (patch) | |
tree | b2073247d0bcf179fa958bb22a1d7b7840b8f040 /npc/009-5 | |
parent | 32f8d43e398e7a8e7ff6981bc483cfd3ab3c643f (diff) | |
download | serverdata-40f92e35f93d6b773766a93bd7c8c5513b79ab58.tar.gz serverdata-40f92e35f93d6b773766a93bd7c8c5513b79ab58.tar.bz2 serverdata-40f92e35f93d6b773766a93bd7c8c5513b79ab58.tar.xz serverdata-40f92e35f93d6b773766a93bd7c8c5513b79ab58.zip |
Mana Stone basic implementation
Diffstat (limited to 'npc/009-5')
-rw-r--r-- | npc/009-5/_import.txt | 1 | ||||
-rw-r--r-- | npc/009-5/manastone.txt | 52 |
2 files changed, 53 insertions, 0 deletions
diff --git a/npc/009-5/_import.txt b/npc/009-5/_import.txt index 431712f5d..a589c9d37 100644 --- a/npc/009-5/_import.txt +++ b/npc/009-5/_import.txt @@ -2,3 +2,4 @@ // This file is generated automatically. All manually added changes will be removed when running the Converter. "npc/009-5/_mobs.txt", "npc/009-5/_warps.txt", +"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; + +} |