Implement Supersweet Syrup ability

Uses the new once per battle condition.
pull/381/merge
Madmadness65 2024-05-06 23:47:20 -05:00
parent 36cde21ce3
commit fd0f21943e
1 changed files with 2 additions and 1 deletions

View File

@ -3608,7 +3608,8 @@ export function initAbilities() {
.attr(IgnoreTypeImmunityAbAttr, Type.GHOST, [Type.NORMAL, Type.FIGHTING])
.ignorable(), // TODO: evasiveness bypass should not be ignored, but accuracy immunity should
new Ability(Abilities.SUPERSWEET_SYRUP, 9)
.unimplemented(),
.attr(PostSummonStatChangeAbAttr, BattleStat.EVA, -1)
.condition(getOncePerBattleCondition(Abilities.SUPERSWEET_SYRUP)),
new Ability(Abilities.HOSPITALITY, 9)
.attr(PostSummonAllyHealAbAttr, 4, true),
new Ability(Abilities.TOXIC_CHAIN, 9)