forked from MagicBane/Server
extended range of spire effects
This commit is contained in:
@@ -2325,7 +2325,8 @@ public class Enum {
|
|||||||
|
|
||||||
GRID(544),
|
GRID(544),
|
||||||
ZONE(672),
|
ZONE(672),
|
||||||
PLACEMENT(673);
|
PLACEMENT(673),
|
||||||
|
SIEGEBOUNDS(880);
|
||||||
|
|
||||||
public final float extents;
|
public final float extents;
|
||||||
|
|
||||||
|
|||||||
@@ -953,7 +953,7 @@ public class City extends AbstractWorldObject {
|
|||||||
|
|
||||||
public boolean isLocationWithinSiegeBounds(Vector3fImmutable insideLoc) {
|
public boolean isLocationWithinSiegeBounds(Vector3fImmutable insideLoc) {
|
||||||
|
|
||||||
return insideLoc.isInsideCircle(this.getLoc(), 880f);
|
return insideLoc.isInsideCircle(this.getLoc(), CityBoundsType.SIEGEBOUNDS.extents);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user