if (entity.getLocationStatus(club.getLocation()) == entity.LOC_WET) {
int clubLocation = club.getLocation();  if (clubLocation == Entity.LOC_NONE) { clubLocation = Mech.LOC_RARM; } if (entity.getLocationStatus(clubLocation) == Entity.LOC_WET) {
    public static int getClubDamageFor(Entity entity, Mounted club) {                int nDamage = (int)Math.floor(entity.getWeight() / 5.0);        if (club.getType().hasFlag(MiscType.F_SWORD)) {            nDamage = (int)(Math.ceil(entity.getWeight() / 10.0) + 1.0);        }        if (entity.heat >= 9 && ((Mech)entity).hasTSM()) {            nDamage *= 2;        }        if (entity.getLocationStatus(club.getLocation()) == entity.LOC_WET) {            nDamage /= 2.0f;        }        return nDamage + modifyPhysicalDamagaForMeleeSpecialist(entity);    }