summaryrefslogtreecommitdiff
path: root/npc/003-3/malindou.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/003-3/malindou.txt')
-rw-r--r--npc/003-3/malindou.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/npc/003-3/malindou.txt b/npc/003-3/malindou.txt
index f668c99e2..9c4d698b7 100644
--- a/npc/003-3/malindou.txt
+++ b/npc/003-3/malindou.txt
@@ -7,6 +7,11 @@
// Take care of server updates, but instances are defined on their ships.
003-3,36,34,0 script Malindou NPC_LLOYD,{
+ function UpdateBF {
+ .@o=getbattleflag(getarg(0));
+ setbattleflag(getarg(0), .@o+getarg(1,0));
+ }
+
Banker(.name$, "Tulimshar", 14000);
close;
@@ -76,6 +81,13 @@ 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: