예제 #1
0
        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);

            int version = reader.ReadInt();

            switch (version)
            {
            case 1:
                reader.ReadList(reader.ReadMobile <BloodoftheHydra>, _Bloods);
                goto case 0;

            case 0:
                _Moongate = reader.ReadItem <ExtEventMoongate>();
                break;
            }

            _FireBreathTimer = new FireBreathInternalTimer(this);
            _FireBreathTimer.Start();

            _WaterBreathTimer = new WaterBreathInternalTimer(this);
            _WaterBreathTimer.Start();

            _EarthBreathTimer = new EarthBreathInternalTimer(this);
            _EarthBreathTimer.Start();
        }
예제 #2
0
        public HydraMotM()
            : base(AIType.AI_Arcade, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name         = "Lernaean";
            SpecialTitle = "The Hydra";
            TitleHue     = 1259;

            Body        = 0x109;
            BaseSoundID = 1149;
            Hue         = 0x47e;

            SetStr(510, 700);
            SetDex(510, 750);
            SetInt(310, 400);

            SetHits(40000);

            SetDamage(1, 6);

            SetSkill(SkillName.Anatomy, 200.0);
            SetSkill(SkillName.EvalInt, 120.0);
            SetSkill(SkillName.Magery, 120.0);
            SetSkill(SkillName.Meditation, 120.0);
            SetSkill(SkillName.MagicResist, 150.0);
            SetSkill(SkillName.Tactics, 200.0);
            SetSkill(SkillName.Wrestling, 200.0);

            Fame  = 0;
            Karma = -20000;

            VirtualArmor = 45;

            SpeechHue = 34;

            PackGem();
            PackGold(4700, 6950);

            _FireBreathTimer = new FireBreathInternalTimer(this);
            _FireBreathTimer.Start();

            _WaterBreathTimer = new WaterBreathInternalTimer(this);
            _WaterBreathTimer.Start();

            _EarthBreathTimer = new EarthBreathInternalTimer(this);
            _EarthBreathTimer.Start();
        }