Skip to content

Commit

Permalink
a loot percent
Browse files Browse the repository at this point in the history
  • Loading branch information
xdnw committed Aug 5, 2023
1 parent 3749a31 commit a002940
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public void load(WarAttack attack) {
looted[ResourceType.FOOD.ordinal()] = attack.getFood_looted();

AtomicInteger allianceId = new AtomicInteger();
loot_percent_cents = (int) (DBAttack.parseBankLoot(note, allianceId, null) * 100);
loot_percent_cents = (int) (DBAttack.parseBankLoot(note, allianceId, null) * 100 * 100);
this.alliance_id = allianceId.get();
if (alliance_id == 0) {
DBWar war = getWar();
Expand Down

0 comments on commit a002940

Please sign in to comment.