Skip to content

Commit

Permalink
Merge pull request #4829 from Saklad5/watchdog-fix
Browse files Browse the repository at this point in the history
Use standard ECM range for Watchdog/Nova CEWS
  • Loading branch information
HammerGS authored Oct 15, 2023
2 parents ad3f977 + 5b96ff1 commit d105d6f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions megamek/src/megamek/common/Entity.java
Original file line number Diff line number Diff line change
Expand Up @@ -5299,9 +5299,7 @@ public int getECMRange() {
&& (this instanceof BattleArmor)) {
toReturn = 2;
}
if (type.hasFlag(MiscType.F_EW_EQUIPMENT)
|| type.hasFlag(MiscType.F_NOVA)
|| type.hasFlag(MiscType.F_WATCHDOG)) {
if (type.hasFlag(MiscType.F_EW_EQUIPMENT)) {
toReturn = 3;
}
if (game.getPlanetaryConditions().hasEMI()) {
Expand Down

0 comments on commit d105d6f

Please sign in to comment.