summaryrefslogtreecommitdiff
path: root/npc/config/magic.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/config/magic.txt')
-rw-r--r--npc/config/magic.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/npc/config/magic.txt b/npc/config/magic.txt
index 9aa8016df..4fc4e83e3 100644
--- a/npc/config/magic.txt
+++ b/npc/config/magic.txt
@@ -113,7 +113,8 @@ function script SummonMagic {
.@lifetime = .@lifetime * (80 + abizit() * rand2(5,10)) / 100;
.@mids=summon("Summoned Monster", .@id, .@lifetime);
.@bhp=getunitdata(.@mids, UDT_MAXHP);
- .@lvx=max(0, (.@lv-1)*.@bhp/50);
+ // Each skill level raises HP in 5%
+ .@lvx=max(0, (.@lv-1)*.@bhp/20);
// Abizit makes bonus HP vary (like AdjustSpellpower)
.@lvx = .@lvx * (80 + abizit() * rand2(5,10)) / 100;
setunitdata(.@mids, UDT_MAXHP, .@bhp+.@lvx);