- Added Stoneshaker Shaman by lazylockie.

This commit is contained in:
Sloth
2013-08-07 20:31:30 +00:00
parent 1309a14ea0
commit 1dcc84a894
4 changed files with 14 additions and 3 deletions

1
.gitattributes vendored
View File

@@ -10856,6 +10856,7 @@ res/cardsfolder/s/stonehewer_giant.txt -text
res/cardsfolder/s/stonehewer_giant_avatar.txt -text
res/cardsfolder/s/stonehorn_chanter.txt -text
res/cardsfolder/s/stonehorn_dignitary.txt -text
res/cardsfolder/s/stoneshaker_shaman.txt -text
res/cardsfolder/s/stonewood_invocation.txt svneol=native#text/plain
res/cardsfolder/s/stonewood_invoker.txt svneol=native#text/plain
res/cardsfolder/s/stonework_puma.txt svneol=native#text/plain

View File

@@ -4,7 +4,7 @@ Types:Creature Boar Beast
PT:2/2
S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | AddToughness$ X | Description$ CARDNAME gets +1/+1 for each untapped permanent your opponents control.
SVar:X:Count$Valid Permanent.untapped+OppCtrl
SVar:AITapDown:Permanent
SVar:AITapDown:Permanent.OppCtrl
SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/copperhoof_vorrac.jpg
Oracle:Copperhoof Vorrac gets +1/+1 for each untapped permanent your opponents control.

View File

@@ -0,0 +1,10 @@
Name:Stoneshaker Shaman
ManaCost:2 R
Types:Creature Human Shaman
PT:1/1
T:Mode$ Phase | Phase$ End of Turn | TriggerZones$ Battlefield | Execute$ TrigSac | TriggerDescription$ At the beginning of each player's end step, that player sacrifices an untapped land.
SVar:TrigSac:AB$ Sacrifice | Cost$ 0 | SacValid$ Land.untapped | Defined$ TriggeredPlayer | SpellDescription$ Sacrifice an untapped land.
SVar:AITapDown:Land
SVar:RemRandomDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/stoneshaker_shaman.jpg
Oracle:At the beginning of each player's end step, that player sacrifices an untapped land.

View File

@@ -1152,9 +1152,9 @@ public class ComputerUtil {
return false;
}
if (abCost.hasTapCost()) {
for (Card c : ai.getOpponent().getCardsIn(ZoneType.Battlefield)) {
for (Card c : ai.getGame().getCardsIn(ZoneType.Battlefield)) {
if (c.hasSVar("AITapDown")) {
if (source.isValid(c.getSVar("AITapDown"), ai, source)) {
if (source.isValid(c.getSVar("AITapDown"), c.getController(), c)) {
return true;
}
}