diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-07-07 21:12:12 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-07-07 21:12:12 -0300 |
commit | 7715ef42037ad35155eb228666776df6d859943e (patch) | |
tree | af4c3dc2914cbdd86cc666c65a5aa0a291869548 /npc/003-3/malindou.txt | |
parent | 7d5f630745276ce8f457547f2e1b8fd926144f18 (diff) | |
parent | d1256756676bc59bba39f2cde886fd5916861577 (diff) | |
download | serverdata-heroes_hold.tar.gz serverdata-heroes_hold.tar.bz2 serverdata-heroes_hold.tar.xz serverdata-heroes_hold.zip |
Merge branch 'master' into heroes_holdheroes_hold
Diffstat (limited to 'npc/003-3/malindou.txt')
-rw-r--r-- | npc/003-3/malindou.txt | 12 |
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: |