summaryrefslogtreecommitdiff
path: root/npc/config/magic.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-06-27 00:43:24 -0300
committerJesusaves <cpntb1@ymail.com>2020-06-27 00:43:24 -0300
commit442fcb6ad767e9431470177e31b5d7898c1d99ff (patch)
tree04b577be07a5d0d992437fc6f6468986ffac6d64 /npc/config/magic.txt
parent0b8ff0bfb6fb2cc7df72448d66de856cf8cdb314 (diff)
downloadserverdata-442fcb6ad767e9431470177e31b5d7898c1d99ff.tar.gz
serverdata-442fcb6ad767e9431470177e31b5d7898c1d99ff.tar.bz2
serverdata-442fcb6ad767e9431470177e31b5d7898c1d99ff.tar.xz
serverdata-442fcb6ad767e9431470177e31b5d7898c1d99ff.zip
Make summoning skill levels more meaningful, HP bonus 2% -> 5% /lvl
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);