@Override
public InventoryMode EnterRequest() {
final Fighter fighter = fighterListModel.get(currentFighter);
final boolean utilisable = (currentSpell.getUse() == Utilization.OUTSIDE_BATTLE || currentSpell.getUse() == Utilization.TWICE);
if (currentSpell != null && utilisable) {
final SpellController spellController = new SpellController(currentSpell, null);
if (currentSpell.getTarget() == Target.ALLY || currentSpell.getTarget() == Target.ENEMY) {
spellController.castSpell(fighter, fighter);
} else {
spellController.castSpell(fighter, fighterListModel);
}
}
return InventoryMode.SAME;
}