@Override
public InventoryMode EnterRequest() {
final Fighter fighter = fighterListModel.get(currentFighter);
final boolean utilisable = (currentSkill.getUse() == Utilization.OUTSIDE_BATTLE || currentSkill.getUse() == Utilization.TWICE);
if (currentSkill != null && utilisable) {
final SkillController skillController = new SkillController(currentSkill, null);
//TODO: Finir les modifications ici pour adapter avec le système de combat
if (currentSkill.getTarget() == Target.ALLY) {
skillController.castSkill(null, fighter);
}
else {
for(Fighter current : fighterListModel){
skillController.castSkill(fighter, current);
}
}
}
return InventoryMode.SAME;
}