diff options
author | Saulc <lucashelaine14@gmail.com> | 2018-02-13 19:19:25 +0100 |
---|---|---|
committer | Saulc <lucashelaine14@gmail.com> | 2018-02-13 19:19:25 +0100 |
commit | a78a3615bbc7c15f3bf74bc1554cec9076948db4 (patch) | |
tree | 786fd9141c3c9520f119a14ea6771e60e9a01cb1 /npc/functions/mobpoint.txt | |
parent | 5556d20dd017798acc6b8d4c7caca5e8192bdbe6 (diff) | |
download | serverdata-a78a3615bbc7c15f3bf74bc1554cec9076948db4.tar.gz serverdata-a78a3615bbc7c15f3bf74bc1554cec9076948db4.tar.bz2 serverdata-a78a3615bbc7c15f3bf74bc1554cec9076948db4.tar.xz serverdata-a78a3615bbc7c15f3bf74bc1554cec9076948db4.zip |
initial commit for mobpoints
Diffstat (limited to 'npc/functions/mobpoint.txt')
-rw-r--r-- | npc/functions/mobpoint.txt | 17 |
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 |