public void DisplayWarpTo(Warp warpObj, Aisling obj) { if (obj.WithinRangeOf(warpObj.Location.X, warpObj.Location.Y, 10)) { obj.Show(Scope.Self, new ServerFormat29( ServerContext.Config.WarpNumber, warpObj.Location.X, warpObj.Location.Y)); } }
public void DisplayWarpTo(Warp warpObj, Aisling obj) { if (obj.Position.WithinSquare(warpObj.Location, 10)) { obj.Show(Scope.Self, new ServerFormat29( 295, warpObj.Location.X, warpObj.Location.Y)); } }