//randomly choose one defensive item to deteriorate
List<Item> defenseItems = defender.getDefenseItems();
if(!defenseItems.isEmpty()) {
Rand.rand(defenseItems).deteriorate();
}
player.addEvent(new AttackEvent(true, damage, player.getDamageType()));
} else {
// Missed
logger.debug("attack from " + player.getID() + " to "
+ defender.getID() + ": Missed");
player.addEvent(new AttackEvent(false, 0, player.getDamageType()));
}
if (missileUsed) {
/*
* Removing the missile is deferred here so that the weapon