mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
- Added Azor's Gateway
This commit is contained in:
@@ -1662,6 +1662,14 @@ public class CardFactoryUtil {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (string.startsWith("DifferentCMC")) {
|
||||||
|
final Set<Integer> diffCMC = new HashSet<>();
|
||||||
|
for (final Card card : paidList) {
|
||||||
|
diffCMC.add(card.getCMC());
|
||||||
|
}System.out.println(diffCMC);
|
||||||
|
return diffCMC.size();
|
||||||
|
}
|
||||||
|
|
||||||
if (string.startsWith("SumCMC")) {
|
if (string.startsWith("SumCMC")) {
|
||||||
int sumCMC = 0;
|
int sumCMC = 0;
|
||||||
for(Card c : paidList) {
|
for(Card c : paidList) {
|
||||||
|
|||||||
@@ -0,0 +1,27 @@
|
|||||||
|
Name:Azor's Gateway
|
||||||
|
ManaCost:2
|
||||||
|
Types:Legendary Artifact
|
||||||
|
A:AB$ Draw | Cost$ 1 T | NumCards$ 1 | SubAbility$ DBExile | SpellDescription$ Draw a card, then exile a card from your hand. If cards with five or more different converted mana costs are exiled with CARDNAME, you gain 5 life, untap CARDNAME, and transform it.
|
||||||
|
SVar:DBExile:DB$ ChangeZone | Origin$ Hand | Destination$ Exile | ChangeType$ Card | ChangeNum$ 1 | Mandatory$ True | RememberChanged$ True | SubAbility$ DBGainLife
|
||||||
|
SVar:DBGainLife:DB$ GainLife | LifeAmount$ 5 | SubAbility$ DBUntap | ConditionCheckSVar$ Y | ConditionSVarCompare$ GE5 | References$ Y
|
||||||
|
SVar:DBUntap:DB$ Untap | Defined$ Self | SubAbility$ DBTransform | ConditionCheckSVar$ Y | ConditionSVarCompare$ GE5 | References$ Y
|
||||||
|
SVar:DBTransform:DB$ SetState | Defined$ Self | Mode$ Transform | ConditionCheckSVar$ Y | ConditionSVarCompare$ GE5 | References$ Y
|
||||||
|
T:Mode$ ChangesZone | Origin$ Exile | Destination$ Any | Static$ True | ValidCard$ Card.IsRemembered+ExiledWithSource | Execute$ DBForget
|
||||||
|
SVar:DBForget:DB$ Pump | ForgetObjects$ TriggeredCard
|
||||||
|
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | Static$ True | ValidCard$ Card.Self | Execute$ DBCleanup
|
||||||
|
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
|
||||||
|
SVar:Y:Remembered$DifferentCMC
|
||||||
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/azors_gateway.jpg
|
||||||
|
AlternateMode:DoubleFaced
|
||||||
|
Oracle:{1}, {T}: Draw a card, then exile a card from your hand. If cards with five or more different converted mana costs are exiled with Azor's Gateway, you gain 5 life, untap Azor's Gateway, and transform it.
|
||||||
|
|
||||||
|
ALTERNATE
|
||||||
|
|
||||||
|
Name:Sanctum of the Sun
|
||||||
|
ManaCost:no cost
|
||||||
|
Colors:colorless
|
||||||
|
Types:Land
|
||||||
|
A:AB$ Mana | Cost$ T | Produced$ Any | Amount$ X | References$ X | SpellDescription$ Add X mana of any one color to your mana pool, where X is your life total.
|
||||||
|
SVar:X:Count$YourLifeTotal
|
||||||
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/sanctum_of_the_sun.jpg
|
||||||
|
Oracle:(Transforms from Azor's Gateway.)\n{T}: Add X mana of any one color to your mana pool, where X is your life total.
|
||||||
Reference in New Issue
Block a user