From 1304c5d5dd985820da3e49611a821c2d3cdb8660 Mon Sep 17 00:00:00 2001 From: jesusalva Date: Wed, 7 Mar 2018 01:31:12 -0300 Subject: 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. --- npc/functions/mobpoint.txt | 100 ++++++++------------------------------------- 1 file changed, 17 insertions(+), 83 deletions(-) (limited to 'npc/functions/mobpoint.txt') diff --git a/npc/functions/mobpoint.txt b/npc/functions/mobpoint.txt index 91d385dc9..113c38157 100644 --- a/npc/functions/mobpoint.txt +++ b/npc/functions/mobpoint.txt @@ -1,91 +1,25 @@ -// script from TMW, change by Crazyfefe +// TMW2 Scripts +// Author: Crazyfefe +// Jesusalva +// Desc: Mob Points for Aidan & Ishi. You will gain MONSTER-LEVEL mob points. function script mobpoint { - if (killedrid < 1002) goto L_Return; + if (MPQUEST < 1) goto L_Return; + //if (killedrid < 1002) goto L_Return; - setarray @points, - 1, //Piou - 10 //Piousse - 1 //Tortuga - 2 //Ratto 1005 - 3 //Croc - 1 //Little Blub - 1 //bub - 1 //topyblub - 1 //crocotree 1010 - 1 //plushrommfield - 1 //frostiana - 1 //pikpik - 1 //croconut - 1 //tipiu 1015 - 1 //tipiou - 1 //mananatress - 1 //crafty - 1 //pumpkin - 1 //cuco 1020 - 1 //pilardummy - 1 //fluffy - 1 //mouboo - 1 //bandt - 1 //butterfly 1025 - 1 //archant - 1 //cavemaggot - 1 //cloverpatch - 1 //duck - 1 //maggot 1030 - 1 //plant - 1 //pumpkin - 1 //silkworm - 1 //cavesnake 1035 - 1 //demonicscythe - 1 //wolvern - 1 //zombie - 1 //bat - 1 //yetyking 1040 - 1 //icedfluffy - 1 //redmushroom - 1 //poisonskikymush - 1 //giantmutatedbat - 10 //warlordskull 1045 - 100 //reddragon - 10 //goldenskull - 100 //smokedragon - 1 //bhopfluffy - 1 //forestdragon 1050 - 1 //darklizard - 1 //demonicgoblin - 1 //halloweenjacko - 1 //witchjacko - 1 //scar 1055 - 1 //alphamouboo - 1 //witchedzombie - 1 //bif - 200 //night dragon - 1 //forestmushroom 1060 - 1 //forain 1061 - 1 //assassin 1062 - 1 //vampirebat - 500 //yety - 1 //bee 1065 - 1 //loghead - 1 //firegoblin - 1 //managhost - 1 //moonshroom - 1 //moggun1070 - 3 //scorpion - 8 //redscorpion - 2 //candorscorpion - 25 //blackscorpion - 2 //manabug 1075 - 50 //saxsoghost - 1 //nightscorpion - 1 //goldenscorpion - ; + Mobpt = Mobpt + strmobinfo(3,killedrid); - if (getq(MPQUEST) == 1) - set Mobpt, Mobpt + @points[killedrid - 1002]; L_Return: set @value, 0; return; -} \ No newline at end of file + +} + +000-0,0,0,0 script #mobptsys NPC_HIDDEN,{ + end; + +OnNPCKillEvent: + callfunc "mobpoint"; + end; +} -- cgit v1.2.3-70-g09d2