Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace NEwproyeckt
- {
- public class Champions
- {
- public int health = 100;
- public int basedamage = 30;
- public void Passive()
- {
- }
- public void BasicAttack()
- {
- Console.WriteLine(basedamage * 0.25);
- }
- public void firstSkill()
- {
- Console.WriteLine();
- }
- public void secondSkill()
- {
- }
- public void thirdSkill()
- {
- }
- public void Ultimate()
- {
- Console.WriteLine("Uses his ultimate");
- }
- }
- public class Melee : Champions
- {
- public int range = 3;
- public int movementspeed = 9;
- }
- public class Marksman : Champions
- {
- public int range = 15;
- public int movementspeed = 5;
- }
- public class Yasuo : Melee
- {
- public int health = 120;
- public int basedamage = 23;
- public double iskillcooldown = 0.24;
- public double iiskillcooldown = 25;
- public int iiiskillcooldown = 25;
- public int ultimate = 125;
- public void BasicAttack()
- {
- Console.WriteLine(basedamage * 0.24);
- }
- public void Ultimate()
- {
- Console.WriteLine("Soryegaton!");
- }
- public void Voiceline()
- {
- Console.WriteLine("Death is like a wind, always by my side");
- }
- }
- public class Vayne : Marksman
- {
- public int health = 120;
- public int basedamage = 23;
- public int iskillcooldown = 25;
- public int iiskillcooldown = 25;
- public int iiiskillcooldown = 25;
- public int ultimate = 180;
- public void BasicAttack()
- {
- Console.WriteLine(basedamage * 0.24);
- }
- public void Voiceline()
- {
- Console.WriteLine("Let us hunt those who have fallen to Darkness");
- }
- }
- }
- \\\\\\
- using System;
- using NEwproyeckt;
- public class main
- {
- public static void Main(string[] args)
- {
- Yasuo Player1 = new Yasuo();
- Vayne Player2 = new Vayne();
- bfsword item1 = new bfsword();
- item1.purchaseItem();
- Console.WriteLine(Player1.health);
- Player1.BasicAttack();
- Player1.Ultimate();
- Player2.Ultimate();
- Console.WriteLine("Yasuo Range: " + Player1.range);
- Console.WriteLine("Vayne Range: " + Player2.range);
- Player1.Voiceline();
- }
- }
- \\\\
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace NEwproyeckt
- {
- public class items
- {
- public String description = "";
- public void purchaseItem()
- {
- }
- public void sellItem()
- {
- }
- public void useItem()
- {
- }
- }
- public class bfsword : items
- {
- public int dmg = 25;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement