summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2023-12-07 16:03:43 -0300
committerJesusaves <cpntb1@ymail.com>2023-12-07 16:03:43 -0300
commitfdcbc762cb853db8f36b2e6b117fad3332d6101b (patch)
treeb3da0305569fe207a187b658e096ff59c16fd5ae
parentc96d7a94e1cf2384537ec0614666027b139e6545 (diff)
downloadserverdata-fdcbc762cb853db8f36b2e6b117fad3332d6101b.tar.gz
serverdata-fdcbc762cb853db8f36b2e6b117fad3332d6101b.tar.bz2
serverdata-fdcbc762cb853db8f36b2e6b117fad3332d6101b.tar.xz
serverdata-fdcbc762cb853db8f36b2e6b117fad3332d6101b.zip
During Rebirth Season, Warp Crystals will break at half the usual rate
-rw-r--r--npc/functions/news.txt1
-rw-r--r--npc/items/teleporter.txt2
2 files changed, 3 insertions, 0 deletions
diff --git a/npc/functions/news.txt b/npc/functions/news.txt
index 970b1e3df..94ee7adee 100644
--- a/npc/functions/news.txt
+++ b/npc/functions/news.txt
@@ -305,6 +305,7 @@ function script EventHelp {
mes "";
mes l("During this season, monster point gain is increased in %d%%!", 10);
mes l("Not only that, but reborn characters will spawn at level %d!", 3);
+ mes l("Warp Crystals will also break much less!");
if (getq(LoFQuest_COD))
mes l("Call of Dusty event, in Land of Fire, also outputs more rewards.");
mes "";
diff --git a/npc/items/teleporter.txt b/npc/items/teleporter.txt
index 4ed8c27cb..529ff93c1 100644
--- a/npc/items/teleporter.txt
+++ b/npc/items/teleporter.txt
@@ -37,6 +37,8 @@ OnUse:
.@timet=limit(0, gettimetick(2)-TELEPORTER_TIME, 3600);
.@prop=.@timet*2777/1000; // Make it range from 0~10000
.@adj_breakrate=limit( 500, .@prop, 9500 );
+ if ($EVENT$ == "Rebirth")
+ .@adj_breakrate /= 2;
//debugmes "Adjusted break ratio: %d", .@adj_breakrate;
if (rand(10000) > .@adj_breakrate)
getitem @itemid, 1;