Beispiel #1
0
        protected override bool Execute()
        {
            var knockback = new GameObjects.Knockback(Being.Facing, AbilityConstants.LavaBlastKnockbackLength, AbilityConstants.LavaBlastKnockback);
            var damage    = AbilityConstants.LavaBlastDamage * Being.SkillValue(SkillType.FireMastery, true);

            Globals.GameState.Missiles.Add(new LavaBlastMissile(Being as Zerd, new GameObjects.DamageInstance(knockback, damage, DamageTypes.Fire, Being, AbilityTypes.LavaBlast),
                                                                Being.Position));
            Being.AddBuff(BuffTypes.BlazingSpeed);
            return(base.Execute());
        }
Beispiel #2
0
        public override void ReleaseCharge()
        {
            var knockback = new GameObjects.Knockback(Being.Facing, AbilityConstants.WandKnockbackLength,
                                                      AbilityConstants.WandKnockback);
            var damage = AbilityConstants.WandDamage * Being.SkillValue(SkillType.ImprovedWand, true);

            Globals.GameState.Missiles.Add(new WandMissile(Being,
                                                           new GameObjects.DamageInstance(knockback, damage, DamageTypes.Magic, Being, AbilityTypes.Wand),
                                                           Being.Position));
        }
Beispiel #3
0
        protected override bool Execute()
        {
            var knockback = new GameObjects.Knockback(Being.Facing, AbilityConstants.WandKnockbackLength,
                                                      AbilityConstants.WandKnockback);
            var damage = AbilityConstants.WandDamage * Being.SkillValue(SkillType.ImprovedWand, true);

            Globals.GameState.Missiles.Add(new WandMissile(Being,
                                                           new GameObjects.DamageInstance(knockback, damage, DamageTypes.Magic, Being, AbilityTypes.Wand),
                                                           Being.Position));
            return(base.Execute());
        }