[Balance] Protean / Libero changed to Gen 6-8 Implementation (#2473)

* Protean / Libero changed to Gen 6-8 Implementation

* take 2

* please just work

* Update protean.test.ts

* Update libero.test.ts
This commit is contained in:
damocleas 2024-06-24 21:58:50 -04:00 committed by GitHub
parent 3d43b50c35
commit ec91d2453a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 6 deletions

View File

@ -4591,8 +4591,8 @@ export function initAbilities() {
.attr(HealFromBerryUseAbAttr, 1/3) .attr(HealFromBerryUseAbAttr, 1/3)
.partial(), // Healing not blocked by Heal Block .partial(), // Healing not blocked by Heal Block
new Ability(Abilities.PROTEAN, 6) new Ability(Abilities.PROTEAN, 6)
.attr(PokemonTypeChangeAbAttr) .attr(PokemonTypeChangeAbAttr),
.condition((p) => !p.summonData?.abilitiesApplied.includes(Abilities.PROTEAN)), //.condition((p) => !p.summonData?.abilitiesApplied.includes(Abilities.PROTEAN)), //Gen 9 Implementation
new Ability(Abilities.FUR_COAT, 6) new Ability(Abilities.FUR_COAT, 6)
.attr(ReceivedMoveDamageMultiplierAbAttr, (target, user, move) => move.category === MoveCategory.PHYSICAL, 0.5) .attr(ReceivedMoveDamageMultiplierAbAttr, (target, user, move) => move.category === MoveCategory.PHYSICAL, 0.5)
.ignorable(), .ignorable(),
@ -4835,8 +4835,8 @@ export function initAbilities() {
.attr(PostSummonStatChangeAbAttr, BattleStat.DEF, 1, true) .attr(PostSummonStatChangeAbAttr, BattleStat.DEF, 1, true)
.condition(getOncePerBattleCondition(Abilities.DAUNTLESS_SHIELD)), .condition(getOncePerBattleCondition(Abilities.DAUNTLESS_SHIELD)),
new Ability(Abilities.LIBERO, 8) new Ability(Abilities.LIBERO, 8)
.attr(PokemonTypeChangeAbAttr) .attr(PokemonTypeChangeAbAttr),
.condition((p) => !p.summonData?.abilitiesApplied.includes(Abilities.LIBERO)), //.condition((p) => !p.summonData?.abilitiesApplied.includes(Abilities.LIBERO)), //Gen 9 Implementation
new Ability(Abilities.BALL_FETCH, 8) new Ability(Abilities.BALL_FETCH, 8)
.attr(FetchBallAbAttr) .attr(FetchBallAbAttr)
.condition(getOncePerBattleCondition(Abilities.BALL_FETCH)), .condition(getOncePerBattleCondition(Abilities.BALL_FETCH)),

View File

@ -57,7 +57,7 @@ describe("Abilities - Protean", () => {
TIMEOUT, TIMEOUT,
); );
test( test.skip(
"ability applies only once per switch in", "ability applies only once per switch in",
async () => { async () => {
vi.spyOn(Overrides, "MOVESET_OVERRIDE", "get").mockReturnValue([Moves.SPLASH, Moves.AGILITY]); vi.spyOn(Overrides, "MOVESET_OVERRIDE", "get").mockReturnValue([Moves.SPLASH, Moves.AGILITY]);

View File

@ -57,7 +57,7 @@ describe("Abilities - Protean", () => {
TIMEOUT, TIMEOUT,
); );
test( test.skip(
"ability applies only once per switch in", "ability applies only once per switch in",
async () => { async () => {
vi.spyOn(Overrides, "MOVESET_OVERRIDE", "get").mockReturnValue([Moves.SPLASH, Moves.AGILITY]); vi.spyOn(Overrides, "MOVESET_OVERRIDE", "get").mockReturnValue([Moves.SPLASH, Moves.AGILITY]);