- Fixed Sage of Ancient Lore

This commit is contained in:
swordshine
2018-04-05 21:28:15 +08:00
parent 571e69bb16
commit d61aeb09c0
2 changed files with 20 additions and 20 deletions

View File

@@ -1422,41 +1422,41 @@ public class CardFactoryUtil {
} }
if (sq[0].contains("OppCtrl")) { if (sq[0].contains("OppCtrl")) {
for (final Player p : opps) { for (final Player p : opps) {
someCards.addAll(p.getZone(ZoneType.Battlefield).getCards()); someCards.addAll(p.getZone(ZoneType.Battlefield).getCards());
} }
} }
if (sq[0].contains("InOppYard")) { if (sq[0].contains("InOppYard")) {
for (final Player p : opps) { for (final Player p : opps) {
someCards.addAll(p.getCardsIn(ZoneType.Graveyard)); someCards.addAll(p.getCardsIn(ZoneType.Graveyard));
} }
} }
if (sq[0].contains("InOppHand")) { if (sq[0].contains("InOppHand")) {
for (final Player p : opps) { for (final Player p : opps) {
someCards.addAll(p.getCardsIn(ZoneType.Hand)); someCards.addAll(p.getCardsIn(ZoneType.Hand));
} }
} }
if (sq[0].contains("InChosenHand")) { if (sq[0].contains("InChosenHand")) {
if (c.getChosenPlayer() != null) { if (c.getChosenPlayer() != null) {
someCards.addAll(c.getChosenPlayer().getCardsIn(ZoneType.Hand)); someCards.addAll(c.getChosenPlayer().getCardsIn(ZoneType.Hand));
} }
} }
if (sq[0].contains("InChosenYard")) { if (sq[0].contains("InChosenYard")) {
if (c.getChosenPlayer() != null) { if (c.getChosenPlayer() != null) {
someCards.addAll(c.getChosenPlayer().getCardsIn(ZoneType.Graveyard)); someCards.addAll(c.getChosenPlayer().getCardsIn(ZoneType.Graveyard));
} }
} }
if (sq[0].contains("OnBattlefield")) { if (sq[0].contains("OnBattlefield")) {
someCards.addAll(game.getCardsIn(ZoneType.Battlefield)); someCards.addAll(game.getCardsIn(ZoneType.Battlefield));
} }
if (sq[0].contains("InAllYards")) { if (sq[0].contains("InAllYards")) {
someCards.addAll(game.getCardsIn(ZoneType.Graveyard)); someCards.addAll(game.getCardsIn(ZoneType.Graveyard));
} }
if (sq[0].contains("SpellsOnStack")) { if (sq[0].contains("SpellsOnStack")) {
@@ -1464,7 +1464,7 @@ public class CardFactoryUtil {
} }
if (sq[0].contains("InAllHands")) { if (sq[0].contains("InAllHands")) {
someCards.addAll(game.getCardsIn(ZoneType.Hand)); someCards.addAll(game.getCardsIn(ZoneType.Hand));
} }
// Count$InTargetedHand (targeted player's cards in hand) // Count$InTargetedHand (targeted player's cards in hand)

View File

@@ -24,8 +24,8 @@ Types:Creature Werewolf
PT:*/* PT:*/*
K:Vigilance K:Vigilance
K:Trample K:Trample
S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the total number of cards in all players' hands. S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ Y | SetToughness$ Y | References$ Y | Description$ CARDNAME's power and toughness are each equal to the total number of cards in all players' hands.
SVar:X:Count$NumInAllHands SVar:Y:Count$NumInAllHands
T:Mode$Phase | Phase$ Upkeep | WerewolfUntransformCondition$ True | TriggerZones$ Battlefield | Execute$ TrigTransform | TriggerDescription$ At the beginning of each upkeep, if a player cast two or more spells last turn, transform CARDNAME. T:Mode$Phase | Phase$ Upkeep | WerewolfUntransformCondition$ True | TriggerZones$ Battlefield | Execute$ TrigTransform | TriggerDescription$ At the beginning of each upkeep, if a player cast two or more spells last turn, transform CARDNAME.
SVar:TrigTransform:DB$ SetState | Defined$ Self | Mode$ Transform SVar:TrigTransform:DB$ SetState | Defined$ Self | Mode$ Transform
SVar:Picture:http://www.wizards.com/global/images/magic/general/werewolf_of_ancient_hunger.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/werewolf_of_ancient_hunger.jpg