Esempio n. 1
0
        public override void LevelUp()
        {
            if (Level == 10)
            {
                return;
            }
            base.LevelUp();

            basic        = new BasicSpell("Missiles", this);
            intermediate = new IntermediateSpell(Level >= 5 ? "Lightning Storm" : "Lightning Bolt", this);
            advanced     = new AdvancedSpell("Arcane Scream", this);

            if (Level >= 2)
            {
                if (Level == 9)
                {
                    basic = new AmplifyAttack(basic, 3);
                    basic.UpdateDamage(this);
                }
                basic = new Repeater(basic, 2);
                basic.UpdateDamage(this);
            }

            if (Level >= 5)
            {
                intermediate = new AreaOfEffect(intermediate);
                intermediate.UpdateDamage(this);
                advanced = new Repeater(advanced, 5);
                advanced.UpdateDamage(this);
            }
        }
Esempio n. 2
0
        public override void LevelUp()
        {
            if (Level == 10)
            {
                return;
            }
            base.LevelUp();

            basic        = new BasicWeapon("Slice and Dice", this);
            intermediate = new IntermediateWeapon("Great Cleave", this);

            decimal scale = 1 + (decimal)(.2 * (Level - 1));

            advanced = new AmplifyAttack(new AdvancedWeapon("Limit Break", this), scale);
            advanced.UpdateDamage(this);

            if (Level >= 5)
            {
                intermediate = new AreaOfEffect(intermediate);
                intermediate.UpdateDamage(this);
            }
        }