player.setAgathion(0);
}
// Обновляем скилл лист, после удаления скилов
player.sendPacket(new SkillList(player));
// Remove Hero weapons
L2ItemInstance wpn = player.getInventory().getPaperdollItem(Inventory.PAPERDOLL_RHAND);
if(wpn != null && wpn.isHeroWeapon())
{
player.getInventory().unEquipItem(wpn);
player.abortAttack(true, true);
player.refreshExpertisePenalty();
}
// remove bsps/sps/ss automation
ConcurrentSkipListSet<Integer> activeSoulShots = player.getAutoSoulShot();
for(int itemId : activeSoulShots)
{
player.removeAutoSoulShot(itemId);
player.sendPacket(new ExAutoSoulShot(itemId, false));
}
// Разряжаем заряженные соул и спирит шоты
L2ItemInstance weapon = player.getActiveWeaponInstance();
if(weapon != null)
{
weapon.setChargedSpiritshot(L2ItemInstance.CHARGED_NONE);
weapon.setChargedSoulshot(L2ItemInstance.CHARGED_NONE);
}
player.setCurrentHpMp(player.getMaxHp(), player.getMaxMp());
player.setCurrentCp(player.getMaxCp());
player.broadcastUserInfo(true);
}