From 1eae289291c65b1e847400f5254a80b56c3dac50 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 14 Jul 2018 19:14:37 -0300 Subject: move battle flag system from Malindou to OnInterIfInitOnce --- npc/003-3/malindou.txt | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'npc/003-3/malindou.txt') diff --git a/npc/003-3/malindou.txt b/npc/003-3/malindou.txt index 36dc947cb..cefb184f6 100644 --- a/npc/003-3/malindou.txt +++ b/npc/003-3/malindou.txt @@ -97,13 +97,6 @@ OnInit: htput($@CONTRIBUTORS, "dustman", 50); htput($@CONTRIBUTORS, "dragonstar", 20); //htput($@CONTRIBUTORS, "", 1); - - // We must also apply penalty for losing Mana Fragments - // Forest Mana Fragment is lost: (+1% HP, +5% pop, 20s faster removal) - UpdateBF("monster_hp_rate",1); - UpdateBF("mob_count_rate",5); - UpdateBF("mob_remove_delay",-20000); - // Just copy these lines as fragments are lost end; OnPCLoginEvent: @@ -113,5 +106,14 @@ OnPCLoginEvent: #MerchantBank = 0; } end; + +OnInterIfInitOnce: + // We must also apply penalty for losing Mana Fragments + // Forest Mana Fragment is lost: (+1% HP, +5% pop, 20s faster removal) + UpdateBF("monster_hp_rate",1); + UpdateBF("mob_count_rate",5); + UpdateBF("mob_remove_delay",-20000); + // Just copy these lines as fragments are lost + end; } -- cgit v1.2.3-60-g2f50