summaryrefslogtreecommitdiff
path: root/npc/functions/mobpoint.txt
blob: cef0132ea4472e00ca62504602fa7dd8526c4c14 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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;
}