- Added Bruna, Light of Alabaster

This commit is contained in:
moomarc
2012-12-06 15:56:51 +00:00
parent fd78277f93
commit eead1c2721
3 changed files with 25 additions and 0 deletions

1
.gitattributes vendored
View File

@@ -1270,6 +1270,7 @@ res/cardsfolder/b/brothers_of_fire.txt svneol=native#text/plain
res/cardsfolder/b/browbeat.txt -text
res/cardsfolder/b/brown_ouphe.txt svneol=native#text/plain
res/cardsfolder/b/browse.txt svneol=native#text/plain
res/cardsfolder/b/bruna_light_of_alabaster.txt -text
res/cardsfolder/b/brush_with_death.txt svneol=native#text/plain
res/cardsfolder/b/brushland.txt svneol=native#text/plain
res/cardsfolder/b/brushstrider.txt -text

View File

@@ -0,0 +1,20 @@
Name:Bruna, Light of Alabaster
ManaCost:3 W W U
Types:Legendary Creature Angel
Text:no text
PT:5/5
K:Flying
K:Vigilance
T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ Aurify | TriggerDescription$ Whenever CARDNAME attacks or blocks, you may attach to it any number of Auras on the battlefield and you may put onto the battlefield attached to it any number of Aura cards that could enchant it from your graveyard and/or hand.
T:Mode$ Blocks | ValidCard$ Card.Self | Execute$ Aurify | Secondary$ True | TriggerDescription$ Whenever CARDNAME attacks or blocks, you may attach to it any number of Auras on the battlefield and you may put onto the battlefield attached to it any number of Aura cards that could enchant it from your graveyard and/or hand.
SVar:Aurify:AB$ RepeatEach | Cost$ 0 | RepeatSubAbility$ BrunaAttach | RepeatCards$ Aura.CanEnchantSource+NotAttachedTo | SubAbility$ HandAuras
SVar:BrunaAttach:DB$ Attach | Object$ Remembered | Defined$ Self | Optional$ True
SVar:HandAuras:DB$ ChangeZone | Origin$ Hand | Destination$ Battlefield | ChangeType$ Aura.CanEnchantSource+YouCtrl | AttachedTo$ Self | ChangeNum$ HandX | Optional$ True | Hidden$ True | SubAbility$ GraveAuras
SVar:GraveAuras:DB$ ChangeZone | Origin$ Graveyard | Destination$ Battlefield | ChangeType$ Aura.CanEnchantSource+YouCtrl | AttachedTo$ Self | ChangeNum$ GraveX | Optional$ True | Hidden$ True
SVar:HandX:Count$ValidHand Aura.CanEnchantSource+YouCtrl
SVar:GraveX:Count$ValidGraveyard Aura.CanEnchantSource+YouCtrl
SVar:Rarity:Mythic
SVar:Picture:http://www.wizards.com/global/images/magic/general/bruna_light_of_alabaster.jpg
SetInfo:AVR|Mythic|http://magiccards.info/scans/en/avr/208.jpg
Oracle:Flying, vigilance\nWhenever Bruna, Light of Alabaster attacks or blocks, you may attach to it any number of Auras on the battlefield and you may put onto the battlefield attached to it any number of Aura cards that could enchant it from your graveyard and/or hand.
End

View File

@@ -6433,6 +6433,10 @@ public class Card extends GameEntity implements Comparable<Card> {
return false;
}
}
} else if (property.equals("NotAttachedTo")) {
if (this.equipping.contains(source) || source.equals(this.enchanting)) {
return false;
}
} else if (property.startsWith("EnchantedBy")) {
if (!this.getEnchantedBy().contains(source) && !this.equals(source.getEnchanting())) {
return false;