1 2 3 4 5 6 7 8 9 10 11 12 | - script dropcardsMVP -1,{ OnNPCKillEvent: if(MVPKills[.@ID[.@i]] >= .@NeededKills[.@ID[.@i]]) getitem .MVP_list[.@ID[.@i]], 1; else MVPKills[.@ID[.@i]] OnInit: SELECT * FROM mvps_table, .@ID, .@CardID, .@NeededKills; for (.@i=0; .@i < getarraysize(.@ID); .@i++) .MVP_list[.@ID[.@i]] = .@CardID[.@i]; // .MVP_list[1002] will be equal to Poring's Card ID end; } |