Shock multiplier mistake

Issue #29 resolved
Former user created an issue

Hi,

I've noticed in the source code for BattleLine.java that the shock multiplier is applied to everyone except for nomads. In game, only Nomads get it, so probably the == needs to become !=

    private double getShockMultiplier() {
        if (army.getTechnology().getGroup() == Technology.Group.NOMAD)
            return 1;
        return (terrain.attackerPenalty == 0) ? 1.25 : 0.75;
    }

Comments (1)

  1. Log in to comment