mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
- FRF: Added Soulfire Grand Master
This commit is contained in:
@@ -544,11 +544,13 @@ public class MagicStack /* extends MyObservable */ implements Iterable<SpellAbil
|
|||||||
private final void removeCardFromStack(final SpellAbility sa, final boolean fizzle) {
|
private final void removeCardFromStack(final SpellAbility sa, final boolean fizzle) {
|
||||||
Card source = sa.getHostCard();
|
Card source = sa.getHostCard();
|
||||||
|
|
||||||
if (sa.getHostCard().isCopiedSpell() || sa.isAbility()) {
|
if (source.isCopiedSpell() || sa.isAbility()) {
|
||||||
// do nothing
|
// do nothing
|
||||||
}
|
}
|
||||||
else if (sa.isBuyBackAbility() && !fizzle) {
|
else if ((source.hasKeyword("Move CARDNAME to your hand as it resolves") || sa.isBuyBackAbility()) && !fizzle) {
|
||||||
// Handle cards that need to be moved differently
|
// Handle cards that need to be moved differently
|
||||||
|
// TODO: replacement effects: Rebound, Buyback and Soulfire Grand Master
|
||||||
|
source.removeAllExtrinsicKeyword("Move CARDNAME to your hand as it resolves");
|
||||||
game.getAction().moveToHand(source);
|
game.getAction().moveToHand(source);
|
||||||
}
|
}
|
||||||
else if (sa.isFlashBackAbility()) {
|
else if (sa.isFlashBackAbility()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user