sub EVENT_DEATH {
$testmob = $entity_list->GetMobByNpcTypeID(999794);
my @hatelist = $testmob->GetHateList();
foreach $ent (@hatelist) {
@Concolor = (18, 4, 20, 15, 13);
foreach $Concolor (@Concolor) {
if ($client->GetLevelCon($testmob->GetLevel()) == $Concolor) {
quest::shout("Working");
}
}
}
}
this is what i ended up with thanks for your help!
|