- Completed conversion of Energy Storm.

This commit is contained in:
jendave
2011-08-07 00:06:33 +00:00
parent 38b18c6418
commit f2d3c1b1a2
2 changed files with 4 additions and 22 deletions

View File

@@ -5,6 +5,7 @@ Text:no text
K:Cumulative upkeep:1 K:Cumulative upkeep:1
K:Permanents don't untap during their controllers' untap steps:Creature.withFlying K:Permanents don't untap during their controllers' untap steps:Creature.withFlying
K:stPreventDamage:Player:Instant,Sorcery:All:Prevent all damage that would be dealt by instant and sorcery spells. Creatures with flying don't untap during their controller's untap step. K:stPreventDamage:Player:Instant,Sorcery:All:Prevent all damage that would be dealt by instant and sorcery spells. Creatures with flying don't untap during their controller's untap step.
K:stPreventDamage:Permanent:Spell:1:no text
SVar:RemRandomDeck:True SVar:RemRandomDeck:True
SVar:Rarity:Rare SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/energy_storm.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/energy_storm.jpg

View File

@@ -3171,12 +3171,8 @@ public class Card extends MyObservable {
restDamage = staticReplaceDamage(restDamage, source, isCombat); restDamage = staticReplaceDamage(restDamage, source, isCombat);
if(AllZoneUtil.isCardInPlay("Leyline of Punishment")) return restDamage;
restDamage = staticDamagePrevention(restDamage, source, isCombat); restDamage = staticDamagePrevention(restDamage, source, isCombat);
if(getName().equals("Swans of Bryn Argoll")) return 0;
return restDamage; return restDamage;
} }
@@ -3237,30 +3233,15 @@ public class Card extends MyObservable {
// specific Cards // specific Cards
if(isCreature()) { //and not a planeswalker if(isCreature()) { //and not a planeswalker
if(getName().equals("Swans of Bryn Argoll")) return 0;
if((source.isCreature() && AllZoneUtil.isCardInPlay("Well-Laid Plans") && source.sharesColorWith(this)))return 0; if((source.isCreature() && AllZoneUtil.isCardInPlay("Well-Laid Plans") && source.sharesColorWith(this)))return 0;
if((!isCombat && AllZoneUtil.isCardInPlay("Mark of Asylum", player)))return 0; if((!isCombat && AllZoneUtil.isCardInPlay("Mark of Asylum", player)))return 0;
/*
if((AllZoneUtil.isCardInPlay("Light of Sanction", player) && source.getController().isPlayer(player)))
return 0;
if (AllZoneUtil.isCardInPlay("Plated Pegasus") && source.isSpell()&& restDamage > 0) {
int amount = AllZoneUtil.getCardsInPlay("Plated Pegasus").size();
for (int i = 0; i < amount;i++)
if ( restDamage > 0 ) %
restDamage -= 1;
}
if (isType("Cleric") && AllZoneUtil.isCardInPlay("Daunting Defender", player))
restDamage = restDamage - AllZoneUtil.getPlayerCardsInPlay(player, "Daunting Defender").size();
*/
if(getName().equals("Callous Giant") && restDamage <= 3) return 0; if(getName().equals("Callous Giant") && restDamage <= 3) return 0;
} //Creature end } //Creature end
if (AllZoneUtil.isCardInPlay("Energy Storm") && source.isSpell()) return 0;
if ( restDamage > 0) if ( restDamage > 0)
return restDamage; return restDamage;
else return 0; else return 0;