summaryrefslogtreecommitdiff
path: root/world
diff options
context:
space:
mode:
authorJesusaves <jesusalva@themanaworld.org>2020-05-26 12:23:25 -0300
committerGitHub <noreply@github.com>2020-05-26 15:23:25 +0000
commit88c672c5d75a33b535e8c312d83754c9d7655504 (patch)
tree53e49f822d9eaa1a3a46259c9e7e4238f1b92752 /world
parent1f877df5f1f94290de2a47f923e3ac435621233e (diff)
downloadserverdata-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')
-rw-r--r--world/map/db/item_db_chest.txt1
-rw-r--r--world/map/db/item_db_head.txt1
-rw-r--r--world/map/npc/functions/doomsday.txt43
3 files changed, 44 insertions, 1 deletions
diff --git a/world/map/db/item_db_chest.txt b/world/map/db/item_db_chest.txt
index fc47cc29..d0cddcca 100644
--- a/world/map/db/item_db_chest.txt
+++ b/world/map/db/item_db_chest.txt
@@ -246,3 +246,4 @@
5206, CrimsonBra, 5, 800, 400, 12, 0, 2, 0, -4, 0, 2, 512, 0, 0, 0, {}, {}
5207, TurquoiseBra, 5, 800, 400, 12, 0, 2, 0, -4, 0, 2, 512, 0, 0, 0, {}, {}
5208, OrchidBra, 5, 800, 400, 12, 0, 2, 0, -4, 0, 2, 512, 0, 0, 0, {}, {}
+5254, SaviorArmor, 5, 0, 0, 2000, 0, 24, 0, -90, 0, 2, 512, 0, 0, 0, {}, {bonus bDex, 1; bonus bMaxHP, 500;}
diff --git a/world/map/db/item_db_head.txt b/world/map/db/item_db_head.txt
index b2e50b5a..cdcb7fde 100644
--- a/world/map/db/item_db_head.txt
+++ b/world/map/db/item_db_head.txt
@@ -218,3 +218,4 @@
5248, OrangeShades, 5, 500, 100, 20, 0, 2, 0, 0, 0, 2, 256, 0, 0, 0, {}, {}
5249, PurpleShades, 5, 500, 100, 20, 0, 2, 0, 0, 0, 2, 256, 0, 0, 0, {}, {}
5250, DarkGreenShades, 5, 500, 100, 20, 0, 2, 0, 0, 0, 2, 256, 0, 0, 0, {}, {}
+5255, PVPCap, 5, 500, 100, 20, 0, 2, 0, 0, 0, 2, 256, 0, 0, 0, {}, {}
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;