mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
- Added Sasaya, Orochi Ascendant
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -8979,6 +8979,7 @@ res/cardsfolder/s/sarcomite_myr.txt svneol=native#text/plain
|
||||
res/cardsfolder/s/sarkhan_the_mad.txt svneol=native#text/plain
|
||||
res/cardsfolder/s/sarkhan_vol.txt svneol=native#text/plain
|
||||
res/cardsfolder/s/sarpadian_empires_vol_vii.txt svneol=native#text/plain
|
||||
res/cardsfolder/s/sasaya_orochi_ascendant_sasayas_essence.txt -text
|
||||
res/cardsfolder/s/savaen_elves.txt -text
|
||||
res/cardsfolder/s/savage_beating.txt -text
|
||||
res/cardsfolder/s/savage_conception.txt svneol=native#text/plain
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
Name:Sasaya, Orochi Ascendant
|
||||
ManaCost:1 G G
|
||||
Types:Legendary Creature Snake Monk
|
||||
PT:2/3
|
||||
A:AB$ SetState | Cost$ Reveal<1/Hand> | Defined$ Self | Mode$ Flip | ConditionCheckSVar$ CheckHandLand | ConditionSVarCompare$ GE7 | SpellDescription$ If you have seven or more land cards in your hand, flip CARDNAME.
|
||||
SVar:CheckHandLand:Count$ValidHand Land.YouCtrl
|
||||
AlternateMode:Flip
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/sasaya_orochi_ascendant.jpg
|
||||
Oracle:Reveal your hand: If you have seven or more land cards in your hand, flip CARDNAME.
|
||||
|
||||
ALTERNATE
|
||||
|
||||
Name:Sasaya's Essence
|
||||
ManaCost:1 G G
|
||||
Colors:green
|
||||
Types:Legendary Enchantment
|
||||
T:Mode$ TapsForMana | ValidCard$ Land.YouCtrl | TriggerZones$ Battlefield | Execute$ TrigMana | Static$ True | TriggerDescription$ Whenever a land you control is tapped for mana, for each other land you control with the same name, add one mana to your mana pool of any type that land produced.
|
||||
SVar:TrigMana:AB$ Pump | Cost$ 0 | RememberObjects$ TriggeredCard | SubAbility$ DBRepeat
|
||||
SVar:DBRepeat:DB$ RepeatEach | UseImprinted$ True | RepeatCards$ Land.YouCtrl+IsNotRemembered+sharesNameWith Remembered | RepeatSubAbility$ DBManaReflect | SubAbility$ DBCleanup
|
||||
SVar:DBManaReflect:DB$ ManaReflected | ColorOrType$ Type | Valid$ Defined.Imprinted | ReflectProperty$ Produced | Defined$ You
|
||||
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
|
||||
SVar:RemAIDeck:True
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/sasayas_essence.jpg
|
||||
Oracle:Whenever a land you control is tapped for mana, for each other land you control with the same name, add one mana to your mana pool of any type that land produced.
|
||||
SetInfo:SOK Rare
|
||||
@@ -34,6 +34,7 @@ import forge.card.MagicColor;
|
||||
import forge.card.ability.AbilityUtils;
|
||||
import forge.card.ability.ApiType;
|
||||
import forge.card.spellability.AbilityManaPart;
|
||||
import forge.card.spellability.AbilitySub;
|
||||
import forge.card.spellability.SpellAbility;
|
||||
import forge.game.player.Player;
|
||||
import forge.game.zone.ZoneType;
|
||||
@@ -495,7 +496,7 @@ public final class CardUtil {
|
||||
}
|
||||
}
|
||||
} else if (reflectProperty.equals("Produced")) {
|
||||
final String producedColors = (String) abMana.getTriggeringObject("Produced");
|
||||
final String producedColors = abMana instanceof AbilitySub ? (String) abMana.getRootAbility().getTriggeringObject("Produced") : (String) abMana.getTriggeringObject("Produced");
|
||||
for (final String col : Constant.Color.ONLY_COLORS) {
|
||||
final String s = MagicColor.toShortString(col);
|
||||
if (producedColors.contains(s)) {
|
||||
|
||||
Reference in New Issue
Block a user