- [X] Adds a `RemGauntlet` command. - [X] Makes `GenGauntlet` remove before adding. - [X] Organizes the Doom files. Closes #586
32 lines
703 B
C#
32 lines
703 B
C#
using Server.Regions;
|
|
|
|
namespace Server.Engines.Doom
|
|
{
|
|
public class GauntletRegion : BaseRegion
|
|
{
|
|
private GauntletSpawner m_Spawner;
|
|
|
|
public GauntletRegion(GauntletSpawner spawner, Map map)
|
|
: base(null, map, Find(spawner.Location, spawner.Map), spawner.RegionBounds)
|
|
{
|
|
m_Spawner = spawner;
|
|
|
|
GoLocation = spawner.Location;
|
|
|
|
Register();
|
|
}
|
|
|
|
public override void AlterLightLevel(Mobile m, ref int global, ref int personal)
|
|
{
|
|
global = 12;
|
|
}
|
|
|
|
public override void OnEnter(Mobile m)
|
|
{
|
|
}
|
|
|
|
public override void OnExit(Mobile m)
|
|
{
|
|
}
|
|
}
|
|
}
|