示例#1
0
        public override void Attack()
        {
            if (TimeSinceLastAttack < AttackCooldown)
                return;

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

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

            TimeSinceLastAttack = 0f;

            var melee = new Melee(this, World) {Damage = 45};
            GameplayScreen.DrawableObjects.Add(melee);
        }
示例#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);
        }