mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 02:08:00 +00:00
more fixes
This commit is contained in:
@@ -2849,6 +2849,12 @@ public class AbilityUtils {
|
|||||||
return doXMath(CardUtil.getColorsFromCards(list).countColors(), expr, c, ctb);
|
return doXMath(CardUtil.getColorsFromCards(list).countColors(), expr, c, ctb);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (sq[0].startsWith("ColorsDefined")) {
|
||||||
|
final String restriction = l[0].substring(14);
|
||||||
|
final CardCollection list = getDefinedCards(c, restriction, ctb);
|
||||||
|
return doXMath(CardUtil.getColorsFromCards(list).countColors(), expr, c, ctb);
|
||||||
|
}
|
||||||
|
|
||||||
// TODO move below to handlePaid
|
// TODO move below to handlePaid
|
||||||
if (sq[0].startsWith("SumPower")) {
|
if (sq[0].startsWith("SumPower")) {
|
||||||
final String[] restrictions = l[0].split("_");
|
final String[] restrictions = l[0].split("_");
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
Name:Altar of the Wretched
|
Name:Altar of the Wretched
|
||||||
ManaCost:2 B
|
ManaCost:2 B
|
||||||
Types:Artifact
|
Types:Artifact
|
||||||
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDraw | TriggerDescription$ When CARDNAME enters the battlefield, you may sacrifice a nontoken creature. If you do, draw X cards, then mill X cards, where X is that creature's power.
|
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDraw | TriggerDescription$ When CARDNAME enters the battlefield, you may sacrifice a nontoken creature. If you do, draw X cards, then mill X cards, where X is that creature's power.
|
||||||
SVar:TrigDraw:AB$ Draw | Cost$ Sac<1/Creature.nonToken/nontoken creature> | NumCards$ Y | SubAbility$ DBMill
|
SVar:TrigDraw:AB$ Draw | Cost$ Sac<1/Creature.nonToken/nontoken creature> | NumCards$ Y | SubAbility$ DBMill
|
||||||
SVar:DBMill:DB$ Mill | NumCards$ Y
|
SVar:DBMill:DB$ Mill | NumCards$ Y
|
||||||
SVar:Y:Sacrificed$CardPower
|
SVar:Y:Sacrificed$CardPower
|
||||||
|
|||||||
@@ -15,5 +15,5 @@ Name:Master's Manufactory
|
|||||||
ManaCost:no cost
|
ManaCost:no cost
|
||||||
Colors:white,blue
|
Colors:white,blue
|
||||||
Types:Artifact
|
Types:Artifact
|
||||||
A:AB$ Token | Cost$ T | TokenScript$ wu_4_4_a_golem | CheckSVar$ Count$ThisTurnEntered_Battlefield_Artifact.YouCtrl | SpellDescription$ Create a 4/4 white and blue Golem artifact creature token. Activate only if CARDNAME or another artifact entered the battlefield under your control this turn.
|
A:AB$ Token | Cost$ T | TokenScript$ wu_4_4_a_golem | CheckSVar$ Count$ThisTurnEntered_Battlefield_Card.Self+YouCtrl,Artifact.YouCtrl+Other | SpellDescription$ Create a 4/4 white and blue Golem artifact creature token. Activate only if CARDNAME or another artifact entered the battlefield under your control this turn.
|
||||||
Oracle:{T}: Create a 4/4 white and blue Golem artifact creature token. Activate only if Master's Manufactory or another artifact entered the battlefield under your control this turn.
|
Oracle:{T}: Create a 4/4 white and blue Golem artifact creature token. Activate only if Master's Manufactory or another artifact entered the battlefield under your control this turn.
|
||||||
|
|||||||
@@ -20,6 +20,6 @@ K:Flying
|
|||||||
K:Vigilance
|
K:Vigilance
|
||||||
K:Haste
|
K:Haste
|
||||||
S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of colors among the exiled cards used to craft it.
|
S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of colors among the exiled cards used to craft it.
|
||||||
SVar:X:ExiledWith$CardNumColors
|
SVar:X:Count$ColorsDefined ExiledWith
|
||||||
A:AB$ Mana | Cost$ T | Produced$ Special EachColorAmongDefined_ExiledWith | SpellDescription$ For each color among the exiled cards used to craft CARDNAME, add one mana of that color.
|
A:AB$ Mana | Cost$ T | Produced$ Special EachColorAmongDefined_ExiledWith | SpellDescription$ For each color among the exiled cards used to craft CARDNAME, add one mana of that color.
|
||||||
Oracle:Flying, vigilance, haste\nSunbird Effigy's power and toughness are each equal to the number of colors among the exiled cards used to craft it.\n{T}: For each color among the exiled cards used to craft Sunbird Effigy, add one mana of that color.
|
Oracle:Flying, vigilance, haste\nSunbird Effigy's power and toughness are each equal to the number of colors among the exiled cards used to craft it.\n{T}: For each color among the exiled cards used to craft Sunbird Effigy, add one mana of that color.
|
||||||
|
|||||||
Reference in New Issue
Block a user