Identation in calcula_damage_ai() fixed