diff options
author | Jesusaves <jesusalva@themanaworld.org> | 2020-05-26 12:23:25 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-26 15:23:25 +0000 |
commit | 88c672c5d75a33b535e8c312d83754c9d7655504 (patch) | |
tree | 53e49f822d9eaa1a3a46259c9e7e4238f1b92752 /world/map/npc/functions/doomsday.txt | |
parent | 1f877df5f1f94290de2a47f923e3ac435621233e (diff) | |
download | serverdata-88c672c5d75a33b535e8c312d83754c9d7655504.tar.gz serverdata-88c672c5d75a33b535e8c312d83754c9d7655504.tar.bz2 serverdata-88c672c5d75a33b535e8c312d83754c9d7655504.tar.xz serverdata-88c672c5d75a33b535e8c312d83754c9d7655504.zip |
End May Updates
PVP Cap, Requested by Kytty
Stuff which will be required for Doomsday Act 3
Diffstat (limited to 'world/map/npc/functions/doomsday.txt')
-rw-r--r-- | world/map/npc/functions/doomsday.txt | 43 |
1 files changed, 42 insertions, 1 deletions
diff --git a/world/map/npc/functions/doomsday.txt b/world/map/npc/functions/doomsday.txt index 50774bbd..0bebe8cc 100644 --- a/world/map/npc/functions/doomsday.txt +++ b/world/map/npc/functions/doomsday.txt @@ -150,8 +150,9 @@ L_Zealite: disablenpc "Soul Menhir#hurnscald"; disablenpc "Soul Menhir#nivalis"; disablenpc "Soul Menhir#tulimshar"; + enablenpc "Chest#Zealite"; //disablenpc "Soul Menhir#candor"; - gmlog strcharinfo(0) + " changed the availability of #manatez spell."; + gmlog strcharinfo(0) + " changed the availability of #manatez and Savior Armor."; return; // Act 5: The Doomsday @@ -334,6 +335,7 @@ L_MenhirUpdate: disablenpc "Soul Menhir#hurnscald"; disablenpc "Soul Menhir#nivalis"; disablenpc "Soul Menhir#tulimshar"; + enablenpc "Chest#Zealite"; end; /////// Act 3 sieges @@ -1176,6 +1178,45 @@ OnInit: end; } +009-1,53,40,0|script|Chest#Zealite|111 +{ + if ($DOOMSDAY != 2) end; + if ((gettimetick(2)-TUT_var < 3*7*86400) || (BaseLevel < 25)) //player must be created at least 3 weeks ago + goto L_EndTooYoung; + if (#DOOMSDAY_ARMOR) + goto L_EndTooYoung; + mes "[Chest]"; + mes "Inside this chest, Jande left us some Zealite based armor."; + next; + mes "[Chest]"; + mes "The @@5254|@@ can be really powerful. It'll be taken away once Doomsday Event ends."; + next; + mes "[Chest]"; + mes "Should we take it? (Max. 1 per account)"; + next; + mes "Event Details: [@@https://forums.themanaworld.org/viewtopic.php?t=20921|@@]"; + menu + "Yes, take it", L_Yes, + "No, I don't trust it", L_No; + +L_Yes: + message strcharinfo(0), "Chest : You took the Savior Armor from the chest. It will be lost once event ends."; + getitem "SaviorArmor", 1; + set #DOOMSDAY_ARMOR, 1; + close; + +L_No: + close; + +L_EndTooYoung: + message strcharinfo(0), "Chest : It is empty!"; + end; + +OnInit: + disablenpc "Chest#Zealite"; + end; +} + 008-1,97,28,0|script|#Haystack|400 { if ($DOOMSDAY != 3) end; |