Skip to content

[FIC] Implement Fandaniel, Telophoroi Ascian #13631

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

balazskristof
Copy link
Contributor

@balazskristof balazskristof commented May 15, 2025

@github-actions github-actions bot added the cards label May 15, 2025
public boolean apply(Game game, Ability source) {
int damage = 2 * amount.calculate(game, source, this);
if (damage <= 0) {
return true;
Copy link
Contributor

Choose a reason for hiding this comment

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

this needs to give opponents the option of sacrificing even if they wouldn't take damage

if (!cost.canPay(source, source, opponentId, game)
|| !opponent.chooseUse(Outcome.Detriment, "Sacrifice a nontoken creature to avoid " + damage + " damage?", source, game)
|| !cost.pay(source, game, source, opponentId, false)) {
opponent.loseLife(damage, game, source, false);
Copy link
Contributor

Choose a reason for hiding this comment

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

You need to have each player choose their sacrifice, then they do the sacrifice after choosing, then do the damage. Check out how SacrificeAllEffect is written

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants