// Launch the magic skill in order to calculate its effects callSkill(skill, targets); // Notify the AI of the L2Character with EVT_FINISH_CASTING getAI().notifyEvent(CtrlEvent.EVT_FINISH_CASTING); switch(skill.getSkillType()) { case PDAM: case DRAIN_SOUL: case FATALBLOW: case STUN: case SPOIL: if((getTarget() != null) && (getTarget() instanceof L2Character)) { enableAllSkills(); getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, getTarget()); } default: } } } /** * Reduce the item number of the L2Character.

*