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
+36
View File
@@ -0,0 +1,36 @@
#region References
using Server.Network;
#endregion
namespace Server.Targeting
{
public abstract class MultiTarget : Target
{
public int MultiID { get; set; }
public Point3D Offset { get; set; }
protected MultiTarget(int multiID, Point3D offset)
: this(multiID, offset, 10, true, TargetFlags.None)
{ }
protected MultiTarget(int multiID, Point3D offset, int range, bool allowGround, TargetFlags flags)
: base(range, allowGround, flags)
{
MultiID = multiID;
Offset = offset;
}
public override Packet GetPacketFor(NetState ns)
{
if (ns.HighSeas)
{
return new MultiTargetReqHS(this);
}
else
{
return new MultiTargetReq(this);
}
}
}
}