allow BH and huntsman on all but priest
This commit is contained in:
1 parent
a6cee850a6
commit
afa9ddf89e
2 files changed
+9
-9
No files matched your search
@@ -195,7 +195,9 @@ public class ObjectActionMsgHandler extends AbstractClientMsgHandler {
|
||||
}
|
||||
|
||||
hPMod = (building.getMaxHitPoints() * Realm.getRealmHealthMod(city));
|
||||
float percentOfHealth = building.getCurrentHitpoints() / building.getHealthMax();
|
||||
building.setMaxHitPoints(building.getMaxHitPoints() + hPMod);
|
||||
building.setCurrentHitPoints(building.getMaxHitPoints() * percentOfHealth);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user