Remove latent test functionality

This commit is contained in:
Sirz Benjie 2025-06-17 11:42:01 -05:00
parent 8f34ca1d61
commit bc3970ebf8
No known key found for this signature in database
GPG Key ID: 38AC42D68CF5E138
2 changed files with 1 additions and 9 deletions

View File

@ -1942,8 +1942,6 @@ export interface AllyStatMultiplierAbAttrParams extends StatMultiplierAbAttrPara
/**
* Multiplies a Stat from an ally pokemon's ability.
* @see {@link applyAllyStatMultiplierAbAttrs}
* @see {@link applyAllyStat}
*/
export class AllyStatMultiplierAbAttr extends AbAttr {
private stat: BattleStat;

View File

@ -1,5 +1,5 @@
import type { AbAttrParamMap } from "#app/@types/ability-types";
import type { AbAttr, AbAttrBaseParams, AbAttrString, CallableAbAttrString } from "#app/@types/ability-types";
import type { AbAttrBaseParams, AbAttrString, CallableAbAttrString } from "#app/@types/ability-types";
import { globalScene } from "#app/global-scene";
function applySingleAbAttrs<T extends AbAttrString>(
@ -13,12 +13,6 @@ function applySingleAbAttrs<T extends AbAttrString>(
return;
}
const attr = 1 as unknown as AbAttr;
if (attr.is("BypassSpeedChanceAbAttr")) {
attr;
}
const ability = passive ? pokemon.getPassiveAbility() : pokemon.getAbility();
if (
gainedMidTurn &&