- script Test -1,{
OnNPCKillEvent:
setarray .mobid[0],1039,1046,1059,1086,1087,1096,1112,1115,1120,1147,1150,1157,1159,1190,1251,1252,1272,1312,1373,1388,1389,1418,1492,1511,1582,1583,1623,1630,1658,1685,1688,1708,1719,1734,1751,1768,1779,1785,1832,1871,1873,1885,2022,1096,1873,1830,1839,1307,1283,1302,1582,1093,1205,1783,1681,1120,1259,1626,1720,1920,1918,1921,1919,1833,1090,1289,1262,1203,1870,1700,1295,1320,1702,1831,1701,1755,1754,1703,1829,1710,1705,1707,1712,1711,1706,1704,1709,1204,1089,1092,1765; // Add MvP Ids
set .a, 1;
for (set .@c, 0; .@c < getarraysize(.mobid); set .@c, .@c + 1)
if (killedrid == .mobid[.@c])
set .@s, 1;
if (!.@s) end;
if (.a)
if ( getcharid(1) ) {
if (getgmlevel() >= 1) {
announce "Party ["+ strcharinfo(1) +"] has killed "+ getmonsterinfo( killedrid, MOB_NAME ) +"at "+ strcharinfo(3),0,0x00FF00;
}
else {
if (getgmlevel() >= 1)
announce "GM ["+ strcharinfo(0) +"] has killed "+ getmonsterinfo( killedrid, MOB_NAME ) +" at "+ strcharinfo(3),0,0x00FF00; }
end;
}
}