mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
HumanPlaySpellAbility: announceValuesLikeX if needX is true, but Cost is zero, reset XManaCostPaid
This commit is contained in:
@@ -285,6 +285,8 @@ public class HumanPlaySpellAbility {
|
|||||||
}
|
}
|
||||||
card.setXManaCostPaid(value);
|
card.setXManaCostPaid(value);
|
||||||
}
|
}
|
||||||
|
} else if (needX && manaCost != null && manaCost.getMana().isZero()) {
|
||||||
|
card.setXManaCostPaid(0);
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user