public DigEntry(ArtifactMap map, bool enabled) : base(6148, 2) { m_DisplayMap = map; if (!enabled) { this.Flags |= CMEFlags.Disabled; } }
public DigTimer(Mobile from, ArtifactMap artifactMap, Point3D location, Map map) : base(TimeSpan.Zero, TimeSpan.FromSeconds(1.0)) { m_From = from; m_ArtifactMap = artifactMap; m_Location = location; m_DisplayMap = map; m_NextSkillTime = from.NextSkillTime; m_NextSpellTime = from.NextSpellTime; m_NextActionTime = from.NextActionTime; m_LastMoveTime = from.LastMoveTime; Priority = TimerPriority.TenMS; }
public override void OnItemLifted(Mobile from, Item item) { if (m_Spawn) //if it's allowed to spawn let it else don't. { bool notYetLifted = !m_Lifted.Contains(item); from.RevealingAction(); if (notYetLifted) { m_Lifted.Add(item); if (0.1 >= Utility.RandomDouble()) // 10% chance to spawn a new monster { ArtifactMap.Spawn(m_ArtifactLevel, GetWorldLocation(), Map, from, false); } } } base.OnItemLifted(from, item); }
public DigEntry( ArtifactMap map, bool enabled ) : base( 6148, 2 ) { m_DisplayMap = map; if ( !enabled ) this.Flags |= CMEFlags.Disabled; }
public OpenMapEntry( ArtifactMap map ) : base( 6150, 2 ) { m_DisplayMap = map; }
public DecodeMapEntry( ArtifactMap map ) : base( 6147, 2 ) { m_DisplayMap = map; }
public DigTimer( Mobile from, ArtifactMap artifactMap, Point3D location, Map map ) : base( TimeSpan.Zero, TimeSpan.FromSeconds( 1.0 ) ) { m_From = from; m_ArtifactMap = artifactMap; m_Location = location; m_DisplayMap = map; m_NextSkillTime = from.NextSkillTime; m_NextSpellTime = from.NextSpellTime; m_NextActionTime = from.NextActionTime; m_LastMoveTime = from.LastMoveTime; Priority = TimerPriority.TenMS; }
public DigTarget( ArtifactMap map ) : base( 6, true, TargetFlags.None ) { m_DisplayMap = map; }
public OpenMapEntry(ArtifactMap map) : base(6150, 2) { m_DisplayMap = map; }
public DecodeMapEntry(ArtifactMap map) : base(6147, 2) { m_DisplayMap = map; }
public DigTarget(ArtifactMap map) : base(6, true, TargetFlags.None) { m_DisplayMap = map; }