Skip to content

[codex] Implement Houndstone and Klefki effects#247

Merged
bcollazo merged 1 commit intobcollazo:mainfrom
RogerAngell99:codex/implement-houndstone-klefki
Apr 29, 2026
Merged

[codex] Implement Houndstone and Klefki effects#247
bcollazo merged 1 commit intobcollazo:mainfrom
RogerAngell99:codex/implement-houndstone-klefki

Conversation

@RogerAngell99
Copy link
Copy Markdown

Summary

  • implement Houndstone [B2a 053] Last Respects as 50 + 20 damage per Psychic Pokemon in the attacker's discard pile
  • implement Klefki [B1 120]/[B1 330] Dismantling Keys through the AbilityMechanic flow
  • add focused Pokemon integration tests for base damage, discard filtering, ability availability, tool discard, and Giant Cape KO handling

Validation

  • cargo test --features test-utils --test pokemon houndstone_last_respects
  • cargo test --features test-utils --test pokemon klefki_dismantling_keys
  • cargo clippy --lib --features test-utils -- -D warnings
  • cargo run --bin card_status -- --incomplete-only | Select-String -Pattern "Houndstone|Klefki|B2a 053|B1 120|B1 330"

Note: targeted Pokemon tests still print existing unused_mut warnings from unrelated legacy tests.

@RogerAngell99 RogerAngell99 marked this pull request as ready for review April 28, 2026 23:16
Add Last Respects support for Houndstone by scaling attack damage from Psychic Pokemon in the attacker's discard pile.

Add Dismantling Keys support for Klefki, including move generation limits, tool discard, knockout handling from lost HP tools, and focused Pokemon tests.
@RogerAngell99 RogerAngell99 force-pushed the codex/implement-houndstone-klefki branch from 30cfb86 to cf16c3c Compare April 29, 2026 00:24
Copy link
Copy Markdown
Owner

@bcollazo bcollazo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Boom! Awesome stuff!

Thank you for taking a stab at this. And thanks for the great tests, particularly fond of the Klefi into Giant Cape KO one. Thanks! 🙌💯🚀🔥

@bcollazo bcollazo merged commit 5ed4cd8 into bcollazo:main Apr 29, 2026
2 checks passed
@bcollazo
Copy link
Copy Markdown
Owner

How did you hear about the project? Are you on our Discord? You should join!

Great contribution this one. 💪💪

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.

3 participants