Random Battle: Prevent Choice items with Body Slam

CB Dunsparce is bad. Even Jirachi doesn’t want Choice with Body Slam.
This commit is contained in:
The Immortal 2015-06-21 15:56:55 +04:00
parent dbe141abea
commit 50c7b574e0

View File

@ -1750,7 +1750,7 @@ exports.BattleScripts = {
// Medium priority
} else if (ability === 'Guts') {
item = hasMove['drainpunch'] ? 'Flame Orb' : 'Toxic Orb';
} else if (counter.Physical >= 4 && ability !== 'Speed Boost' && !hasMove['fakeout'] && !hasMove['flamecharge'] && !hasMove['rapidspin'] && !hasMove['suckerpunch']) {
} else if (counter.Physical >= 4 && ability !== 'Speed Boost' && !hasMove['bodyslam'] && !hasMove['fakeout'] && !hasMove['flamecharge'] && !hasMove['rapidspin'] && !hasMove['suckerpunch']) {
item = template.baseStats.spe > 82 && template.baseStats.spe < 109 && !counter['priority'] && this.random(3) ? 'Choice Scarf' : 'Choice Band';
} else if (counter.Special >= 4 && ability !== 'Speed Boost' && !hasMove['acidspray'] && !hasMove['chargebeam'] && !hasMove['fierydance']) {
item = template.baseStats.spe > 82 && template.baseStats.spe < 109 && !counter['priority'] && this.random(3) ? 'Choice Scarf' : 'Choice Specs';