ModernUO/Projects/UOContent/Engines/Doom/GauntletRegion.cs
Kamron Batman 0afdc075cb
fix(doom): Adds RemGauntlet (#591)
- [X] Adds a `RemGauntlet` command.
- [X] Makes `GenGauntlet` remove before adding.
- [X] Organizes the Doom files.

Closes #586
2021-05-09 09:40:23 -07:00

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)
{
}
}
}