blob: f79996e6e9a89646f9c7d0d0c8289ae1540bf3fd (
plain) (
tree)
|
|
// TMW2 Scripts
// Author: Crazyfefe
// Jesusalva
// Desc: Mob Points for Aidan & Ishi. You will gain MONSTER-LEVEL mob points.
function script mobpoint {
if (!MPQUEST) goto L_Return;
//if (killedrid < 1002) goto L_Return;
// You get MobLv + 10% as MobPoints.
// So a level 100 monster gives you 110 MobPt.
.@addval=atoi(strmobinfo(3,killedrid))*11/10;
Mobpt = Mobpt + .@addval;
L_Return:
//set @value, 0;
return;
}
000-0,0,0,0 script #mobptsys NPC_HIDDEN,{
end;
OnNPCKillEvent:
callfunc "mobpoint";
end;
}
|