if (skill.getId() == 1034 || skill.getId() == 1049) { if(target instanceof L2NpcInstance && ((L2NpcInstance)target).isUndead()) { target.getAI().notifyEvent(CtrlEvent.EVT_AGGRESSION, null, -(int)skill.getPower()); break; } else { break; } } if (target instanceof L2Attackable) target.getAI().notifyEvent(CtrlEvent.EVT_AGGRESSION, null, -(int)skill.getPower()); break;