Skip to content

Commit

Permalink
Use cardTypefilter
Browse files Browse the repository at this point in the history
  • Loading branch information
adbronico committed Jan 16, 2025
1 parent d7a04dd commit 3c8bc97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/game/cards/01_SOR/events/Cunning.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default class Cunning extends EventCard {
innerSystem: AbilityHelper.immediateEffects.returnToHand()
}),
['Give a unit +4/+0 for this phase']: AbilityHelper.immediateEffects.selectCard({
cardCondition: (card) => card.isUnit(),
cardTypeFilter: WildcardCardType.Unit,
innerSystem: AbilityHelper.immediateEffects.forThisPhaseCardEffect({
effect: AbilityHelper.ongoingEffects.modifyStats({ power: 4, hp: 0 })
})
Expand Down

0 comments on commit 3c8bc97

Please sign in to comment.