From 442fcb6ad767e9431470177e31b5d7898c1d99ff Mon Sep 17 00:00:00 2001
From: Jesusaves <cpntb1@ymail.com>
Date: Sat, 27 Jun 2020 00:43:24 -0300
Subject: Make summoning skill levels more meaningful, HP bonus 2% -> 5% /lvl

---
 npc/config/magic.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'npc')

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);
-- 
cgit v1.2.3-70-g09d2