Class AttributeAura
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Entity>,HasDesc<AuraDesc>,HasCard,Trigger
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"
}
}
-
Field Summary
Fields inherited from class net.demilich.metastone.game.spells.aura.SpellAura
applyAuraEffect, removeAuraEffectFields inherited from class net.demilich.metastone.game.spells.aura.Aura
DEFAULT_TRIGGERS, EMPTY_TRIGGERSFields inherited from class net.demilich.metastone.game.spells.trigger.Enchantment
activated, activationTriggers, added, copyToActor, countByValue, countUntilCast, expirationTriggers, expired, firesThisSequence, hostReference, keepAfterTransform, maxFiresPerSequence, oneTurn, persistentOwner, spell, triggers, usesSpellTrigger, zonesFields inherited from class net.demilich.metastone.game.entities.Entity
attributes, effectSource, entityLocation, name, NO_OWNER, sourceCard -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.demilich.metastone.game.spells.aura.SpellAura
getApplyAuraEffect, getRemoveAuraEffect, setApplyAuraEffect, setRemoveAuraEffectMethods inherited from class net.demilich.metastone.game.spells.aura.Aura
affects, applied, applyAuraEffect, cast, clone, expire, getAffectedEntities, getCondition, getCopy, getDefaultTriggers, getDesc, getDescription, getEntityFilter, getName, getSecondaryTarget, getTargets, isPersistentOwner, onAdd, onGameEvent, removeAuraEffect, setDescMethods inherited from class net.demilich.metastone.game.spells.trigger.Enchantment
activate, endOfSequence, fires, getActivationTriggers, getCountUntilCast, getDefaultBattlefieldZones, getDefaultBattlefieldZonesSet, getDefaultDeckZones, getDefaultGameZones, getDefaultPassiveZones, getDefaultZones, getEntityType, getEntrySet, getExpirationTriggers, getFires, getHostReference, getMaxFires, getMaxFiresPerSequence, getOneTurn, getSourceCard, getSpell, getTriggers, getUsesSpellTrigger, getZones, innerQueues, interestedIn, isActivated, isCopyToActor, isCountByValue, isExpired, isKeptAfterTransform, oneTurnOnly, process, queues, setActivated, setActivationTriggers, setCopyToActor, setCountByValue, setCountUntilCast, setExpirationTriggers, setFires, setHostReference, setKeepAfterTransform, setMaxFires, setMaxFiresPerSequence, setOneTurn, setPersistentOwner, setSpell, setTriggers, setUsesSpellTrigger, setZones, shouldNotifyEnchantmentFired, toStringMethods inherited from class net.demilich.metastone.game.entities.Entity
compareTo, diedOnBattlefield, evaluateDescriptions, getAttribute, getAttributes, getAttributeValue, getAttributeValue, getCardInventoryId, getCopySource, getDescription, getDynamicDescription, getEffectSource, getEntityLocation, getGameTriggers, getId, getIndex, getMaxNumberOfAttacks, getOwner, getRace, getReference, getUserId, getZone, hasAttribute, hasPersistentEffects, isDestroyed, isInPlay, isRemovedPeacefully, modifyAttribute, modifyHpBonus, moveOrAddTo, moveOrAddTo, resetEntityLocations, setAttribute, setAttribute, setAttribute, setDescription, setEffectSource, setEntityLocation, setId, setName, setOwner, setSourceCard, setUserId, transformResolved, transformResolved
-
Constructor Details
-
AttributeAura
-
-
Method Details
-
notApplied
- Overrides:
notAppliedin classAura
-