Skip to content

Commit

Permalink
fix stun spore ability (#1601)
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvainpolletvillard authored Mar 24, 2024
1 parent 51d96be commit 4e88546
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/core/abilities/abilities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3905,6 +3905,10 @@ export class StunSporeStrategy extends AbilityStrategy {
) {
super.process(pokemon, state, board, target, crit)
const damage = [5, 10, 20][pokemon.stars - 1] ?? 20

target.handleSpecialDamage(damage, board, AttackType.SPECIAL, pokemon, crit)
target.status.triggerParalysis(5000, target)

board
.getAdjacentCells(target.positionX, target.positionY)
.forEach((cell) => {
Expand Down

0 comments on commit 4e88546

Please sign in to comment.