mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-04-24 06:49:11 -05:00
Random Battle: Improve Sub/Reversal (#3193)
This commit is contained in:
parent
99283f5988
commit
8f9f7d2d1f
|
|
@ -2275,6 +2275,9 @@ exports.BattleScripts = {
|
|||
} else if (hasMove['bellydrum'] && item === 'Sitrus Berry') {
|
||||
// Belly Drum should activate Sitrus Berry
|
||||
if (hp % 2 > 0) evs.hp -= 4;
|
||||
} else if (hasMove['substitute'] && hasMove['reversal']) {
|
||||
// Reversal users should be able to use four Substitutes
|
||||
if (hp % 4 === 0) evs.hp -= 4;
|
||||
} else {
|
||||
// Maximize number of Stealth Rock switch-ins
|
||||
if (this.getEffectiveness('Rock', template) === 1) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user