Files
The-Forging/Scripts/Services/Seasonal Events/TreasuresOfDoom/Region.cs
T

34 lines
796 B
C#
Raw Normal View History

2026-06-19 00:00:16 -04:00
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;
}
}
}