summaryrefslogtreecommitdiff
path: root/npc/023-2
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-10-30 22:15:36 -0200
committerJesusaves <cpntb1@ymail.com>2018-10-30 22:15:36 -0200
commitc2c6d03c9a39cefd093f124472e049127b1c2fd6 (patch)
treeda84ab450a3bb0b5b732ee0e083176eed6011479 /npc/023-2
parent69230b0d55fc54352ed4f55d78880a753eba6798 (diff)
downloadserverdata-c2c6d03c9a39cefd093f124472e049127b1c2fd6.tar.gz
serverdata-c2c6d03c9a39cefd093f124472e049127b1c2fd6.tar.bz2
serverdata-c2c6d03c9a39cefd093f124472e049127b1c2fd6.tar.xz
serverdata-c2c6d03c9a39cefd093f124472e049127b1c2fd6.zip
Monster King walks
Diffstat (limited to 'npc/023-2')
-rw-r--r--npc/023-2/_import.txt1
-rw-r--r--npc/023-2/mk.txt42
2 files changed, 43 insertions, 0 deletions
diff --git a/npc/023-2/_import.txt b/npc/023-2/_import.txt
index 6f6f6f77a..88b53a1d4 100644
--- a/npc/023-2/_import.txt
+++ b/npc/023-2/_import.txt
@@ -3,3 +3,4 @@
"npc/023-2/_mobs.txt",
"npc/023-2/_warps.txt",
"npc/023-2/lightbringer.txt",
+"npc/023-2/mk.txt",
diff --git a/npc/023-2/mk.txt b/npc/023-2/mk.txt
new file mode 100644
index 000000000..c3007e185
--- /dev/null
+++ b/npc/023-2/mk.txt
@@ -0,0 +1,42 @@
+// TMW2 scripts.
+// Authors:
+// Jesusalva
+// Description:
+// Nivalis Liberation Day
+
+023-2,121,35,0 script The Monster King#NLib NPC_MONSTERKING,{
+ end;
+
+OnInit:
+ .sex = G_MALE;
+ .distance = 5;
+
+OnHour00:
+ if (!$NLIB_DAY) {
+ disablenpc .name$;
+ end;
+ }
+ switch ($NLIB_DAY) {
+ case 1:
+ movenpc(.name$, 121, 35, DIR_WEST); break;
+ case 2:
+ movenpc(.name$, 105, 37, DIR_NORTH); break;
+ case 3:
+ movenpc(.name$, 105, 51, DIR_SOUTH); break;
+ case 4:
+ movenpc(.name$, 102, 63, DIR_WEST); break;
+ case 5:
+ movenpc(.name$, 81, 59, DIR_EAST); break;
+ case 6:
+ movenpc(.name$, 76, 48, DIR_WEST); break;
+ case 7:
+ movenpc(.name$, 53, 53, DIR_SOUTH); break;
+ case 8:
+ movenpc(.name$, 36, 99, DIR_SOUTH); break;
+ default:
+ channelmes("#world", "A bug happened: Monster King # Nivalis Liberation Day - Value Out of Range."); disablenpc .name$; break;
+ }
+
+ end;
+}
+