Class AttributeAura

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

public final class AttributeAura extends SpellAura
Grants an AuraArg.ATTRIBUTE to the specified targets.

Always use an attribute prefixed with AURA_, like Attribute.AURA_LIFESTEAL, to prevent inadvertent interactions with other cards that permanently grant an entity an attribute.

For example, to give all friendly beasts charge:

    {
     "class": "AttributeAura",
     "target": "FRIENDLY_MINIONS",
     "attribute": "AURA_CHARGE",
     "filter": {
       "class": "RaceFilter",
       "race": "BEAST"
     }
   }
 
See Also:
  • Constructor Details

    • AttributeAura

      public AttributeAura(AuraDesc desc)
  • Method Details