162163164165166167168169170171172
// self Effect :] L2Effect effect = activeChar.getFirstEffect(skill.getId()); if(effect != null && effect.isSelfEffect()) { //Replace old effect with new one. effect.exit(false); } effect = null; skill.getEffectsSelf(activeChar); if(skill.isSuicideAttack())
6162636465666768697071
L2Effect effect = activeChar.getFirstEffect(skill.getId()); if(effect != null && effect.isSelfEffect()) { //Replace old effect with new one. effect.exit(false); } skill.getEffectsSelf(activeChar); effect = null; }
720721722723724725726727728729730
// self Effect :] L2Effect effect = activeChar.getFirstEffect(skill.getId()); if(effect != null && effect.isSelfEffect()) { //Replace old effect with new one. effect.exit(false); } effect = null; skill.getEffectsSelf(activeChar); } //end void
172173174175176177178179180181182
// effect self :] L2Effect effect = activeChar.getFirstEffect(getId()); if (effect != null && effect.isSelfEffect()) { // Replace old effect with new one. effect.exit(false); } // cast self effect if any getEffectsSelf(activeChar); }
384385386387388389390391392393394
// self Effect :] L2Effect effect = activeChar.getFirstEffect(skill.getId()); if (effect != null && effect.isSelfEffect()) { // Replace old effect with new one. effect.exit(false); } skill.getEffectsSelf(activeChar); effect = null; }
285286287288289290291292293294295
// Self Effect if (skill.hasSelfEffects()) { final L2Effect effect = activeChar.getFirstEffect(skill.getId()); if (effect != null && effect.isSelfEffect()) effect.exit(false); skill.getEffectsSelf(activeChar); } } if (skill.isMagic())
5455565758596061626364
} } L2Effect effect = player.getFirstEffect(skill.getId()); if(effect != null && effect.isSelfEffect()) effect.exit(false); skill.getEffectsSelf(player); player = null; clan = null; }
137138139140141142143144145146147
// effect self :] L2Effect seffect = caster.getFirstEffect(getId()); if (seffect != null && seffect.isSelfEffect()) { // Replace old effect with new one. seffect.exit(false); } // cast self effect if any getEffectsSelf(caster); } }
41514152415341544155415641574158415941604161
{ L2Effect toggleEffect = getFirstEffect(sk.getId()); if(toggleEffect != null) { // stop old toggle skill effect, and give new toggle skill effect back toggleEffect.exit(false); sk.getEffects(this, this,false,false,false); } } addSkill(sk, true);
1246312464124651246612467124681246912470124711247212473
if(effect != null) { //fake death exception if (skill.getId() != 60) effect.exit(false); // Send a Server->Client packet ActionFailed to the L2PcInstance sendPacket(ActionFailed.STATIC_PACKET); return; }