summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/mobpoint.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/npc/functions/mobpoint.txt b/npc/functions/mobpoint.txt
new file mode 100644
index 000000000..cef0132ea
--- /dev/null
+++ b/npc/functions/mobpoint.txt
@@ -0,0 +1,17 @@
+// script from TMW, change by Crazyfefe
+
+function script mobpoint {
+ if (killedrid < 1002) goto L_Return;
+
+ setarray @points,
+ 5, //Piou
+ 10 //Piousse
+ ;
+
+ if (getq(MPQUEST) == 1)
+ set Mobpt, Mobpt + @points[killedrid - 1002];
+
+L_Return:
+ set @value, 0;
+ return;
+} \ No newline at end of file