viewing paste [ea] mvp point | Athena

Posted on the | Last edited on
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
-   script  mvp_reward_ea   -1,{
OnNPCKillEvent:
if( compare( .mvp_list$,"|"+killedrid+"|" ) ){
    set #EVENTPOINTS,#EVENTPOINTS + 123456789;
    dispbottom "Gained 123456789 Event point for killing MVP.";
}
end;
 
OnInit:
// list of mvp.
setarray .@mvp_list,1002,1003,1004,1005,1006;
 
set .@mvp_size,getarraysize( .@mvp_list );
for( set .mvp_list$,"|"; .@i < .@mvp_size; set .@i,.@i + 1 )
    set .mvp_list$,.mvp_list$ + .@mvp_list[.@i] + "|";
end;
}
Viewed 1339 times, submitted by Emistry.