summaryrefslogblamecommitdiff
path: root/npc/functions/mobpoint.txt
blob: 113c381570f1bc7f3327523a577d0c9ced697d6c (plain) (tree)
1
2
3
4
5
6
7
8
9



                                                                                

                                          

                                           
 
                                             
 



                   









                                                     
// TMW2 Scripts
// Author: Crazyfefe
//         Jesusalva
// Desc:   Mob Points for Aidan & Ishi. You will gain MONSTER-LEVEL mob points.

function	script	mobpoint	{
    if (MPQUEST < 1) goto L_Return;
    //if (killedrid < 1002) goto L_Return;

    Mobpt = Mobpt + strmobinfo(3,killedrid);


L_Return:
    set @value, 0;
    return;

}

000-0,0,0,0	script	#mobptsys	NPC_HIDDEN,{
    end;

OnNPCKillEvent:
    callfunc "mobpoint";
    end;
}