Skip to content

Conversation

@bloyot
Copy link

@bloyot bloyot commented Feb 7, 2023

Hello! I saw some cards that were currently not implemented and wanted to contribute if possible.

This PR is an implementation for Malice, based on the pattern used by some other force mod abilities (d-vader/boy-vader) and other crit dealing abilities (Kylo, Maarek etc). I wasn't aware of another ability that has you checking whether or not you spent a force when dealing a crit, so I chose to store that as a local variable, update it when the force is spent, and then reset it at the end of the attack (L34, L61, L92), but if there's a better approach I would be happy to use that.

I've tested this locally in hotseat games and seems to work as best as I can tell, but I'm not sure if there's any more comprehensive way to test things.

If there's another branch or some other way you'd like me to make this PR let me know!

Implemented Malice
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.

1 participant