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





                                                                               

                 

                                          

                                                  
                                           
                             








                                                    
                            

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

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

    // You get MobLv + 10% as MobPoints.
    // So a level 100 monster gives you 110 MobPt.
    .@addval=strmobinfo(3,killedrid)*11/10;
    Mobpt = Mobpt + .@addval;
    return;

}

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

OnNPCKillEvent:
    callfunc "mobpoint";
    callfunc "SQuest_Hasan";
    end;
}