172173174175176177178179180181182
{ actor.abortAttack(true, true); } if (actor.isCastingNow() && (getAttackTarget() == object)) { actor.abortCast(true, true); } if (getAttackTarget() == object) { setAttackTarget(null); }
197198199200201202203204205206207
@Override protected void onEvtDead(Creature killer) { Creature actor = getActor(); actor.abortAttack(true, true); actor.abortCast(true, true); actor.stopMove(); actor.broadcastPacket(new Die(actor)); setIntention(CtrlIntention.AI_INTENTION_IDLE); }
5758596061626364656667
realTarget = reflected ? activeChar : target; if (_skillInterrupt) { if ((realTarget.getCastingSkill() != null) && !realTarget.getCastingSkill().isMagic() && !realTarget.isRaid()) { realTarget.abortCast(false, true); } if (!realTarget.isRaid()) { realTarget.abortAttack(true, true); }
348349350351352353354355356357358
{ Hero.removeSkills(player); } if (player.isCastingNow()) { player.abortCast(true, true); } for (Effect e : player.getEffectList().getAllEffects()) { if ((e.getEffectType() != EffectType.Cubic) || (player.getSkillLevel(e.getSkill().getId()) <= 0)) {
5960616263646566676869
if (_unselect == 0) { if (activeChar.isCastingNow()) { Skill skill = activeChar.getCastingSkill(); activeChar.abortCast((skill != null) && (skill.isHandler() || (skill.getHitTime() > 1000)), false); } else if (activeChar.getTarget() != null) { activeChar.setTarget(null); }
6263646566676869707172
if (player == null) { return; } player.abortAttack(true, true); player.abortCast(true, true); player.stopMove(); if (_count > 0) { if (player.getInventory().destroyItemByItemId(8615, _count)) {
102103104105106107108109110111112
{ final ItemInstance weapon = player.getActiveWeaponInstance(); if (item.equals(weapon)) { player.abortAttack(true, true); player.abortCast(true, true); } player.sendDisarmMessage(item); player.getInventory().unEquipItem(item); return false; }
6970717273747576777879
if (weapon == null) { return; } activeChar.abortAttack(true, true); activeChar.abortCast(true, true); activeChar.sendDisarmMessage(weapon); } activeChar.getInventory().unEquipItemInBodySlot(_slot); } }
144145146147148149150151152153154
} _notUsedTransform = false; clearTasks(); spawnTraps(); actor.abortAttack(true, false); actor.abortCast(true, false); actor.setIsInvul(true); actor.doCast(TIAT_TRANSFORMATION_SKILL, actor, true); ThreadPoolManager.getInstance().schedule(new RunnableImpl() { @Override