diff options
author | Fedja Beader <fedja@protonmail.ch> | 2025-03-16 01:33:53 +0100 |
---|---|---|
committer | Jesusalva Jesusalva <jesusalva@tmw2.org> | 2025-03-16 00:46:29 +0000 |
commit | 29fd19efe145fd7bb97f8f8a0ff63a51e41532ac (patch) | |
tree | 61f32b8e6a284c940915e87551d39195c4d224a8 | |
parent | b76f7d31b5f019a91adbc80bad864b38f0126164 (diff) | |
download | serverdata-rebirth_messages.tar.gz serverdata-rebirth_messages.tar.bz2 serverdata-rebirth_messages.tar.xz serverdata-rebirth_messages.zip |
Add message when player is reborn into savior race + improve spelling and announce which rebirth it was, otherwise.rebirth_messages
-rw-r--r-- | npc/025-1/phoenix.txt | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/npc/025-1/phoenix.txt b/npc/025-1/phoenix.txt index c1edc71f3..9ae8707e3 100644 --- a/npc/025-1/phoenix.txt +++ b/npc/025-1/phoenix.txt @@ -103,17 +103,23 @@ OnMain: #ADD_HLV+=1000000; warp "005-1", 40, 117; LOCATION$="Candor"; - kamibroadcast(strcharinfo(0)+" has been reborn."); - // Maybe you were THE FIRST + if (!REBIRTH_WINNER) REBIRTH_WINNER = gettimetick(2); + + // Maybe you were THE FIRST if ($REBIRTH_WINNER$ == "") { $REBIRTH_WINNER$=strcharinfo(0); - channelmes("#world", $REBIRTH_WINNER$+" is the first player to REBIRTH!! They are so OP! %%N"); - announce "All hail ##B"+$REBIRTH_WINNER$+"##b, first player to REBIRTH and become OP!", bc_all|bc_npc; + channelmes("#world", $REBIRTH_WINNER$+" is the first player to be REBORN!! They are so OP! %%N"); + announce "All hail ##B"+$REBIRTH_WINNER$+"##b, the first player to be REBORN and become OP!", bc_all|bc_npc; getitem SupremeGift, 1; next; + } else if (REBIRTH == 5) { + kamibroadcast(strcharinfo(0) + " has been reborn into the savior race. They are so OP! %%N"); + } else { + kamibroadcast(strcharinfo(0) + " has been reborn. This is their " + .@rebirth$ + " rebirth."); } + // These operations can be delayed or fail StatusResetReinvest(); if ($EVENT$ == "Rebirth" && .@phoenix) |