Files
Unstable Kitsune b918192e4e Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
2023-11-28 23:20:26 -05:00

34 lines
796 B
C#

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;
}
}
}