generated from admin/template
lab-03 done
This commit is contained in:
@@ -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!")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user