1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | - script mvpsreward -1,{ OnNPCKillEvent: if( getmonsterinfo( killedrid,MOB_MVPEXP ) ){ if( getcharid(1) ){ getpartymember getcharid(1),2; .@AID = $@partymemberaid[ rand( $@partymembercount ) ]; }else{ .@AID = getcharid(3); } getitem 7227,20,.@AID; // TCG 20pcs } end; |