From 1a3a1835e41451d5e3d27899bc7f0a2c8f9b437a Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 5 Jun 2022 23:43:11 -0300 Subject: The final aurora event is the Rebirth Season, which increases Mobpt gain. It also makes reborn characters spawn at level 3 if done via Fortress. Or, alternatively, you may rebirth in Tulimshar, but w/o the level bonus. --- npc/003-1/events.txt | 6 ++++++ npc/003-1/jakod.txt | 12 ++++++++++-- npc/025-1/phoenix.txt | 5 +++++ npc/functions/aurora.txt | 6 ++---- npc/functions/mobpoint.txt | 4 ++++ npc/functions/news.txt | 9 +++++++++ 6 files changed, 36 insertions(+), 6 deletions(-) diff --git a/npc/003-1/events.txt b/npc/003-1/events.txt index 644ea2101..d6843d105 100644 --- a/npc/003-1/events.txt +++ b/npc/003-1/events.txt @@ -331,6 +331,12 @@ L_Aurora: .@WHAT$=l("miners union request"); } else if ($EVENT$ == "Candor") { .@WHAT$=l("candor battle season"); + } else if ($EVENT$ == "Celestia") { + .@WHAT$=l("yeti king hunt season"); + } else if ($EVENT$ == "Gemini") { + .@WHAT$=l("gemini season"); + } else if ($EVENT$ == "Rebirth") { + .@WHAT$=l("rebirth season"); } else if ($EVENT$ == "Tower") { .@WHAT$=l("dream tower apparition"); } else if ($EVENT$ == "Raid") { diff --git a/npc/003-1/jakod.txt b/npc/003-1/jakod.txt index ccc8ba7b6..bc3d70333 100644 --- a/npc/003-1/jakod.txt +++ b/npc/003-1/jakod.txt @@ -7,12 +7,20 @@ // magic and is their tutor on the matters of the Mana Stone. 003-1,109,129,0 script Jakod NPC_PLAYER_TONORI,{ - - mesn; if (BaseLevel < $MANA_BLVL) mesq l("Hello there. I am looking for strong people, but you are not strong enough."); if (BaseLevel < $MANA_BLVL) close; + if ($EVENT$ == "Rebirth") { + mesc l("Are you looking for Rebirth? Limited time only!"), 1; + if (askyesno() == ASK_YES) { + doevent "Phoenix Rebirth::OnMain"; + closeclientdialog; + end; + } + clear; + } + mes l("\"Ah, hello there, @@. You've grown quite skilled lately.", strcharinfo(0)); if (MAGIC_LVL) { mes l("I also see you have a level @@ magic skill!\"", MAGIC_LVL); diff --git a/npc/025-1/phoenix.txt b/npc/025-1/phoenix.txt index f700f3b5b..2c8da3271 100644 --- a/npc/025-1/phoenix.txt +++ b/npc/025-1/phoenix.txt @@ -6,6 +6,9 @@ 025-1,66,21,0 script Phoenix Rebirth NPC_BRGUARD_SPEAR,{ setpcblock(PCBLOCK_HARD, true); + .@phoenix = true; + +OnMain: mesn; mesq l("Hello there. My name is %s.", .name$); next; @@ -128,6 +131,8 @@ } // These operations can be delayed or fail StatusResetReinvest(); + if ($EVENT$ == "Rebirth" && .@phoenix) + BaseLevel = 3; // Open a new dialog clear; setnpcdialogtitle l("Rebirth Race Selection"); diff --git a/npc/functions/aurora.txt b/npc/functions/aurora.txt index 2d3b5e64d..686196561 100644 --- a/npc/functions/aurora.txt +++ b/npc/functions/aurora.txt @@ -135,10 +135,8 @@ function script FYNewEvent { kamibroadcast("Magic Olympics are now open!", "Aurora Events"); break; case 9: - // FIXME: PLACEHOLDER - $EVENT$="Regnum"; - callfunc("FYEConf_Regnum"); - kamibroadcast("Regnum's Blessing: "+$REGNUM_BLESSMAP_H$+" is now blessed!", "Aurora Events"); + $EVENT$="Rebirth"; + kamibroadcast("Rebirth Season has begun!", "Aurora Events"); break; case 10: $EVENT$="Fishing"; diff --git a/npc/functions/mobpoint.txt b/npc/functions/mobpoint.txt index 1d030c3a7..62951e3b0 100644 --- a/npc/functions/mobpoint.txt +++ b/npc/functions/mobpoint.txt @@ -37,6 +37,10 @@ function script mobpoint { // Sanitization .@addval=max(0, .@addval); + // Events (+10% Mob Points) + if ($EVENT$ == "Rebirth") + .@addval = .@addval * 11 / 10; + // Grant you the Monster Points Mobpt = Mobpt + .@addval; return; diff --git a/npc/functions/news.txt b/npc/functions/news.txt index c11d36ffd..38120537f 100644 --- a/npc/functions/news.txt +++ b/npc/functions/news.txt @@ -300,6 +300,15 @@ function script EventHelp { mes l("Form your party and rescue Luvia Gemini from Isbamuth!"); mesc l("Location: Forsaken Inn, South Woodlands"), 3; ///////////////////////////////////////////////////////////////////////// + } else if ($EVENT$ == "Rebirth") { + mesc ".:: " + l("Rebirth Season") + " ::.", 2; + 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 ""; + mes l("Also: You'll be able to rebirth at Tulimshar with Jakod. What are you waiting for?!"); + mesc l("Location: Not applicable"), 3; + ///////////////////////////////////////////////////////////////////////// } else if ($EVENT$ == "Tower") { mesc ".:: " + l("Dream Tower Appears") + " ::.", 2; mes ""; -- cgit v1.2.3-60-g2f50