summaryrefslogtreecommitdiff
path: root/npc/003-1
diff options
context:
space:
mode:
authorjesusalva <cpntb1@ymail.com>2018-03-07 01:31:12 -0300
committerjesusalva <cpntb1@ymail.com>2018-03-07 01:31:12 -0300
commit1304c5d5dd985820da3e49611a821c2d3cdb8660 (patch)
treeaef76ad338550ddcbbdca2bb09792e58383f5960 /npc/003-1
parent04cf1ef296334c42edf7b9a9d8a4f87b417a12fe (diff)
downloadserverdata-1304c5d5dd985820da3e49611a821c2d3cdb8660.tar.gz
serverdata-1304c5d5dd985820da3e49611a821c2d3cdb8660.tar.bz2
serverdata-1304c5d5dd985820da3e49611a821c2d3cdb8660.tar.xz
serverdata-1304c5d5dd985820da3e49611a821c2d3cdb8660.zip
This introduces the core engine for mob points.
Yes, it works for all mobs. Yes, it is far better than how TMW did. No, this is not flexible. Monster Level == Mob Points to get.
Diffstat (limited to 'npc/003-1')
-rw-r--r--npc/003-1/neko.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/npc/003-1/neko.txt b/npc/003-1/neko.txt
index 6742a8391..e85277990 100644
--- a/npc/003-1/neko.txt
+++ b/npc/003-1/neko.txt
@@ -1,10 +1,19 @@
+// TMW-2 Script
// Author:
// Saulc
+// Description:
+// Another shopkeeper
003-1,103,106,0 script Neko NPC_PLAYER,{
+if (getgmlevel()) goto L_Debug;
hello;
+L_Debug:
+ if (MPQUEST < 1) mes "Not on MPQUEST";
+ mes l("You have: @@ Mob Points", str(Mobpt));
+ close;
+
OnInit:
.@npcId = getnpcid(0, "Neko");
//setunitdata(.@npcId, UDT_HEADTOP, 2936);