Esempio n. 1
0
        public override void Attack()
        {
            if (TimeSinceLastAttack < AttackCooldown)
                return;

            TimeSinceLastAttack = 0f;
            var abilityInstance = new Melee(this, World);

            GameplayScreen.DrawableObjects.Add(abilityInstance);
        }
Esempio n. 2
0
        public override void Attack()
        {
            if (TimeSinceLastAttack < AttackCooldown)
                return;

            TimeSinceLastAttack = 0f;

            var melee = new Melee(this, World) {Damage = 45};
            GameplayScreen.DrawableObjects.Add(melee);
        }
Esempio n. 3
0
        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);
        }