forked from MagicBane/Server
capturing city will cede all buildinsg to conquerer
This commit is contained in:
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user