I see...
-----------
sub EVENT_AGGRO {
# a 1 second leash timer.
quest::settimer(1,1);
}
sub EVENT_TIMER {
if ($timer == 1) {
if($x < -1000 || $x > -650 || $y < -1500 || $y > -1290) {
WIPE_AGGRO();
}
my @hate_list = $npc->GetHateList();
my $hate_count = @hate_list;
if ($hate_count > 0) {
foreach $ent (@hate_list) {
my $h_ent = $ent->GetEnt();
my $h_dmg = $ent->GetDamage();
my $h_hate = $ent->GetHate();
if ($h_ent->IsClient()) {
if ($h_ent->GetLevel() > 52) {
quest::ze(0,"I will not fight you, but I will banish you!");
$h_ent->CastToClient()->MovePC(27,-64,262,-93.96,0);
}
}
}
} else {
WIPE_AGGRO();
}
}
}
So, how much of this would I remove? This
"if ($h_ent->GetLevel() > 52) {
quest::ze(0,"I will not fight you, but I will banish you!");
$h_ent->CastToClient()->MovePC(27,-64,262,-93.96,0);"
|