Exemplo n.º 1
0
    public void Use_To_Ware(FightStats fightStats, Stats stats, Item item)
    {
        //Debug.Log(item.ToString());

        fightStats.Attack  += item.ItemFightStats.Attack;
        fightStats.Defence += item.ItemFightStats.Defence;
    }
Exemplo n.º 2
0
 private void DisplayFight(IAttackable monster, FightStats fightStats)
 {
     WriteColor($"{player.Name.PadRight(30, ' ')}{monster.Name}", ConsoleColor.Gray);
     Console.WriteLine();
     WriteColor($"{HealthBar(player).PadRight(30, ' ')}{HealthBar(monster)}", ConsoleColor.Green);
     Console.WriteLine();
     Console.WriteLine();
     if (fightStats.EventMessage == null)
     {
         Console.WriteLine($"{fightStats.Attacker} dealt {fightStats.DamageDealt} damage to {fightStats.Defender}.");
     }
     else
     {
         Console.WriteLine(fightStats.EventMessage);
     }
 }
Exemplo n.º 3
0
 public void Use_DressedUp(FightStats fightStats, Stats stats, Item item)
 {
 }
Exemplo n.º 4
0
 public void Use_When_Ware(FightStats fightStats, Stats stats, Item item)
 {
 }
Exemplo n.º 5
0
 public void Use_To_TakeOff(FightStats fightStats, Stats stats, Item item)
 {
 }
Exemplo n.º 6
0
 public void Use_When_Ware(FightStats fightStats, Stats stats, Item item)
 {
     //Debug.Log("WARERERE " + item.itemName);
 }
Exemplo n.º 7
0
 public void Use_To_TakeOff(FightStats fightStats, Stats stats, Item item)
 {
     fightStats.Attack  -= item.ItemFightStats.Attack;
     fightStats.Defence -= item.ItemFightStats.Defence;
 }
Exemplo n.º 8
0
 void Awake()
 {
     fightStats = new FightStats(100, 100);
 }
Exemplo n.º 9
0
 public void Use_To_Ware(FightStats fightStats, Stats stats, Item item)
 {
     fightStats.Attack  += item.ItemFightStats.Attack;
     fightStats.Defence += item.ItemFightStats.Defence;
 }
Exemplo n.º 10
0
    public void Use_To_Ware(FightStats fightStats, Stats stats, Item item)
    {
        BuffController buffController = Global.Component.GetBuffController();

        buffController.ActivateBuff(item);
    }
Exemplo n.º 11
0
Arquivo: NewLvL.cs Projeto: 41ross/sza
 public NewLvL(FightStats lvlUpFightStats)
 {
     this.lvlUpFightStats = lvlUpFightStats;
 }
Exemplo n.º 12
0
Arquivo: NewLvL.cs Projeto: 41ross/sza
 public void LvlUp(ref FightStats fightStats)
 {
     fightStats.Attack  += lvlUpFightStats.Attack;
     fightStats.Defence += lvlUpFightStats.Defence;
 }