// 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)