diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-04-07 14:31:14 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-04-07 14:31:14 -0300 |
commit | 2f52cdd29c61f3d075a847c637d53ec6f806c7b1 (patch) | |
tree | 0adaf18ab7ceb762b6ce4197880604199823bf68 /npc/011-1 | |
parent | 3d53e90852a111701d5d8299aaea062705b6ade4 (diff) | |
download | serverdata-2f52cdd29c61f3d075a847c637d53ec6f806c7b1.tar.gz serverdata-2f52cdd29c61f3d075a847c637d53ec6f806c7b1.tar.bz2 serverdata-2f52cdd29c61f3d075a847c637d53ec6f806c7b1.tar.xz serverdata-2f52cdd29c61f3d075a847c637d53ec6f806c7b1.zip |
Blame gumi, moving 011 to 011-1 due bad parser
Diffstat (limited to 'npc/011-1')
-rw-r--r-- | npc/011-1/_import.txt | 5 | ||||
-rw-r--r-- | npc/011-1/_mobs.txt | 6 | ||||
-rw-r--r-- | npc/011-1/_warps.txt | 3 | ||||
-rw-r--r-- | npc/011-1/manastone.txt | 92 |
4 files changed, 106 insertions, 0 deletions
diff --git a/npc/011-1/_import.txt b/npc/011-1/_import.txt new file mode 100644 index 000000000..2545a2de2 --- /dev/null +++ b/npc/011-1/_import.txt @@ -0,0 +1,5 @@ +// Map 011-1: Depleted Mana Stones Mine +// This file is generated automatically. All manually added changes will be removed when running the Converter. +"npc/011-1/_mobs.txt", +"npc/011-1/_warps.txt", +"npc/011-1/manastone.txt", diff --git a/npc/011-1/_mobs.txt b/npc/011-1/_mobs.txt new file mode 100644 index 000000000..8988adbb5 --- /dev/null +++ b/npc/011-1/_mobs.txt @@ -0,0 +1,6 @@ +// This file is generated automatically. All manually added changes will be removed when running the Converter. +// Map 011-1: Depleted Mana Stones Mine mobs +011-1,99,100,79,79 monster Mana Ghost 1068,40,20000,20000 +011-1,98,101,79,79 monster Fire Goblin 1067,100,60000,60000 +011-1,100,99,79,79 monster Lava Slime 1097,75,60000,60000 +011-1,101,98,79,79 monster Red Slime 1092,120,60000,60000 diff --git a/npc/011-1/_warps.txt b/npc/011-1/_warps.txt new file mode 100644 index 000000000..bba2aa0f6 --- /dev/null +++ b/npc/011-1/_warps.txt @@ -0,0 +1,3 @@ +// This file is generated automatically. All manually added changes will be removed when running the Converter. +// Map 011-1: Depleted Mana Stones Mine warps +011-1,177,178,0 warp #011-1_177_178 0,0,009-1,119,41 diff --git a/npc/011-1/manastone.txt b/npc/011-1/manastone.txt new file mode 100644 index 000000000..0ca8e09fa --- /dev/null +++ b/npc/011-1/manastone.txt @@ -0,0 +1,92 @@ +// TMW2 Script +// Author: +// Jesusalva +// Description: +// The last Mana Stone in the whole world, which is not owned by the Magic Council +// or the Monster King. + +011-1,0,0,0 script Mana Stone NPC_MANA_STONE,{ + + if (BaseLevel < 40) goto L_NotWorthy; + mesn; + mes l("The mighty Mana Stone does not reacts against you."); + mes l("If you fell ready, perhaps you should touch it?"); + mes ""; + menu + l("Touch it!"), L_Level, + l("Take it!"), L_NotWorthy2, + l("Break it!"), L_NotWorthy2, + l("Leave it alone!"), -; + close; + + +L_NotWorthy: + percentheal -70+BaseLevel, -100+BaseLevel; + npctalk3 l("You are not worthy!"); + end; + +L_Level: + if (MAGIC_LVL == 0 && readparam(bInt) >= 30 && BaseLevel >= 40 && JobLevel >= 10 && readparam(Sp) == readparam(MaxSp)) goto L_LevelUp; + + // Everything below this line is garbage + if (MAGIC_LVL == 1 && readparam(bInt) >= 60 && BaseLevel >= 60 && JobLevel >= 30 && readparam(Sp) == readparam(MaxSp)) goto L_LevelUp; + if (MAGIC_LVL == 2 && readparam(bInt) >= 90 && BaseLevel >= 80 && JobLevel >= 50 && readparam(Sp) == readparam(MaxSp)) goto L_LevelUp; + if (MAGIC_LVL == 3 && readparam(bInt) >= 120 && BaseLevel >= 100 && JobLevel >= 70 && readparam(Sp) == readparam(MaxSp)) goto L_LevelUp; + if (MAGIC_LVL == 4 && readparam(bInt) >= 150 && BaseLevel >= 120 && JobLevel >= 90 && readparam(Sp) == readparam(MaxSp)) goto L_LevelUp; + if (MAGIC_LVL == 5 && readparam(bInt) >= 180 && BaseLevel >= 140 && JobLevel >= 110 && readparam(Sp) == readparam(MaxSp)) goto L_LevelUp; + if (MAGIC_LVL == 6 && readparam(bInt) >= 210 && BaseLevel >= 160 && JobLevel >= 120 && readparam(Sp) == readparam(MaxSp)) goto L_LevelUp; + if (MAGIC_LVL >= 7) npctalk3 l("You already got all power I could grant you!"); + if (is_gm()) percentheal -20, -50; + if (MAGIC_LVL >= 7 || is_gm()) close; + +L_NotWorthy2: + if (is_gm()) movenpc(.name$, rand(200), rand(200)); + if (is_gm()) close; + percentheal -20, -50; + npctalk3 l("You are not worthy!"); + end; + +L_LevelUp: + mes ""; + mes l("A great rush of mana flows though you."); + if (!MAGIC_LVL) mes l("Magic Power is granted to you, but you die from it."); + if (MAGIC_LVL) mes l("More Magic Power is granted to you, but you die from it."); + MAGIC_LVL = MAGIC_LVL+1; + percentheal -100, -100; + close; + +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: + npctalk "Those who are worthy, may get my magic. For the others, death awaits!"; + movenpc .name$, rand(200), rand(200); + end; + +} |