mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-06-21 09:02:47 +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.
|
* Multiplies a Stat from an ally pokemon's ability.
|
||||||
* @see {@link applyAllyStatMultiplierAbAttrs}
|
|
||||||
* @see {@link applyAllyStat}
|
|
||||||
*/
|
*/
|
||||||
export class AllyStatMultiplierAbAttr extends AbAttr {
|
export class AllyStatMultiplierAbAttr extends AbAttr {
|
||||||
private stat: BattleStat;
|
private stat: BattleStat;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import type { AbAttrParamMap } from "#app/@types/ability-types";
|
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";
|
import { globalScene } from "#app/global-scene";
|
||||||
|
|
||||||
function applySingleAbAttrs<T extends AbAttrString>(
|
function applySingleAbAttrs<T extends AbAttrString>(
|
||||||
@ -13,12 +13,6 @@ function applySingleAbAttrs<T extends AbAttrString>(
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const attr = 1 as unknown as AbAttr;
|
|
||||||
|
|
||||||
if (attr.is("BypassSpeedChanceAbAttr")) {
|
|
||||||
attr;
|
|
||||||
}
|
|
||||||
|
|
||||||
const ability = passive ? pokemon.getPassiveAbility() : pokemon.getAbility();
|
const ability = passive ? pokemon.getPassiveAbility() : pokemon.getAbility();
|
||||||
if (
|
if (
|
||||||
gainedMidTurn &&
|
gainedMidTurn &&
|
||||||
|
Loading…
Reference in New Issue
Block a user