summaryrefslogtreecommitdiff
path: root/npc/config
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-02-18 15:29:05 -0300
committerJesusaves <cpntb1@ymail.com>2021-02-18 15:29:05 -0300
commitafc8d0d28d54fd7f0002ef3618b5f789bf2a22e9 (patch)
tree7b8d3a51c16a4acbf6c7b79fbac584a85917416a /npc/config
parent35079c7ee1e563fcccb81b2895284df40e6444f9 (diff)
downloadserverdata-afc8d0d28d54fd7f0002ef3618b5f789bf2a22e9.tar.gz
serverdata-afc8d0d28d54fd7f0002ef3618b5f789bf2a22e9.tar.bz2
serverdata-afc8d0d28d54fd7f0002ef3618b5f789bf2a22e9.tar.xz
serverdata-afc8d0d28d54fd7f0002ef3618b5f789bf2a22e9.zip
While using Aegis Shield, summons last 2.5x longer than usual.
Diffstat (limited to 'npc/config')
-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%