summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-04-16 00:30:03 -0300
committerJesusaves <cpntb1@ymail.com>2019-04-16 00:30:03 -0300
commitea5d0f40972c92d23494db23bcbd2d7f3f357466 (patch)
tree366f3fbcfe3f6e1330081dfea71c17853a314874 /npc/functions
parente6b45dd0db67ccc4522d445c1f2adbf7ebf41ce5 (diff)
downloadserverdata-ea5d0f40972c92d23494db23bcbd2d7f3f357466.tar.gz
serverdata-ea5d0f40972c92d23494db23bcbd2d7f3f357466.tar.bz2
serverdata-ea5d0f40972c92d23494db23bcbd2d7f3f357466.tar.xz
serverdata-ea5d0f40972c92d23494db23bcbd2d7f3f357466.zip
Eh, tonight special is Hurnscald Siege, highly experimental.
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/gmbot.txt23
1 files changed, 13 insertions, 10 deletions
diff --git a/npc/functions/gmbot.txt b/npc/functions/gmbot.txt
index 235366dd3..072f64fe4 100644
--- a/npc/functions/gmbot.txt
+++ b/npc/functions/gmbot.txt
@@ -97,18 +97,21 @@ OnTimer62000:
end;
}
- // Tulimshar Siege event
- if (.mp$ ~= "003-*" && $@MK_AGGRO >= 30 && rand(0,100) < 70) {
- announce ("Monster King: I smell humans! Humans must die!"), bc_map|bc_npc;
- $@MK_SCENE=MK_SIEGE_TULIM;
- if ($@MK_AGGRO >= 90)
- donpcevent("Lieutenant Dausen::OnMKSiege");
- else if ($@MK_AGGRO >= 90)
- donpcevent("Lieutenant Dausen::OnMKSiege");
- else
+ // Siege events
+ if ($@MK_AGGRO >= 30 && rand(0,100) < 70) {
+ // Tulimshar
+ if (.mp$ ~= "003-*") {
+ announce ("Monster King: I smell humans! Humans must die!"), bc_map|bc_npc;
+ $@MK_SCENE=MK_SIEGE_TULIM;
donpcevent("Lieutenant Dausen::OnMKSiege");
+ }
+ // Hurnscald (will never happen, MK doesn't visits 012-1)
+ if (.mp$ ~= "012-*") {
+ announce ("Monster King: I smell humans! Humans must die!"), bc_map|bc_npc;
+ $@MK_SCENE=MK_SIEGE_HURNS;
+ donpcevent("#HurnscaldSiege::OnMKSiege");
+ }
}
-
// Decide if we should have an event here
if (.nearby > 1 && $@MK_AGGRO >= rand(0,100)){
// We should decide event kind, but that's NYI