user.getField().showMessage(target.getName() + eff.getDescription());
break;
}
}
} else if (mech.attemptHit(this, user, target)) {
StatMultiplier mul = target.getMultiplier(Pokemon.S_DEFENCE);
double value = mul.getSecondaryMultiplier();
mul.setSecondaryMultiplier(value / 2.0);
damage = mech.calculateDamage(this, user, target);
mul.setSecondaryMultiplier(value);
target.changeHealth(-damage);
}
user.faint();
return damage;
}