You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some multi-steps effects must move card to another zone and apply another color depended effect. It must check color of the actual card (e.g. card's color in destination zone):
+1: Exile the top card of your library. If it's red, you may cast it this turn.
So effect must call game.processAction() to apply color/ability changing effects like [[Celestial Dawn]] with:
Nonland cards you own that aren't on the battlefield, spells you control, and nonland permanents you control are white.
Code search example: card.getColor(game).is
Potentially buggy cards:
+1 ability from [[Chandra, Dressed to Kill]];
+1 ability from [[Chandra Ablaze]];
[[Specter's Shriek]];
-3 ability from [[Tamiyo, Seasoned Scholar]]
[[Stormscale Anarch]] -- it's a different use case cause have discard cost;
maybe other cards under object.getColor(game).is or .getColor(game).is usage (need research to find cards, not permanents);
The text was updated successfully, but these errors were encountered:
{1}{W}{W}
Enchantment
Lands you control are Plains.
Nonland permanents you control are white. The same is true for spells you control and nonland cards you own that aren't on the battlefield.
You may spend white mana as though it were mana of any color. You may spend other mana only as though it were colorless mana.
{1}{R}{R}
Legendary Planeswalker — Chandra
3
+1: Add {R}. Chandra, Dressed to Kill deals 1 damage to up to one target player or planeswalker.
+1: Exile the top card of your library. If it's red, you may cast it this turn.
−7: Exile the top five cards of your library. You may cast red spells from among them this turn. You get an emblem with "Whenever you cast a red spell, this emblem deals X damage to any target, where X is the amount of mana spent to cast that spell."
{4}{R}{R}
Legendary Planeswalker — Chandra
5
+1: Discard a card. If a red card is discarded this way, Chandra Ablaze deals 4 damage to any target.
−2: Each player discards their hand, then draws three cards.
−7: Cast any number of red instant and/or sorcery cards from your graveyard without paying their mana costs.
{B}
Sorcery
Target opponent reveals their hand. You may choose a nonland card from it. If you do, that player exiles that card. If a nonblack card is exiled this way, exile a card from your hand.
{U}
Legendary Creature — Moonfolk Wizard
0/3
Flying
Whenever Tamiyo, Inquisitive Student attacks, investigate. (Create a Clue token. It's an artifact with "{2}, Sacrifice this artifact: Draw a card.")
When you draw your third card in a turn, exile Tamiyo, then return her to the battlefield transformed under her owner's control.
🔄
Legendary Planeswalker — Tamiyo
2
+2: Until your next turn, whenever a creature attacks you or a planeswalker you control, it gets -1/-0 until end of turn.
−3: Return target instant or sorcery card from your graveyard to your hand. If it's a green card, add one mana of any color.
−7: Draw cards equal to half the number of cards in your library, rounded up. You get an emblem with "You have no maximum hand size."
{2}{R}{R}
Creature — Viashino Shaman
2/2
{2}{R}, Discard a card at random: Stormscale Anarch deals 2 damage to any target. If the discarded card was multicolored, Stormscale Anarch deals 4 damage instead.
From 8002cdf
Some multi-steps effects must move card to another zone and apply another color depended effect. It must check color of the actual card (e.g. card's color in destination zone):
So effect must call
game.processAction()
to apply color/ability changing effects like [[Celestial Dawn]] with:Code search example:
![shot_240523_070325](https://private-user-images.githubusercontent.com/8344157/333019360-1dde7b43-ed76-474c-8b6c-401dd85edace.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg5MzY1NjcsIm5iZiI6MTcxODkzNjI2NywicGF0aCI6Ii84MzQ0MTU3LzMzMzAxOTM2MC0xZGRlN2I0My1lZDc2LTQ3NGMtOGI2Yy00MDFkZDg1ZWRhY2UucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYyMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MjFUMDIxNzQ3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YmQxZmJmMDg2ZjU3NzYyNDU5YWEyNjhhNGFjNGMzZjZmMmViMjhmMDM2NzQyZmY2ZDFkOTRlNTFkYjk0ZGNmNiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.rMV3uZWSog84NB8FHMeK-R1Ri_XFcqq1PXzQ-XZ73oc)
card.getColor(game).is
Potentially buggy cards:
object.getColor(game).is
or.getColor(game).is
usage (need research to find cards, not permanents);The text was updated successfully, but these errors were encountered: