And why this kind of effects call L2EffectType.HATE which easily confused?
Example:
Code: Select all
// notify target AI about the attack
if (((L2Character) target).hasAI() && !skill.hasEffectType(L2EffectType.HATE))
{
((L2Character) target).getAI().notifyEvent(CtrlEvent.EVT_ATTACKED, this);
}