forked from External/mage
[FIC] Implement G'raha Tia, Scion Reborn, rework DoIfCostPaid and "do only once" effects (#13660)
* rework effects with DoIfCostPaid and "do this only once each turn" * [FIC] Implement G'raha Tia, Scion Reborn * [FIC] Implement Emet Selch of the Third Seat * rework Emet-Selch * add test * add static methods to handle whether ability was used this turn
This commit is contained in:
parent
2bbc2cba00
commit
9e2a1a59e0
11 changed files with 361 additions and 50 deletions
|
|
@ -1710,6 +1710,8 @@ public final class CardUtil {
|
|||
player.setCastSourceIdWithAlternateMana(card.getMainCard().getId(), manaCost, additionalCostsNormalCard, MageIdentifier.Default);
|
||||
}
|
||||
|
||||
game.getState().setValue("PlayFromNotOwnHandZone" + card.getMainCard().getId(), Boolean.TRUE);
|
||||
|
||||
// cast it
|
||||
boolean result = player.cast(player.chooseAbilityForCast(card.getMainCard(), game, noMana),
|
||||
game, noMana, new ApprovingObject(source, game));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue