Class CardAura

All Implemented Interfaces:
Serializable, Cloneable, Comparable<Entity>, HasDesc<AuraDesc>, HasCard, Trigger

public class CardAura extends SpellAura
Changes the targeted card's card ID to match the specified AuraArg.CARD, allowing its behaviour to change.

When a AuraArg.FILTER is specified, the filter will be evaluated against the base card instead of the actual target. Otherwise, the aura would immediately stop applying after the card was changed.

For example, to change your hero power to DIE, INSECT while the aura's host actor is in play:

   {
     "class": "CardAura",
     "target": "FRIENDLY_HERO_POWER",
     "card": "hero_power_die_insect"
   }
 
See Also: