shrines can be destroyed
This commit is contained in:
1 parent
f80d50f95e
commit
58916c35c7
1 file changed
+4
-2
@@ -71,9 +71,11 @@ public class DestroyBuildingHandler extends AbstractClientMsgHandler {
|
||||
if (blueprint.getBuildingGroup() == BuildingGroup.TOL)
|
||||
return true;
|
||||
|
||||
// Can't destroy a shrine
|
||||
if (blueprint.getBuildingGroup() == BuildingGroup.SHRINE)
|
||||
// destorying a shrine will yield a rubble pile for looting
|
||||
if (blueprint.getBuildingGroup() == BuildingGroup.SHRINE) {
|
||||
building.modifyHealth(-building.getHealth(), origin.getPlayerCharacter());
|
||||
return true;
|
||||
}
|
||||
|
||||
// Cannot destroy mines outside of normal mine mechanics
|
||||
|
||||
|
||||
Reference in new issue
Block a user