diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-02-18 15:29:05 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-02-18 15:29:05 -0300 |
commit | afc8d0d28d54fd7f0002ef3618b5f789bf2a22e9 (patch) | |
tree | 7b8d3a51c16a4acbf6c7b79fbac584a85917416a /npc/config | |
parent | 35079c7ee1e563fcccb81b2895284df40e6444f9 (diff) | |
download | serverdata-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.txt | 2 |
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% |