summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/config/magic.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/npc/config/magic.txt b/npc/config/magic.txt
index 9c9a3c6bc..71f7edee8 100644
--- a/npc/config/magic.txt
+++ b/npc/config/magic.txt
@@ -120,6 +120,8 @@ function script SummonMagic {
.@lifetime=rand(35,50)+.@lv*10;
// Abizit makes lifetime vary (like AdjustSpellpower)
.@lifetime = .@lifetime * (80 + abizit() * rand2(5,10)) / 100;
+ if (isequippedcnt(AegisShield))
+ .@lifetime = .@lifetime * 5 / 2;
.@mids=summon("Summoned Monster", .@id, .@lifetime);
.@bhp=getunitdata(.@mids, UDT_MAXHP);
// Each skill level raises HP in 5%