return (int)Math.floor(damage * multiplier) + entity.getCrew().modifyPhysicalDamagaForMeleeSpecialist();
return toReturn;
    public static int getDamageFor(Entity entity, int leg) {        int[] kickLegs = new int[2];        if ( entity.entityIsQuad() ) {          kickLegs[0] = Mech.LOC_RARM;          kickLegs[1] = Mech.LOC_LARM;        } else {          kickLegs[0] = Mech.LOC_RLEG;          kickLegs[1] = Mech.LOC_LLEG;        }        final int legLoc = (leg == KickAttackAction.RIGHT) ? kickLegs[0] : kickLegs[1];        int damage = (int)Math.floor(entity.getWeight() / 5.0);        float multiplier = 1.0f;        if (!entity.hasWorkingSystem(Mech.ACTUATOR_UPPER_LEG, legLoc)) {            multiplier /= 2.0f;        }        if (!entity.hasWorkingSystem(Mech.ACTUATOR_LOWER_LEG, legLoc)) {            multiplier /= 2.0f;        }        if (!entity.hasWorkingSystem(Mech.ACTUATOR_HIP, legLoc)) {            damage = 0;        }        if (entity.heat >= 9 && ((Mech)entity).hasTSM()) {            multiplier *= 2.0f;        }        if (entity.getLocationStatus(legLoc) == Entity.LOC_WET) {            multiplier /= 2.0f;        }        return (int)Math.floor(damage * multiplier) + entity.getCrew().modifyPhysicalDamagaForMeleeSpecialist();    }