From a78a3615bbc7c15f3bf74bc1554cec9076948db4 Mon Sep 17 00:00:00 2001 From: Saulc Date: Tue, 13 Feb 2018 19:19:25 +0100 Subject: initial commit for mobpoints --- npc/functions/mobpoint.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 npc/functions/mobpoint.txt (limited to 'npc/functions/mobpoint.txt') 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 -- cgit v1.2.3-60-g2f50