|
|
@ -74,6 +74,7 @@ public class DestroyBuildingHandler extends AbstractClientMsgHandler { |
|
|
|
// destorying a shrine will yield a rubble pile for looting
|
|
|
|
// destorying a shrine will yield a rubble pile for looting
|
|
|
|
if (blueprint.getBuildingGroup() == BuildingGroup.SHRINE) { |
|
|
|
if (blueprint.getBuildingGroup() == BuildingGroup.SHRINE) { |
|
|
|
building.modifyHealth(-building.getHealth(), origin.getPlayerCharacter()); |
|
|
|
building.modifyHealth(-building.getHealth(), origin.getPlayerCharacter()); |
|
|
|
|
|
|
|
building.destroyOrDerank(origin.getPlayerCharacter()); |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|