summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2024-05-18 19:44:30 -0300
committerJesusaves <cpntb1@ymail.com>2024-05-18 19:44:30 -0300
commit8a5ef23a9ae87723b6aae496f1bd2f410cb3644e (patch)
tree550228cd6a9c7db0a736393f82c1c1c017659d8e /npc
parent0fc4fb146a27cdf61dfe1bceaef70ee7b82550ce (diff)
downloadserverdata-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')
-rw-r--r--npc/026-7/boss.txt4
-rw-r--r--npc/functions/captcha.txt2
2 files changed, 5 insertions, 1 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
diff --git a/npc/functions/captcha.txt b/npc/functions/captcha.txt
index 074326ca9..3061c18f6 100644
--- a/npc/functions/captcha.txt
+++ b/npc/functions/captcha.txt
@@ -166,7 +166,7 @@ OnClinic:
// Treatment confirmation
mes ".:: " + l("Treatment") + " ::.";
mes l("Botter Syndrome is a common ailment which, while it mostly affect bots, even regular adventurers and NPCs may contract.");
- mes l("If you believe \"%s\" is ##Bnot##b botting, then you may treat them yourself.");
+ mes l("If you believe \"%s\" is ##Bnot##b botting, then you may treat them yourself.", .@request$);
mes "";
mes l("- Treating a nearby player will almost always succeed.");
mes l("- Treating a player in the same map has <70%% chance of succeeding.");