Prohibit count of negative reputation players to declare mutual war.

This commit is contained in:
MobiusDev
2018-09-06 23:50:47 +00:00
parent fbb5ebeb7e
commit 466f31f889
7 changed files with 7 additions and 7 deletions

View File

@ -147,7 +147,7 @@ public final class ClanWar
_attackedKillCount.incrementAndGet();
}
}
else if ((_state == ClanWarState.BLOOD_DECLARATION) && (victimClan.getId() == _attackerClanId))
else if ((_state == ClanWarState.BLOOD_DECLARATION) && (victimClan.getId() == _attackerClanId) && (victim.getReputation() >= 0))
{
final int killCount = _attackedKillCount.incrementAndGet();