- script mvp_badges -1,{
OnNPCKillEvent:
if( gethominfo(0) > 0 )
{
set awaymode, 1;
}
else
{
set awaymode, 0;
}
if( getmonsterinfo( killedrid,MOB_MVPEXP ) ) {
if (awaymode == 1) {
if (rand(2000) <= 1) // 0,05% chance of activating.
getitem 501,10;
dispbottom "You Gained 1 MVP Badge for Killing this MVP.";
dispbottom "DEBUG: Homuculus Modus.";
}
if (awaymode == 0) {
if (rand(100) <= 5) // 10% chance of activating.
getitem 501,10;
dispbottom "You Gained 1 MVP Badge for Killing this MVP.";
dispbottom "DEBUG: Ohne Homunculus Modus.";
}
}
end;
}