summaryrefslogtreecommitdiff
path: root/npc/003-3
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-07-14 19:14:37 -0300
committerJesusaves <cpntb1@ymail.com>2018-07-14 19:14:37 -0300
commit1eae289291c65b1e847400f5254a80b56c3dac50 (patch)
treeceac6226c2f01182bc1db919ceb0ba5e7486e7c5 /npc/003-3
parent310466586c2eabe8372bbf084e7319b6b953d9f0 (diff)
downloadserverdata-1eae289291c65b1e847400f5254a80b56c3dac50.tar.gz
serverdata-1eae289291c65b1e847400f5254a80b56c3dac50.tar.bz2
serverdata-1eae289291c65b1e847400f5254a80b56c3dac50.tar.xz
serverdata-1eae289291c65b1e847400f5254a80b56c3dac50.zip
move battle flag system from Malindou to OnInterIfInitOnce
Diffstat (limited to 'npc/003-3')
-rw-r--r--npc/003-3/malindou.txt16
1 files changed, 9 insertions, 7 deletions
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;
}