From d11f72798aa4f2b7a0dbce18fdd3b5962cad462f Mon Sep 17 00:00:00 2001 From: leonti123 Date: Sat, 19 Sep 2026 12:14:05 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A1=D0=B4=D0=B5=D0=BB=D0=B0=D0=BB=20stage1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- works/lab-01/stage1/stage1/Program.cs | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/works/lab-01/stage1/stage1/Program.cs b/works/lab-01/stage1/stage1/Program.cs index 068bcdf..45ae18e 100644 --- a/works/lab-01/stage1/stage1/Program.cs +++ b/works/lab-01/stage1/stage1/Program.cs @@ -18,25 +18,26 @@ Console.Write("Введите устойчивость: "); string resistance = Console.ReadLine(); int hp = 60; -int number = 2; +int number = 25; double height = 0.4; double weight = 6.0; -int attack2Damage = 2; +int attack2Damage = 20; int retreatCost = 1 ; Console.Clear(); Console.WriteLine("======================================================================"); -Console.WriteLine("[БАЗА] Пикачу ОЖ: 60 [⚡]"); +Console.WriteLine($"[БАЗА] {name} ОЖ: {hp} [⚡]"); Console.WriteLine("----------------------------------------------------------------------"); -Console.WriteLine("№ 025 | Вид: Мышь | Рост: 0.4 м | Вес: 6.0 кг"); +Console.WriteLine($"№ {number} | Вид: {category} | Рост: {height} м | Вес: {weight} кг"); Console.WriteLine("----------------------------------------------------------------------"); -Console.WriteLine("[Атака 1] Электроудар Эффект: Брось монету. Если выпал орёл, активный Покемон твоего противника теперь парализован."); +Console.WriteLine($"[Атака 1] {attack1Name} Эффект: {attack1Desc}"); -Console.WriteLine("[Атака 2] Быстрая Атака Урон: 20+ Эффект: Брось монету. Если выпал орёл, эта атака наносит на 10 пунктов урона больше."); +Console.WriteLine($"[Атака 2] {attack2Name} Урон: {attack2Damage}"); Console.WriteLine("----------------------------------------------------------------------"); -Console.WriteLine("Слабость: Боевой x2"); -Console.WriteLine("Устойчивость: Стальной -20"); -Console.WriteLine("Отступление: 1 энергия"); +Console.WriteLine($"Слабость: {weakness}"); +Console.WriteLine($"Устойчивость: {resistance}"); +Console.WriteLine($"Отступление: {retreatCost} энергия"); Console.WriteLine("======================================================================"); +