Starfleet-01
public text v1 · immutable else
{ //The actor is a L2MonsterInstance
if ((_actor instanceof L2NPCInstance) && (_actor.getEffect(L2Effect.EffectType.CONFUSE_MOB_ONLY)!=null) && (target instanceof L2NPCInstance))
{
return ((L2MonsterInstance) target).isAggressive();
}
else if (target instanceof L2NpcInstance) return false;
// Check if the actor is Aggressive
return me.isAggressive();
}