Пример #1
0
        public MonsterNestEntity(MonsterNest nest) : base(AIType.AI_Melee, FightMode.Aggressor, 10, 1, 0.2, 0.4)
        {
            m_MonsterNest = nest;
            Name          = nest.Name;
            Title         = "";
            Body          = 399;
            BaseSoundID   = 0;
            this.Hue      = 0;

            SetStr(0);
            SetDex(0);
            SetInt(0);

            SetHits(nest.HitsMax);

            SetDamage(0, 0);

            SetDamageType(ResistanceType.Physical, 0);

            SetResistance(ResistanceType.Physical, 0);
            SetResistance(ResistanceType.Fire, 0);
            SetResistance(ResistanceType.Cold, 0);
            SetResistance(ResistanceType.Poison, 0);
            SetResistance(ResistanceType.Energy, 0);

            Fame  = 5000;
            Karma = -5000;

            VirtualArmor = 0;
            CantWalk     = true;
        }
Пример #2
0
 public override void OnDamage(int amount, Mobile from, bool willkill)
 {
     if (this.m_MonsterNest != null && this.m_MonsterNest is MonsterNest)
     {
         MonsterNest nest = this.m_MonsterNest as MonsterNest;
         nest.Damage(amount);
     }
     base.OnDamage(amount, from, willkill);
 }
Пример #3
0
 public override void OnThink()
 {
     this.Frozen   = true;
     this.Location = this.m_MonsterNest.Location;
     if (this.m_MonsterNest != null && this.m_MonsterNest is MonsterNest)
     {
         MonsterNest nest = this.m_MonsterNest as MonsterNest;
         this.Hits = nest.Hits;
     }
 }
Пример #4
0
 public RegenTimer(MonsterNest n) : base(TimeSpan.FromMinutes(1.0))
 {
     nest = n;
 }
Пример #5
0
 public InternalTimer(MonsterNest n) : base(n.RespawnTime)
 {
     nest = n;
 }
Пример #6
0
			public InternalTimer( MonsterNest n ) : base( n.RespawnTime )
			{
				nest= n;
			}
Пример #7
0
		public MonsterNestEntity( MonsterNest nest ) : base( AIType.AI_Melee, FightMode.Aggressor, 10, 1, 0.2, 0.4 )
		{
			m_MonsterNest = nest;
			Name = nest.Name;
			Title = "";
			Body = 399;
			BaseSoundID = 0;
			this.Hue = 0;

			SetStr( 0 );
			SetDex( 0 );
			SetInt( 0 );

			SetHits( nest.HitsMax );

			SetDamage( 0, 0 );

			SetDamageType( ResistanceType.Physical, 0 );

			SetResistance( ResistanceType.Physical, 0 );
			SetResistance( ResistanceType.Fire, 0 );
			SetResistance( ResistanceType.Cold, 0 );
			SetResistance( ResistanceType.Poison, 0 );
			SetResistance( ResistanceType.Energy, 0 );

			Fame = 5000;
			Karma = -5000;

			VirtualArmor = 0;
			CantWalk = true;
		}
Пример #8
0
			public RegenTimer( MonsterNest n ) : base( TimeSpan.FromMinutes( 1.0 ) )
			{
				nest= n;
			}
			public SpawnTimer( MonsterNest n ) : base( n.RespawnTime )
			{
				nest= n;
			}
			public RegenTimer( MonsterNest n ) : base( TimeSpan.FromSeconds( 30.0 ))
			{
				nest = n;
			}
Пример #11
0
 public SpawnTimer(MonsterNest n) : base(n.RespawnTime)
 {
     nest = n;
 }
Пример #12
0
 public RegenTimer(MonsterNest n) : base(TimeSpan.FromSeconds(30.0))
 {
     nest = n;
 }