コード例 #1
0
ファイル: NavreysPillar.cs プロジェクト: Tauriella/ServUO-1
 public NavreysPillar(NavreysController controller, PillarType type)
     : base(0x3BF)
 {
     m_Controller = controller;
     m_Type       = type;
     Movable      = false;
 }
コード例 #2
0
ファイル: NavreysPillar.cs プロジェクト: Tauriella/ServUO-1
        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);

            int version = reader.ReadInt();

            State        = (NavreysPillarState)reader.ReadInt();
            m_Controller = (NavreysController)reader.ReadItem();
            m_Type       = (PillarType)reader.ReadInt();
        }
コード例 #3
0
ファイル: NavreysController.cs プロジェクト: UODOC/MyShard
        public static void GenNavery(Mobile m)
        {
            if (Check())
            {
                m.SendMessage("Navrey spawner is already present.");
            }
            else
            {
                m.SendMessage("Creating Navrey Night-Eyes Lair...");

                NavreysController controller = new NavreysController();

                m.SendMessage("Generation completed!");
            }
        }
コード例 #4
0
        private static void GenNavrey_Command(CommandEventArgs e)
        {
            if (Check())
            {
                e.Mobile.SendMessage("Navrey spawner is already present.");
            }
            else
            {
                e.Mobile.SendMessage("Creating Navrey Night-Eyes Lair...");

                NavreysController controller = new NavreysController();

                e.Mobile.SendMessage("Generation completed!");
            }
        }
コード例 #5
0
        private static void GenNavrey_Command( CommandEventArgs e )
        {
            if ( Check() )
            {
                e.Mobile.SendMessage( "Navrey spawner is already present." );
            }
            else
            {
                e.Mobile.SendMessage( "Creating Navrey Night-Eyes Lair..." );

                NavreysController controller = new NavreysController();

                e.Mobile.SendMessage( "Generation completed!" );
            }
        }
コード例 #6
0
ファイル: NavreyNightEyes.cs プロジェクト: Ravenwolfe/xrunuo
        public override void Deserialize( GenericReader reader )
        {
            base.Deserialize( reader );

            int version = reader.ReadInt();

            if ( version >= 1 )
                m_Spawner = reader.ReadItem() as NavreysController;
        }
コード例 #7
0
ファイル: NavreyNightEyes.cs プロジェクト: Ravenwolfe/xrunuo
        public NavreyNightEyes( NavreysController spawner )
            : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            m_Spawner = spawner;

            Name = "Navrey Night-Eyes";
            Body = 735;

            SetStr( 1000, 1500 );
            SetDex( 200, 250 );
            SetInt( 150, 200 );

            SetHits( 50000 );

            SetDamage( 22, 29 );

            SetDamageType( ResistanceType.Physical, 50 );
            SetDamageType( ResistanceType.Fire, 25 );
            SetDamageType( ResistanceType.Energy, 25 );

            SetResistance( ResistanceType.Physical, 50, 60 );
            SetResistance( ResistanceType.Fire, 40, 50 );
            SetResistance( ResistanceType.Cold, 60, 70 );
            SetResistance( ResistanceType.Poison, 100 );
            SetResistance( ResistanceType.Energy, 60, 80 );

            SetSkill( SkillName.Anatomy, 50.0, 80.0 );
            SetSkill( SkillName.Poisoning, 100, 100 );
            SetSkill( SkillName.MagicResist, 100.0, 130.0 );
            SetSkill( SkillName.Tactics, 90.0, 100.0 );
            SetSkill( SkillName.Wrestling, 90.0, 100.0 );
            SetSkill( SkillName.EvalInt, 90.0, 100.0 );
            SetSkill( SkillName.Magery, 90.0, 100.0 );
            SetSkill( SkillName.Meditation, 80.0, 100.0 );

            Fame = 30000;
            Karma = -30000;

            for ( int i = 0; i < 6; i++ )
                PackMysticScroll( Utility.Random( 10, 6 ) ); // 6th - 8th circle
        }
コード例 #8
0
ファイル: NavreysPillar.cs プロジェクト: nogu3ira/xrunuo
 public NavreysPillar(NavreysController controller)
     : base(0x3BF)
 {
     m_Controller = controller;
     Movable      = false;
 }
コード例 #9
0
ファイル: NavreysPillar.cs プロジェクト: Ravenwolfe/xrunuo
        public override void Deserialize( GenericReader reader )
        {
            base.Deserialize( reader );

            /*int version = */
            reader.ReadInt();

            m_State = (NavreysPillarState) reader.ReadInt();
            m_Controller = (NavreysController) reader.ReadItem();
        }
コード例 #10
0
ファイル: NavreysPillar.cs プロジェクト: Ravenwolfe/xrunuo
 public NavreysPillar( NavreysController controller )
     : base(0x3BF)
 {
     m_Controller = controller;
     Movable = false;
 }