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; }
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); } }
public void Use_DressedUp(FightStats fightStats, Stats stats, Item item) { }
public void Use_When_Ware(FightStats fightStats, Stats stats, Item item) { }
public void Use_To_TakeOff(FightStats fightStats, Stats stats, Item item) { }
public void Use_When_Ware(FightStats fightStats, Stats stats, Item item) { //Debug.Log("WARERERE " + item.itemName); }
public void Use_To_TakeOff(FightStats fightStats, Stats stats, Item item) { fightStats.Attack -= item.ItemFightStats.Attack; fightStats.Defence -= item.ItemFightStats.Defence; }
void Awake() { fightStats = new FightStats(100, 100); }
public void Use_To_Ware(FightStats fightStats, Stats stats, Item item) { fightStats.Attack += item.ItemFightStats.Attack; fightStats.Defence += item.ItemFightStats.Defence; }
public void Use_To_Ware(FightStats fightStats, Stats stats, Item item) { BuffController buffController = Global.Component.GetBuffController(); buffController.ActivateBuff(item); }
public NewLvL(FightStats lvlUpFightStats) { this.lvlUpFightStats = lvlUpFightStats; }
public void LvlUp(ref FightStats fightStats) { fightStats.Attack += lvlUpFightStats.Attack; fightStats.Defence += lvlUpFightStats.Defence; }