public override void Attack() { if (TimeSinceLastAttack < AttackCooldown) return; TimeSinceLastAttack = 0f; var abilityInstance = new Melee(this, World); GameplayScreen.DrawableObjects.Add(abilityInstance); }
public override void Attack() { if (TimeSinceLastAttack < AttackCooldown) return; TimeSinceLastAttack = 0f; var melee = new Melee(this, World) {Damage = 45}; GameplayScreen.DrawableObjects.Add(melee); }
public override void Attack() { if (TimeSinceLastAttack < AttackCooldown) return; TimeSinceLastAttack = 0f; var abilityInstance = new Melee(this, World); //abilityInstance.AddAura(new Aura("Burning", Aura.OperationType.Add, -100, UnitAttribute.Health, true, 5000f)); GameplayScreen.DrawableObjects.Add(abilityInstance); }