Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
33
Scripts/Services/Seasonal Events/TreasuresOfDoom/Region.cs
Normal file
33
Scripts/Services/Seasonal Events/TreasuresOfDoom/Region.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
using System;
|
||||
|
||||
using Server;
|
||||
using Server.Spells;
|
||||
|
||||
namespace Server.Regions
|
||||
{
|
||||
public class MonestaryRegion : BaseRegion
|
||||
{
|
||||
public static void Initialize()
|
||||
{
|
||||
new MonestaryRegion();
|
||||
}
|
||||
|
||||
public MonestaryRegion()
|
||||
: base("Doom Monestary", Map.Malas, Region.DefaultPriority, new Rectangle2D(64, 204, 99, 37))
|
||||
{
|
||||
GoLocation = new Point3D(79, 223, -1);
|
||||
|
||||
Register();
|
||||
}
|
||||
|
||||
public override bool CheckTravel(Mobile traveller, Point3D p, TravelCheckType type)
|
||||
{
|
||||
if (traveller.AccessLevel > AccessLevel.Player)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
return type == TravelCheckType.TeleportTo || type == TravelCheckType.TeleportFrom;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user