Adjust AI score for Mind Blown/Steel Beam

This commit is contained in:
AJ Fontaine 2024-04-25 15:37:46 -04:00
parent 09b51fcc7c
commit 6923bc0765

View File

@ -744,8 +744,8 @@ export class HalfSacrificialAttr extends MoveEffectAttr {
getUserBenefitScore(user: Pokemon, target: Pokemon, move: Move): integer {
if (user.isBoss())
return -20;
return Math.ceil(((1 - user.getHpRatio()) * 10 - 10) * (target.getAttackTypeEffectiveness(move.type) - 0.5));
return -10;
return Math.ceil(((1 - user.getHpRatio()/2) * 10 - 10) * (target.getAttackTypeEffectiveness(move.type) - 0.5));
}
}