summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2024-04-20 00:17:18 -0300
committerJesusaves <cpntb1@ymail.com>2024-04-20 00:17:18 -0300
commitce21eff1786402cab5ce883adf30622abef6788d (patch)
tree5b4a67698b8a3787ababe2e8f4dbb68f9c3411f9 /npc
parent93365596df4f82b8822e65947c9e4bfcf481c149 (diff)
downloadserverdata-ce21eff1786402cab5ce883adf30622abef6788d.tar.gz
serverdata-ce21eff1786402cab5ce883adf30622abef6788d.tar.bz2
serverdata-ce21eff1786402cab5ce883adf30622abef6788d.tar.xz
serverdata-ce21eff1786402cab5ce883adf30622abef6788d.zip
Given that the 4th rebirth does not unlock any new race, extend its rewards.
It'll grant 2 extra Supreme Gifts and an extra level to Realm of Drops.
Diffstat (limited to 'npc')
-rw-r--r--npc/025-1/phoenix.txt6
-rw-r--r--npc/functions/clientversion.txt10
2 files changed, 15 insertions, 1 deletions
diff --git a/npc/025-1/phoenix.txt b/npc/025-1/phoenix.txt
index c9e95556a..edeb26f3e 100644
--- a/npc/025-1/phoenix.txt
+++ b/npc/025-1/phoenix.txt
@@ -60,6 +60,8 @@ OnMain:
mes l("* 1 Trait");
mes l("* Healing items improved");
mes l("* %s Level up", getskillname(TMW2_DROPS));
+ if (REBIRTH == 3)
+ mesc l("Only for this rebirth: +2 %s and +1 Lv to %s", getitemlink(SupremeGift), getskillname(TMW2_DROPS));
if (BaseLevel < .@blvl) {
setpcblock(PCBLOCK_HARD, false);
close;
@@ -92,9 +94,11 @@ OnMain:
REBIRTH_OVERLEVEL=max(0, BaseLevel-.@blvl-(REBIRTH_OVERLEVEL/REBIRTH));
resetlvl(3);
sk_lvup(TMW2_DROPS);
+ if (REBIRTH == 4)
+ sk_lvup(TMW2_DROPS);
NewcomerEXPDROPUP();
getvaultexp(20);
- getitembound SupremeGift, 1, 4;
+ getitembound SupremeGift, (REBIRTH == 4 ? 3 : 1), 4;
warp "005-1", 40, 117;
LOCATION$="Candor";
kamibroadcast(strcharinfo(0)+" has been reborn.");
diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt
index 8af816048..db451a86b 100644
--- a/npc/functions/clientversion.txt
+++ b/npc/functions/clientversion.txt
@@ -1189,6 +1189,16 @@ function script clientupdater {
rentitem(any(PepperoniPizza, Sushi, SteakAndEggs, FruitSalad), 86400);
}
}
+ // Poppet Rebirth System Extension
+ // sáb 20 abr 2024 00:14:32 -03
+ if (UPDATE < 1713582872) {
+ UPDATE=1713582872;
+ if (REBIRTH >= 4) {
+ sk_lvup(TMW2_DROPS);
+ getitembound SupremeGift, 2, 4;
+ dispbottom l("You acquired the additional gifts and %s upgrades from the 4th rebirth.", getskillname(TMW2_DROPS));
+ }
+ }
// TODO: Anniversary (leap years disregarded)
// :// End of Regular Update System