- Fix for Totem Armor

This commit is contained in:
jendave
2011-08-06 17:46:57 +00:00
parent a5e327e53c
commit 322d5d3a33

View File

@@ -2156,22 +2156,9 @@ public class GameAction {
crd = list.get(0); crd = list.get(0);
} }
final Card card = c; c.setDamage(0);
Ability_Static ability = new Ability_Static(crd, "0") destroy(crd);
{ System.out.println("Totem armor destroyed instead of original card");
public void resolve()
{
destroy(crd);
card.setDamage(0);
}
};
StringBuilder sb = new StringBuilder();
sb.append(crd).append(" - Totem armor: destroy this aura.");
ability.setStackDescription(sb.toString());
AllZone.Stack.add(ability);
return false; return false;
} }
}//totem armor }//totem armor