Пример #1
0
		//[Constructable]
		public COMInvasionMage( COMInvasionPlatform platform, Direction direction ) : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
		{
			m_Platform = platform;
			Blessed = true;
			m_Direction = Direction = direction;

			SpeechHue = Utility.RandomDyedHue();
			Title = "member of the council of mages";
			Hue = Utility.RandomSkinHue();

			Body = 0x190;
			Name = NameList.RandomName( "male" );
			AddItem( new HoodedShroudOfShadows( 1325 ) );

			SetStr( 100 );
			SetDex( 100 );
			SetInt( 100 );

			SetDamage( 85, 100 );

			SetSkill( SkillName.Fencing, 100 );
			SetSkill( SkillName.Macing, 100 );
			SetSkill( SkillName.MagicResist, 100 );
			SetSkill( SkillName.Swords, 100 );
			SetSkill( SkillName.Tactics, 100 );
			SetSkill( SkillName.Wrestling, 100 );
			SetSkill( SkillName.Magery, 100 );
			SetSkill( SkillName.EvalInt, 100 );

			Fame = 1000;
			Karma = -1000;

			AddItem( new Sandals( 1325 ) );
			PackItem( new Gold( 10 ) );
		}
Пример #2
0
        //[Constructable]
        public COMInvasionMage(COMInvasionPlatform platform, Direction direction) : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            m_Platform  = platform;
            Blessed     = true;
            m_Direction = Direction = direction;

            SpeechHue = Utility.RandomDyedHue();
            Title     = "member of the council of mages";
            Hue       = Utility.RandomSkinHue();

            Body = 0x190;
            Name = NameList.RandomName("male");
            AddItem(new HoodedShroudOfShadows(1325));

            SetStr(100);
            SetDex(100);
            SetInt(100);

            SetDamage(85, 100);

            SetSkill(SkillName.Fencing, 100);
            SetSkill(SkillName.Macing, 100);
            SetSkill(SkillName.MagicResist, 100);
            SetSkill(SkillName.Swords, 100);
            SetSkill(SkillName.Tactics, 100);
            SetSkill(SkillName.Wrestling, 100);
            SetSkill(SkillName.Magery, 100);
            SetSkill(SkillName.EvalInt, 100);

            Fame  = 1000;
            Karma = -1000;

            AddItem(new Sandals(1325));
            PackItem(new Gold(10));
        }
Пример #3
0
        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);

            int version = reader.ReadEncodedInt();

            m_Direction = (Direction)reader.ReadInt();

            Direction = m_Direction;

            m_Platform = reader.ReadItem <COMInvasionPlatform>();

            if (m_Platform != null)
            {
                m_Platform.Mages.Add(new Tuple <COMInvasionMage, Point3D>(this, reader.ReadPoint3D()));
            }
        }
Пример #4
0
		public override void Deserialize( GenericReader reader )
		{
			base.Deserialize( reader );

			int version = reader.ReadEncodedInt();

			m_Direction = (Direction)reader.ReadInt();

			Direction = m_Direction;

			m_Platform = reader.ReadItem<COMInvasionPlatform>();

			if ( m_Platform != null )
				m_Platform.Mages.Add( new Tuple<COMInvasionMage,Point3D>( this, reader.ReadPoint3D() ) );
		}