diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-06-21 08:19:27 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-06-21 08:19:27 -0300 |
commit | dda076d8acecfe19ca8c46c069377366659b98bc (patch) | |
tree | 60da80398e5449079077780d79509794f3709577 | |
parent | 8ea3978f73bbab191495d991b27aa1987497dc50 (diff) | |
download | serverdata-dda076d8acecfe19ca8c46c069377366659b98bc.tar.gz serverdata-dda076d8acecfe19ca8c46c069377366659b98bc.tar.bz2 serverdata-dda076d8acecfe19ca8c46c069377366659b98bc.tar.xz serverdata-dda076d8acecfe19ca8c46c069377366659b98bc.zip |
Move Monster King Illusion kills code around
-rw-r--r-- | npc/functions/mkbot.txt | 5 | ||||
-rw-r--r-- | npc/functions/mobpoint.txt | 7 |
2 files changed, 4 insertions, 8 deletions
diff --git a/npc/functions/mkbot.txt b/npc/functions/mkbot.txt index 4304f8f0a..dae226812 100644 --- a/npc/functions/mkbot.txt +++ b/npc/functions/mkbot.txt @@ -41,7 +41,10 @@ OnBourneAgain: channelmes("#world", strcharinfo(0)+" did an act worth of notice."); dispbottom l("Oh well, this sucks, but that was only an illusion."); dispbottom l("The real Monster King is probably on his fortress. It'll take more than that to take him down."); - getexp BaseLevel**3, 0; + if ($REBIRTH_WINNER$ == "" && TOP3AVERAGELVL() < 100) + getexp min(641500, BaseLevel**3), 0; + else + Mobpt+=max(13500, rand2(10000, BaseLevel*90)); Mobpt = Mobpt + 165; //$MOST_HEROIC$=strcharinfo(0); } diff --git a/npc/functions/mobpoint.txt b/npc/functions/mobpoint.txt index ab6c2587c..b069dbe27 100644 --- a/npc/functions/mobpoint.txt +++ b/npc/functions/mobpoint.txt @@ -52,13 +52,6 @@ OnUnlock: OnNPCKillEvent: $MONSTERS_KILLED+=1; - if (killedrid == MonsterKing) { - announce "An illusionary monster king was killed.", bc_all | bc_pc; - if ($REBIRTH_WINNER$ == "" && TOP3AVERAGELVL() < 100) - getexp min(641500, BaseLevel**3), 0; - else - Mobpt+=max(13500, rand2(10000, BaseLevel*90)); - } // Remove undue Job exp // The check is probably correct, but setparam is not working =/ |