Browse Source

capturing city will cede all buildinsg to conquerer

lakebane-master
FatBoy-DOTC 6 months ago
parent
commit
b46eb8639d
  1. 4
      src/engine/objects/Bane.java

4
src/engine/objects/Bane.java

@ -607,6 +607,10 @@ public final class Bane { @@ -607,6 +607,10 @@ public final class Bane {
DispatchMessage.dispatchMsgToAll(msg);
}
for(AbstractWorldObject awo : WorldGrid.getObjectsInRangePartial(this.getCity().loc,1500,MBServerStatics.MASK_BUILDING)){
Building building = (Building)awo;
if(building.setOwner(this.getOwner()));
}
break;
case DESTROY:

Loading…
Cancel
Save