From a002940713e1cf650bb123e032f156c18dbc7d29 Mon Sep 17 00:00:00 2001 From: xdnw Date: Sat, 5 Aug 2023 13:08:30 +0100 Subject: [PATCH] a loot percent --- .../apiv1/domains/subdomains/attack/v3/cursors/ALootCursor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/link/locutus/discord/apiv1/domains/subdomains/attack/v3/cursors/ALootCursor.java b/src/main/java/link/locutus/discord/apiv1/domains/subdomains/attack/v3/cursors/ALootCursor.java index d332c1c8..fecd5cbc 100644 --- a/src/main/java/link/locutus/discord/apiv1/domains/subdomains/attack/v3/cursors/ALootCursor.java +++ b/src/main/java/link/locutus/discord/apiv1/domains/subdomains/attack/v3/cursors/ALootCursor.java @@ -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();