-
Notifications
You must be signed in to change notification settings - Fork 782
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DSK] Implement Kaito, Bane of Nightmares #13187
Conversation
Part of #12534 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a couple nits but looks fine otherwise
} | ||
} | ||
|
||
enum NumberOfOpponentsWhoLostLife implements DynamicValue { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rename to KaitoBaneOfNightmaresCount - we don't use generic class names if they're specific to a single card like this
return this.calculate(game, sourceAbility.getControllerId()); | ||
} | ||
|
||
public int calculate(Game game, UUID controllerId) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't bother with this extra sub method, it's not standard style. Put the logic directly in the overridden method, it's okay that it doesn't use all its params
Thanks for the review. I made the changes as requested. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for the contribution
This PR implements Kaito, Bane of Nightmares