mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-06-20 16:42:45 +02:00
Remove latent test functionality
This commit is contained in:
parent
8f34ca1d61
commit
bc3970ebf8
@ -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;
|
||||
|
@ -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 &&
|
||||
|
Loading…
Reference in New Issue
Block a user