lab-03 done

This commit is contained in:
2026-10-19 11:31:31 +00:00
parent e338668d46
commit f2d9462b69
-6
View File
@@ -3,12 +3,6 @@ showTask()
val currentHp: Short = getString("Set the current Hp.", "Current Hp").toShort(); br(2) val currentHp: Short = getString("Set the current Hp.", "Current Hp").toShort(); br(2)
val energyAttached: Short = getString("Set the number of attached energy cards.", "Number of").toShort(); br(2) val energyAttached: Short = getString("Set the number of attached energy cards.", "Number of").toShort(); br(2)
// var text: String =
//"""=== ИНИЦИАЛИЗАЦИЯ ПАРАМЕТРОВ ХОДА ===
//Текущий ход: $currentTurn
//Доступно энергии: $energy
//Множитель урона: $multiplier"""
if(currentHp < 1) println("Knockout!") if(currentHp < 1) println("Knockout!")
else println("Pokemon ready to battle!") else println("Pokemon ready to battle!")