summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-07-29 20:33:54 -0300
committerJesusaves <cpntb1@ymail.com>2019-07-29 20:33:54 -0300
commit2b55cdd7b705ca8ecfed377465ce08dde54e5242 (patch)
tree92afb4c82f0ecc6d98dfa424c30cc036252e16cc /npc
parentb59998c69271c96ca7b1297088f44d3ed8919c2b (diff)
downloadserverdata-2b55cdd7b705ca8ecfed377465ce08dde54e5242.tar.gz
serverdata-2b55cdd7b705ca8ecfed377465ce08dde54e5242.tar.bz2
serverdata-2b55cdd7b705ca8ecfed377465ce08dde54e5242.tar.xz
serverdata-2b55cdd7b705ca8ecfed377465ce08dde54e5242.zip
If the big boss is dead - drop mob population to ¼, disable precise chase,
make they spawn 5x slower, and disable all aggressive monsters.
Diffstat (limited to 'npc')
-rw-r--r--npc/boss/throne.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/npc/boss/throne.txt b/npc/boss/throne.txt
index a04f2ba94..539a4aa17 100644
--- a/npc/boss/throne.txt
+++ b/npc/boss/throne.txt
@@ -106,6 +106,15 @@ OnVictory:
stopnpctimer;
mapwarp("boss", "017-1", 120, 88);
$GAME_STORYLINE=5;
+ // Without the Monster King to rule monsters... TODO Isbamuth
+ setbattleflag("monster_ai", 0x209);
+ setbattleflag("monster_active_enable", false);
+ setbattleflag("mob_count_rate", 25);
+ setbattleflag("mob_spawn_delay", 500);
+ charcommand("@reloadbattleconf"); // Careful!
+ donpcevent("@exprate::OnReload");
+ donpcevent("@droprate::OnReload");
+ // Player Reward
getitembound(AegisShield, 1, 1);
dispbottom l("For defeating the Monster King, you've got the Legendary @@.", getitemlink(AegisShield));
dispbottom l("This item cannot be traded normally and is a Legendary Item.");