- Added the player keyword "Spells and abilities your opponents control can't cause you to sacrifice permanents.".

- Added Sigarda, Host of Herons.
This commit is contained in:
Sloth
2012-04-29 14:42:48 +00:00
parent 1b471b8c13
commit f34e9ba9d9
3 changed files with 21 additions and 0 deletions

1
.gitattributes vendored
View File

@@ -8195,6 +8195,7 @@ res/cardsfolder/s/siege_of_towers.txt svneol=native#text/plain
res/cardsfolder/s/siege_wurm.txt -text
res/cardsfolder/s/sift.txt svneol=native#text/plain
res/cardsfolder/s/sift_through_sands.txt -text
res/cardsfolder/s/sigarda_host_of_herons.txt -text
res/cardsfolder/s/sighted_caste_sorcerer.txt svneol=native#text/plain
res/cardsfolder/s/sightless_ghoul.txt -text
res/cardsfolder/s/sigil_blessing.txt svneol=native#text/plain

View File

@@ -0,0 +1,13 @@
Name:Sigarda, Host of Herons
ManaCost:2 G W W
Types:Legendary Creature Angel
Text:no text
PT:5/5
K:Flying
K:Hexproof
S:Mode$ Continuous | Affected$ You | AddKeyword$ Spells and abilities your opponents control can't cause you to sacrifice permanents. | Description$ Spells and abilities your opponents control can't cause you to sacrifice permanents.
SVar:Rarity:Mythic
SVar:Picture:http://www.wizards.com/global/images/magic/general/sigarda_host_of_herons.jpg
SetInfo:AVR|Mythic|http://magiccards.info/scans/en/avr/210.jpg
Oracle:Flying, hexproof\nSpells and abilities your opponents control can't cause you to sacrifice permanents.
End

View File

@@ -1174,6 +1174,8 @@ public class GameAction {
*
* @param c
* a {@link forge.Card} object.
* @param source
* a SpellAbility object.
* @return a boolean.
*/
public final boolean sacrifice(final Card c, final SpellAbility source) {
@@ -1181,6 +1183,11 @@ public class GameAction {
System.out.println("Trying to sacrifice immutables: " + c);
return false;
}
if (source != null && !c.getController().equals(source.getActivatingPlayer())
&& c.getController().hasKeyword("Spells and abilities your opponents control can't cause"
+ " you to sacrifice permanents.")) {
return false;
}
this.sacrificeDestroy(c);
// Run triggers