mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
- Fixed ExiledMoveToGrave cost for optional triggers.
- Fixed script of Ulamog's Reclaimer.
This commit is contained in:
@@ -4,7 +4,6 @@ Types:Creature Eldrazi Processor
|
|||||||
PT:2/5
|
PT:2/5
|
||||||
K:Devoid
|
K:Devoid
|
||||||
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigChangeZone | OptionalDecider$ You | TriggerDescription$ When CARDNAME enters the battlefield, you may put a card an opponent owns from exile into that player's graveyard. If you do, return target instant or sorcery card from your graveyard to your hand.
|
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigChangeZone | OptionalDecider$ You | TriggerDescription$ When CARDNAME enters the battlefield, you may put a card an opponent owns from exile into that player's graveyard. If you do, return target instant or sorcery card from your graveyard to your hand.
|
||||||
SVar:TrigChangeZone:AB$ ChangeZone | Cost$ 0 | Origin$ Exile | Destination$ Graveyard | ValidTgts$ Card.OppOwn | SubAbility$ DBChangeZone
|
SVar:TrigChangeZone:AB$ ChangeZone | Cost$ ExiledMoveToGrave<1/Card.OppOwn/card an opponent owns> | ValidTgts$ Instant.YouOwn,Sorcery.YouOwn | TgtPrompt$ Select target instant or sorcery | Origin$ Graveyard | Destination$ Hand
|
||||||
SVar:DBChangeZone:DB$ ChangeZone | ValidTgts$ Instant.YouOwn,Sorcery.YouOwn | TgtPrompt$ Select target instant or sorcery | Origin$ Graveyard | Destination$ Hand
|
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/ulamogs_reclaimer.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/ulamogs_reclaimer.jpg
|
||||||
Oracle:Devoid (This card has no color.)\nWhen Ulamog's Reclaimer enters the battlefield, you may put a card an opponent owns from exile into that player's graveyard. If you do, return target instant or sorcery card from your graveyard to your hand.
|
Oracle:Devoid (This card has no color.)\nWhen Ulamog's Reclaimer enters the battlefield, you may put a card an opponent owns from exile into that player's graveyard. If you do, return target instant or sorcery card from your graveyard to your hand.
|
||||||
|
|||||||
@@ -453,7 +453,15 @@ public class HumanCostDecision extends CostDecisionMakerBase {
|
|||||||
if (list.size() < c) {
|
if (list.size() < c) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
final CardCollection choice = controller.getGame().getCardList(controller.getGui().many("Choose an exiled card to put into graveyard", "To graveyard", c, CardView.getCollection(list), CardView.get(source)));
|
Integer min = c;
|
||||||
|
if (ability.isOptionalTrigger()) {
|
||||||
|
min = 0;
|
||||||
|
}
|
||||||
|
final CardCollection choice = controller.getGame().getCardList(controller.getGui().many("Choose an exiled card to put into graveyard", "To graveyard", min, c, CardView.getCollection(list), CardView.get(source)));
|
||||||
|
|
||||||
|
if (choice == null || choice.size() < c) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
return PaymentDecision.card(choice);
|
return PaymentDecision.card(choice);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user