mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 18:28:00 +00:00
- 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:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -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
|
||||
|
||||
13
res/cardsfolder/s/sigarda_host_of_herons.txt
Normal file
13
res/cardsfolder/s/sigarda_host_of_herons.txt
Normal 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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user