Class EnrageAura

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

@Deprecated public final class EnrageAura extends AttributeValueAura
Deprecated.
Use a conventional aura with a IsDamagedCondition whose ConditionArg.TARGET is the EntityReference.TRIGGER_HOST (i.e. the aura host) instead.
This aura casts its AuraArg.APPLY_EFFECT only while the aura's host entity is damaged.

Implements Spiteful Smith.

For example, "Enrage: Your weapon has +2 Attack.":

      {
                    "class": "EnrageAura",
                    "target": "FRIENDLY_WEAPON",
                    "applyEffect": {
                      "class": "BuffSpell",
                      "attackBonus": 2
        },
                    "removeEffect": {
                      "class": "BuffSpell",
                      "attackBonus": -2
        }
      }
 
See Also: