diff options
author | Jesusaves <cpntb1@ymail.com> | 2024-05-18 19:44:30 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2024-05-18 19:44:30 -0300 |
commit | 8a5ef23a9ae87723b6aae496f1bd2f410cb3644e (patch) | |
tree | 550228cd6a9c7db0a736393f82c1c1c017659d8e /npc/026-7 | |
parent | 0fc4fb146a27cdf61dfe1bceaef70ee7b82550ce (diff) | |
download | serverdata-8a5ef23a9ae87723b6aae496f1bd2f410cb3644e.tar.gz serverdata-8a5ef23a9ae87723b6aae496f1bd2f410cb3644e.tar.bz2 serverdata-8a5ef23a9ae87723b6aae496f1bd2f410cb3644e.tar.xz serverdata-8a5ef23a9ae87723b6aae496f1bd2f410cb3644e.zip |
Add some "escape" logic to Monster King when he loses 20% HP.
This makes slightly harder to keep pounding at him non-stop
Diffstat (limited to 'npc/026-7')
-rw-r--r-- | npc/026-7/boss.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/npc/026-7/boss.txt b/npc/026-7/boss.txt index 4e287b644..b7e699481 100644 --- a/npc/026-7/boss.txt +++ b/npc/026-7/boss.txt @@ -332,6 +332,10 @@ OnTimer10000: .memohp = .@hp; .mana += 25; siege_cast("026-7", .name$, 35, TP_TULIM|TP_HURNS|TP_NIVAL); + if (any(true,false,false)) + unitwarp(.MK, "026-7", rand2(38, 40), rand2(35, 37)); + else + unitwarp(.MK, "026-7", rand2(35, 44), rand2(40, 45)); } // If Monster King is taking too much damage and too fast, throttle players // Aegis Shield, however, provides immunity to this |