- Added Auriok Steelshaper.

This commit is contained in:
Sloth
2012-11-29 09:16:08 +00:00
parent 78bc5718ec
commit dbf232acb7
3 changed files with 20 additions and 0 deletions

1
.gitattributes vendored
View File

@@ -574,6 +574,7 @@ res/cardsfolder/a/auriok_edgewright.txt svneol=native#text/plain
res/cardsfolder/a/auriok_glaivemaster.txt svneol=native#text/plain
res/cardsfolder/a/auriok_replica.txt -text
res/cardsfolder/a/auriok_salvagers.txt svneol=native#text/plain
res/cardsfolder/a/auriok_steelshaper.txt -text
res/cardsfolder/a/auriok_sunchaser.txt svneol=native#text/plain
res/cardsfolder/a/auriok_survivors.txt -text
res/cardsfolder/a/auriok_transfixer.txt svneol=native#text/plain

View File

@@ -0,0 +1,16 @@
Name:Auriok Steelshaper
ManaCost:1 W
Types:Creature Human Soldier
Text:no text
PT:1/1
S:Mode$ ReduceCost | ValidCard$ Card | Type$ Equip | Activator$ You | Amount$ 1 | Description$ Equip costs you pay cost 1 less.
S:Mode$ Continuous | Affected$ Creature.Soldier+YouCtrl,Creature.Knight+YouCtrl | AddPower$ 1 | AddToughness$ 1 | CheckSVar$ X | SVarCompare$ EQ1 | References$ X | Description$ As long as CARDNAME is equipped, Soldier and/or Knight creatures you control get +1/+1.
SVar:X:Count$Valid Card.Self+equipped
SVar:EquipMe:Once
SVar:RemRandomDeck:True
DeckNeeds:Type$Equipment
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/auriok_steelshaper.jpg
SetInfo:MRD|Rare|http://magiccards.info/scans/en/mi/4.jpg
Oracle:Equip costs you pay cost {1} less.\nAs long as Auriok Steelshaper is equipped, Soldier and/or Knight creatures you control get +1/+1.
End

View File

@@ -194,6 +194,9 @@ public class StaticAbilityCostChange {
}
if (params.get("Type").equals("Cycling") && !sa.isCycling()) {
return originalCost;
} else if (params.get("Type").equals("Equip")
&& (!(sa instanceof AbilityActivated) || !sa.hasParam("Equip"))) {
return originalCost;
}
}
if (params.containsKey("ValidTarget")) {