summaryrefslogtreecommitdiff
path: root/npc/functions/gmbot.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-09-10 13:13:58 -0300
committerJesusaves <cpntb1@ymail.com>2019-09-10 13:13:58 -0300
commit3428c42f3acbd3e6661d92d988c1cdefaa42264f (patch)
treead1fe716734d411e16116ab74d6809420e82b384 /npc/functions/gmbot.txt
parent9cdccc4bc94f87e8fa2f4647a9ddd807fff4ab51 (diff)
downloadserverdata-3428c42f3acbd3e6661d92d988c1cdefaa42264f.tar.gz
serverdata-3428c42f3acbd3e6661d92d988c1cdefaa42264f.tar.bz2
serverdata-3428c42f3acbd3e6661d92d988c1cdefaa42264f.tar.xz
serverdata-3428c42f3acbd3e6661d92d988c1cdefaa42264f.zip
Replace ~= with compare() in several places.
Make notes about how EXP on PVP shall work. And later, that will give place to an honor system :3 But that's priority 2 out of a maximum of 7, so, only notes for now.
Diffstat (limited to 'npc/functions/gmbot.txt')
-rw-r--r--npc/functions/gmbot.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/npc/functions/gmbot.txt b/npc/functions/gmbot.txt
index cb053f14a..f71334435 100644
--- a/npc/functions/gmbot.txt
+++ b/npc/functions/gmbot.txt
@@ -155,28 +155,28 @@ OnTimer90000:
if ($GAME_STORYLINE == 3)
.@delta=12;
// Tulimshar
- if (.mp$ ~= "003-*") {
+ if (compare(.mp$, "003-")) {
announce ("Monster King: I smell humans! Humans must die!"), bc_map|bc_npc;
$@MK_THROTTLE=gettimetick(2)+.@delta*60*60;
$@MK_SCENE=MK_SIEGE_TULIM;
donpcevent("Lieutenant Dausen::OnMKSiege");
}
// Halinarzo
- else if (.mp$ ~= "009-*") {
+ else if (compare(.mp$, "009-")) {
announce ("Monster King: I smell humans! Humans must die!"), bc_map|bc_npc;
$@MK_THROTTLE=gettimetick(2)+.@delta*60*60;
$@MK_SCENE=MK_SIEGE_HALIN;
donpcevent("Lieutenant Jacob::OnMKSiege");
}
// Hurnscald
- else if (.mp$ ~= "012-*") {
+ else if (compare(.mp$, "012-")) {
announce ("Monster King: I smell humans! Humans must die!"), bc_map|bc_npc;
$@MK_THROTTLE=gettimetick(2)+.@delta*60*60;
$@MK_SCENE=MK_SIEGE_HURNS;
donpcevent("#HurnscaldSiege::OnMKSiege");
}
// Nivalis
- else if (.mp$ ~= "020-*") {
+ else if (compare(.mp$, "020-")) {
announce ("Monster King: I smell humans! Humans must die!"), bc_map|bc_npc;
$@MK_THROTTLE=gettimetick(2)+.@delta*60*60;
$@MK_SCENE=MK_SIEGE_NIVAL;