public virtual void Attack(IAttackable target) { if (attackTimer <= 0) { target.DealDamage(attackDamage, attackSpeed); attackTimer = attackDelay; gm.VFX.SpawnProjectile(Position, attackSpeed, target); } }
protected virtual void AttackEnemy(IAttackable enemy) => enemy.DealDamage((int)(Damage * DamageMultiplier), this.ClanInfo.Id);