Esempio n. 1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="SummonedSalamander"/> class.
        /// </summary>
        public SummonedSalamander(ICreatureSpell spell)
        {
            Summoned = true;

            Health    = MaxHealth = 71;
            BaseDodge = 15;

            Movement = 2;

            Alignment = Alignment.Lawful;

            Attacks = new CreatureAttackCollection
            {
                { new CreatureAttack(10, 7, 14, "The salamander claws at you"), 60 },
                { new CreatureAttack(10, 9, 17, "The salamander hits you with its tail"), 40 },
            };

            Blocks = new CreatureBlockCollection
            {
                { new CreatureBlock(6, "the armor") },
                { new CreatureBlock(3, "a claw") },
                { new CreatureBlock(1, "a tail") },
            };

            Spells = new CreatureSpellCollection()
            {
                { new CreatureSpellEntry(spell, 100, TimeSpan.Zero) }
            };

            FireProtection = 100;
        }
Esempio n. 2
0
        public SummonedDjinn(ICreatureSpell spell)
        {
            Summoned = true;

            Health        = MaxHealth = 200;
            BaseDodge     = 19;
            Mana          = MaxMana = 24;
            IceProtection = 90;

            Movement = 3;

            Attacks = new CreatureAttackCollection
            {
                { new CreatureBasicAttack(14) },
            };

            Blocks = new CreatureBlockCollection
            {
                new CreatureBlock(12, "a hand"),
            };

            Spells = new CreatureSpellCollection()
            {
                { new CreatureSpellEntry(spell, 100, TimeSpan.Zero) }
            };

            AddStatus(new NightVisionStatus(this));

            CanFly = true;
        }