mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-05-09 04:23:45 -05:00
Randbats update
- Prevent Pluck + Acrobatics - Make sure setups have more than 1 attacking move
This commit is contained in:
parent
0302e93226
commit
557a2ce8c8
|
|
@ -680,17 +680,17 @@ exports.BattleScripts = {
|
|||
// we only need to set up once
|
||||
|
||||
case 'swordsdance': case 'dragondance': case 'coil': case 'curse': case 'bulkup': case 'bellydrum':
|
||||
if (!counter['Physical'] && !hasMove['batonpass']) rejected = true;
|
||||
if (counter.Physical < 2 && !hasMove['batonpass']) rejected = true;
|
||||
if (setupType !== 'Physical' || counter['physicalsetup'] > 1) rejected = true;
|
||||
isSetup = true;
|
||||
break;
|
||||
case 'nastyplot': case 'tailglow': case 'quiverdance': case 'calmmind':
|
||||
if (!counter['Special'] && !hasMove['batonpass']) rejected = true;
|
||||
if (counter.Special < 2 && !hasMove['batonpass']) rejected = true;
|
||||
if (setupType !== 'Special' || counter['specialsetup'] > 1) rejected = true;
|
||||
isSetup = true;
|
||||
break;
|
||||
case 'shellsmash': case 'growth': case 'workup':
|
||||
if (!counter['Special'] && !counter['Physical'] && !hasMove['batonpass']) rejected = true;
|
||||
if (counter.Physical+counter.Special < 2 && !hasMove['batonpass']) rejected = true;
|
||||
if (setupType !== 'Mixed' || counter['mixedsetup'] > 1) rejected = true;
|
||||
isSetup = true;
|
||||
break;
|
||||
|
|
@ -727,8 +727,8 @@ exports.BattleScripts = {
|
|||
case 'airslash':
|
||||
if (hasMove['hurricane']) rejected = true;
|
||||
break;
|
||||
case 'acrobatics':
|
||||
if (hasMove['bravebird']) rejected = true;
|
||||
case 'bravebird': case 'pluck':
|
||||
if (hasMove['acrobatics']) rejected = true;
|
||||
break;
|
||||
case 'energyball': case 'grassknot': case 'petaldance': case 'solarbeam':
|
||||
if (hasMove['gigadrain']) rejected = true;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user