Advertisement
Alexander_Maximov

Untitled

Mar 16th, 2023
416
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.48 KB | None | 0 0
  1. using System;
  2.  
  3. namespace GladiatorFight
  4. {
  5.     public class Warlord : Fighter
  6.     {
  7.         public Warlord(string name, int health, int damage, int armor) : base (name, health, damage, armor)
  8.         {
  9.            
  10.         }
  11.        
  12.         public override int UseSkill(int roundCount)
  13.         {
  14.             int skillDamage = Damage * 3;
  15.             Console.Write("\nИспользован скилл Варлорда!");
  16.             return skillDamage;
  17.         }
  18.     }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement