public static void modifyPhysicalBTHForAdvantages(Entity attacker, Entity target, ToHitData toHit, boolean noClanPhysicals) { int movement = attacker.moved;
public static void modifyPhysicalBTHForAdvantages(Entity attacker, Entity target, ToHitData toHit, Game game) {
      public static void modifyPhysicalBTHForAdvantages(Entity attacker, Entity target, ToHitData toHit, boolean noClanPhysicals) {        int movement = attacker.moved;        if ( attacker.getCrew().getOptions().booleanOption("melee_specialist") && attacker instanceof Mech ) {          int mod = 0;          if (movement == Entity.MOVE_WALK) {            mod = 1;          } else if (movement == Entity.MOVE_RUN || movement == Entity.MOVE_SKID) {            mod = 2;          } else if (movement == Entity.MOVE_JUMP) {            mod = 3;          }          if ( mod == 0 )            return;          toHit.addModifier(-1, "melee specialist");        }        if (  (target instanceof Mech) &&              target.getCrew().getOptions().booleanOption("dodge_maneuver") &&              (target.dodging || noClanPhysicals) ) { //auto-dodge if approp.          toHit.addModifier(2, "target is dodging");        }      }