Class CaptnCookishAura
java.lang.Object
net.demilich.metastone.game.logic.CustomCloneable
net.demilich.metastone.game.entities.Entity
net.demilich.metastone.game.spells.trigger.Enchantment
net.demilich.metastone.game.spells.aura.Aura
net.demilich.metastone.game.spells.aura.EffectlessAura
net.demilich.metastone.game.spells.aura.NoggenfoggerAura
net.demilich.metastone.game.spells.aura.CaptnCookishAura
- All Implemented Interfaces:
- Serializable,- Cloneable,- Comparable<Entity>,- HasDesc<AuraDesc>,- HasCard,- Trigger
The Capt'n Cookish aura changes to random the player selected targets of spells cast by the owner of the aura. Since
 it changes targeting randomly, it is considered a kind of Noggenfogger aura.
- See Also:
- 
Field SummaryFields inherited from class net.demilich.metastone.game.spells.aura.AuraEMPTY_TRIGGERSFields inherited from class net.demilich.metastone.game.spells.trigger.Enchantmentactivated, 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.Entityattributes, effectSource, entityLocation, name, NO_OWNER, sourceCard
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetValidTargets(GameContext context, TargetAcquisitionEvent event) Based on the specified target acquisition event, override the target to a random one from the list returned by this method.Methods inherited from class net.demilich.metastone.game.spells.aura.NoggenfoggerAuragetDefaultTriggers, onGameEventMethods inherited from class net.demilich.metastone.game.spells.aura.EffectlessAuragetApplyAuraEffect, getRemoveAuraEffectMethods inherited from class net.demilich.metastone.game.spells.aura.Auraaffects, applied, applyAuraEffect, cast, clone, expire, getAffectedEntities, getCondition, getCopy, getDesc, getDescription, getEntityFilter, getName, getSecondaryTarget, getTargets, isPersistentOwner, notApplied, onAdd, removeAuraEffect, setDescMethods inherited from class net.demilich.metastone.game.spells.trigger.Enchantmentactivate, 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.EntitycompareTo, 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- 
CaptnCookishAura
 
- 
- 
Method Details- 
getValidTargetsDescription copied from class:NoggenfoggerAuraBased on the specified target acquisition event, override the target to a random one from the list returned by this method. If the targets are empty, no override occurs.- Overrides:
- getValidTargetsin class- NoggenfoggerAura
- Parameters:
- context- The context
- event- The event
- Returns:
- A Listof entities to choose randomly from, or an empty list if there are no valid targets / an override should not occur.
 
 
-