diff options
author | Jesusaves <cpntb1@ymail.com> | 2024-07-28 17:51:37 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2024-07-28 17:51:37 -0300 |
commit | 54530684ff9392cc32628ac2253381977d1a5e4e (patch) | |
tree | d750e9d722acc527fa341434299cff2d81eb326d | |
parent | 7ff182e303ca082516b24a4b9edea57fd91cf5af (diff) | |
download | serverdata-54530684ff9392cc32628ac2253381977d1a5e4e.tar.gz serverdata-54530684ff9392cc32628ac2253381977d1a5e4e.tar.bz2 serverdata-54530684ff9392cc32628ac2253381977d1a5e4e.tar.xz serverdata-54530684ff9392cc32628ac2253381977d1a5e4e.zip |
Rebirth now gives Homunculus 1,000,000 exp. If Homun is not active, postpone.
Postponed homun experience will be given next time you login with them active.
-rw-r--r-- | npc/025-1/phoenix.txt | 5 | ||||
-rw-r--r-- | npc/functions/clientversion.txt | 10 |
2 files changed, 15 insertions, 0 deletions
diff --git a/npc/025-1/phoenix.txt b/npc/025-1/phoenix.txt index edeb26f3e..2f1f77bd3 100644 --- a/npc/025-1/phoenix.txt +++ b/npc/025-1/phoenix.txt @@ -60,6 +60,7 @@ OnMain: mes l("* 1 Trait"); mes l("* Healing items improved"); mes l("* %s Level up", getskillname(TMW2_DROPS)); + mes l("* %s Homunculus EXP", fnum(1000000)); if (REBIRTH == 3) mesc l("Only for this rebirth: +2 %s and +1 Lv to %s", getitemlink(SupremeGift), getskillname(TMW2_DROPS)); if (BaseLevel < .@blvl) { @@ -99,6 +100,10 @@ OnMain: NewcomerEXPDROPUP(); getvaultexp(20); getitembound SupremeGift, (REBIRTH == 4 ? 3 : 1), 4; + if (!homstatus()) + gethomunexp(1000000); + else + #ADD_HLV+=1000000; 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 6550a7f2c..eac7860e4 100644 --- a/npc/functions/clientversion.txt +++ b/npc/functions/clientversion.txt @@ -1270,6 +1270,8 @@ function script clientupdater { else if (strcharinfo(0) == "YuckFou") getitem StrangeCoin, 100; + // Rebirth Homun EXP + #ADD_HLV += REBIRTH * 1000000; mes ""; next; } @@ -1326,6 +1328,14 @@ function script clientupdater { #ADD_MPT=0; } + // Permanent Homun Experience Boost + if (#ADD_HLV) { + if (!homstatus()) { + gethomunexp(#ADD_HLV); + #ADD_HLV=0; + } + } + // Non Permament Level Boost if (#ADD_TMP_LVL) { // Grant the level |