fix(doom): Adds RemGauntlet (#591)
- [X] Adds a `RemGauntlet` command. - [X] Makes `GenGauntlet` remove before adding. - [X] Organizes the Doom files. Closes #586
This commit is contained in:
parent
7819830628
commit
0afdc075cb
3 changed files with 348 additions and 248 deletions
32
Projects/UOContent/Engines/Doom/GauntletRegion.cs
Normal file
32
Projects/UOContent/Engines/Doom/GauntletRegion.cs
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
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)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue