288289290291292293294295296297298
//self Effect :] L2Effect effect = activeChar.getFirstEffect(skill.getId()); if (effect != null && effect.isSelfEffect()) { //Replace old effect with new one. effect.exit(); } skill.getEffectsSelf(activeChar); } if (skill.isSuicideAttack())
181182183184185186187188189190191
} } L2Effect effect = activeChar.getFirstEffect(skill.getId()); //Self Effect if (effect != null && effect.isSelfEffect()) effect.exit(); skill.getEffectsSelf(activeChar); } } @Override
5657585960616263646566
// self Effect :] L2Effect effect = activeChar.getFirstEffect(skill.getId()); if (effect != null && effect.isSelfEffect()) { //Replace old effect with new one. effect.exit(); } skill.getEffectsSelf(activeChar); } @Override
553554555556557558559560561562563
// self Effect :] L2Effect effect = activeChar.getFirstEffect(skill.getId()); if (effect != null && effect.isSelfEffect()) { //Replace old effect with new one. effect.exit(); } skill.getEffectsSelf(activeChar); } //end void
223224225226227228229230231232233
202203204205206207208209210211212
// self Effect :] L2Effect effect = activeChar.getFirstEffect(skill.getId()); if (effect != null && effect.isSelfEffect()) { //Replace old effect with new one. effect.exit(); } skill.getEffectsSelf(activeChar); if (skill.isSuicideAttack()) {
84628463846484658466846784688469847084718472
// Get effects of the skill L2Effect effect = getFirstEffect(skill); if (effect != null) { effect.exit(); // Send a Server->Client packet ActionFailed to the L2PcInstance sendPacket(new ActionFailed()); return; }
155156157158159160161162163164165
//effect self :] L2Effect effect = activeChar.getFirstEffect(getId()); if (effect != null && effect.isSelfEffect()) { //Replace old effect with new one. effect.exit(); } // cast self effect if any getEffectsSelf(activeChar); }
126127128129130131132133134135136
// effect self :] L2Effect seffect = caster.getFirstEffect(getId()); if (seffect != null && seffect.isSelfEffect()) { //Replace old effect with new one. seffect.exit(); } // cast self effect if any getEffectsSelf(caster); }