summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-07-18 14:33:13 -0300
committerJesusaves <cpntb1@ymail.com>2019-07-18 14:33:13 -0300
commitc8bda1c414bb7fe3d2ab8548aeb393130893c46a (patch)
treeb19da1ba71b71975d969c0954f5d69d5b1a9e623
parent5b6f8a2fcb85398afb917cba337678d93500d1b8 (diff)
downloadserverdata-c8bda1c414bb7fe3d2ab8548aeb393130893c46a.tar.gz
serverdata-c8bda1c414bb7fe3d2ab8548aeb393130893c46a.tar.bz2
serverdata-c8bda1c414bb7fe3d2ab8548aeb393130893c46a.tar.xz
serverdata-c8bda1c414bb7fe3d2ab8548aeb393130893c46a.zip
Make that 2%. So Kolchak's Summon Maggot Lv 4 will raise their HP in 8%.
That would be 32 additional HP.
-rw-r--r--npc/config/magic.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/config/magic.txt b/npc/config/magic.txt
index 5630cc766..b21a5e6e9 100644
--- a/npc/config/magic.txt
+++ b/npc/config/magic.txt
@@ -75,7 +75,7 @@ function script SummonMagic {
for (.@i = 0; .@i < (.@lv+(.@adj-1))/.@adj; .@i++) {
.@mids=summon("Summoned Monster", .@id, rand(35,50)+.@lv*10);
.@bhp=getunitdata(.@mids, UDT_MAXHP);
- .@lvx=max(0, (.@lv-1)*.@bhp/100);
+ .@lvx=max(0, (.@lv-1)*.@bhp/50);
setunitdata(.@mids, UDT_MAXHP, .@bhp+.@lvx);
setunitdata(.@mids, UDT_HP, .@bhp+.@lvx);
}