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; }
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); }
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; } }
public RegenTimer(MonsterNest n) : base(TimeSpan.FromMinutes(1.0)) { nest = n; }
public InternalTimer(MonsterNest n) : base(n.RespawnTime) { nest = n; }
public InternalTimer( MonsterNest n ) : base( n.RespawnTime ) { nest= n; }
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; }
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; }
public SpawnTimer(MonsterNest n) : base(n.RespawnTime) { nest = n; }
public RegenTimer(MonsterNest n) : base(TimeSpan.FromSeconds(30.0)) { nest = n; }