Skip to content

Implement Forretress Enormous Explosion attack (B2b 046, B2b 104)#206

Open
bcollazo wants to merge 3 commits intomainfrom
claude/implement-forretress-skill-lIRRY
Open

Implement Forretress Enormous Explosion attack (B2b 046, B2b 104)#206
bcollazo wants to merge 3 commits intomainfrom
claude/implement-forretress-skill-lIRRY

Conversation

@bcollazo
Copy link
Copy Markdown
Owner

Adds new SelfAndBothBenchDamage mechanic for attacks that deal damage
to the opponent's active, self-damage, and splash damage to all Benched
Pokémon on both sides (e.g. Enormous Explosion: 100 to opponent active,
100 to self, 50 to all bench).

https://claude.ai/code/session_01RAhiydFgn4uTrNgCKE8PZL

claude added 3 commits March 27, 2026 02:59
Adds new SelfAndBothBenchDamage mechanic for attacks that deal damage
to the opponent's active, self-damage, and splash damage to all Benched
Pokémon on both sides (e.g. Enormous Explosion: 100 to opponent active,
100 to self, 50 to all bench).

https://claude.ai/code/session_01RAhiydFgn4uTrNgCKE8PZL
Replace direct apply_damage() calls in the effect callback with a new
full_targets_damage_doutcome() helper that accepts (damage, player, in_play_idx)
triples, allowing self-damage and own-bench damage to go through
handle_damage_only/handle_knockouts like all other attack damage.

https://claude.ai/code/session_01RAhiydFgn4uTrNgCKE8PZL
Extract apply_full_targets() as the single shared core that handles
attack name resolution, handle_damage_only, additional effects, and
handle_knockouts. damage_effect_mutation now converts its implicit-
opponent (damage, idx) targets to full triples and delegates, while
full_targets_damage_mutation delegates directly — no duplicated logic.

https://claude.ai/code/session_01RAhiydFgn4uTrNgCKE8PZL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants