Initial commit

This commit is contained in:
Ubuntu
2026-06-19 00:00:16 -04:00
commit 73701ff86e
7100 changed files with 1952988 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
using System;
using Server.Mobiles;
using Server.Targeting;
namespace Server.Targets
{
public class AdminRunebookPlayerTarget : Target
{
Point3D TargetLocation;
Map TargetMap;
public AdminRunebookPlayerTarget(Point3D loc, Map map)
: base( 12, false, TargetFlags.None)
{
TargetLocation = loc;
TargetMap = map;
}
protected override void OnTarget(Mobile from, object targeted)
{
if (targeted is PlayerMobile && TargetLocation != Point3D.Zero && TargetMap != null)
{
PlayerMobile pm = (PlayerMobile)targeted;
pm.MoveToWorld(TargetLocation, TargetMap);
pm.SendMessage("You have been sent to a new location though divine intervention!");
}
}
}
}