Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbholosSpell - Class in net.demilich.metastone.game.spells.custom
-
Destroys friendly minions.
- AbholosSpell() - Constructor for class net.demilich.metastone.game.spells.custom.AbholosSpell
- AbstractBehaviour - Class in net.demilich.metastone.game.behaviour
-
A base class for behaviours that implement no action or a default action when its methods are called.
- AbstractBehaviour() - Constructor for class net.demilich.metastone.game.behaviour.AbstractBehaviour
- AbstractCardTrigger - Class in net.demilich.metastone.game.spells.trigger
-
The base class for triggers that fire off card-adjacent effects.
- AbstractCardTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.AbstractCardTrigger
- AbstractDamageEvent - Class in net.demilich.metastone.game.events
-
Base class for damage events.
- AbstractEnchantmentDesc<T extends Enchantment> - Interface in net.demilich.metastone.game.spells.desc
- AbstractFriendlyCardAura - Class in net.demilich.metastone.game.spells.aura
-
Configures an aura with the appropriate trigger to include friendly cards, including cards that are currently being played, in its affected entities list.
- AbstractFriendlyCardAura(AuraDesc) - Constructor for class net.demilich.metastone.game.spells.aura.AbstractFriendlyCardAura
- AbstractModifyEnchantmentSpell - Class in net.demilich.metastone.game.spells
-
A base class for spells that modify the enchantments hosted by
target
or thetarget
itself if it is an enchantment. - AbstractModifyEnchantmentSpell() - Constructor for class net.demilich.metastone.game.spells.AbstractModifyEnchantmentSpell
- AbstractQuestEvent - Class in net.demilich.metastone.game.events
- AbstractRemoveCardSpell - Class in net.demilich.metastone.game.spells
-
Indicates this effect will remove a card somehow.
- AbstractRemoveCardSpell() - Constructor for class net.demilich.metastone.game.spells.AbstractRemoveCardSpell
- AbstractRepeatMinionsDestroyedSpell - Class in net.demilich.metastone.game.spells.custom
-
A base class for spells that have to repeat recasts based on whether or not minions have been destroyed.
- AbstractRepeatMinionsDestroyedSpell() - Constructor for class net.demilich.metastone.game.spells.custom.AbstractRepeatMinionsDestroyedSpell
- AbstractSummonTrigger - Class in net.demilich.metastone.game.spells.trigger
- AbstractSummonTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.AbstractSummonTrigger
- accept(Handler<AsyncResult<DraftContext>>) - Method in class com.hiddenswitch.spellsource.draft.DraftContext
-
Starts a draft.
- ACTION_TYPE - Enum constant in enum class net.demilich.metastone.game.cards.desc.ParseValueType
-
A string matching the name of an
Spellsource.ActionTypeMessage.ActionType
enum. - ACTION_TYPE - Enum constant in enum class net.demilich.metastone.game.spells.desc.trigger.EventTriggerArg
- ActionLogic - Class in net.demilich.metastone.game.logic
-
This class turns game actions into a list of possible actions for the player.
- ActionLogic() - Constructor for class net.demilich.metastone.game.logic.ActionLogic
- activate() - Method in class net.demilich.metastone.game.spells.trigger.Enchantment
- activated - Variable in class net.demilich.metastone.game.spells.trigger.Enchantment
- ActivateEnchantmentSpell - Class in net.demilich.metastone.game.spells
-
Activates the enchantments hosted by the target or the enchantment targeted in
target
- ActivateEnchantmentSpell() - Constructor for class net.demilich.metastone.game.spells.ActivateEnchantmentSpell
- ActivateTriggeredEffectSpell - Class in net.demilich.metastone.game.spells.custom
- ActivateTriggeredEffectSpell() - Constructor for class net.demilich.metastone.game.spells.custom.ActivateTriggeredEffectSpell
- ACTIVATION_TRIGGERS - Enum constant in enum class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDescArg
- activationTriggers - Variable in class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDesc
- activationTriggers - Variable in class net.demilich.metastone.game.spells.trigger.Enchantment
- ACTIVE - Enum constant in enum class net.demilich.metastone.game.spells.TargetPlayer
-
The player whose turn it currently is.
- Actor - Class in net.demilich.metastone.game.entities
-
An actor hosts common functionality between minions, weapons and heroes.
- Actor() - Constructor for class net.demilich.metastone.game.entities.Actor
- ActorOrCardSpell - Class in net.demilich.metastone.game.spells
-
Simply performs
SpellArg.SPELL1
if the target entity is an Actor, orSpellArg.SPELL2
if they are a Card. - ActorOrCardSpell() - Constructor for class net.demilich.metastone.game.spells.ActorOrCardSpell
- add(int, E) - Method in class net.demilich.metastone.game.entities.EntityZone
- add(K, ParseValueType) - Method in class net.demilich.metastone.game.cards.desc.DescDeserializer.SerializationContext
- add(Card) - Method in class net.demilich.metastone.game.cards.CardArrayList
- add(Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.EnvironmentEntityList
- ADD - Enum constant in enum class net.demilich.metastone.game.spells.desc.valueprovider.AlgebraicOperation
- addAction(GameAction) - Method in class net.demilich.metastone.game.logic.Trace
- AddActorEffectsToTargetActorSpell - Class in net.demilich.metastone.game.spells.custom
-
Copies the text written on the actor card pointed to by
SpellArg.SECONDARY_TARGET
to thetarget
. - AddActorEffectsToTargetActorSpell() - Constructor for class net.demilich.metastone.game.spells.custom.AddActorEffectsToTargetActorSpell
- addAftermath(int, EntityReference, SpellDesc, String) - Method in class net.demilich.metastone.game.environment.EnvironmentAftermathTriggeredList
-
Records a aftermath as triggered.
- addAll(CardList) - Method in class net.demilich.metastone.game.cards.CardArrayList
- addAll(CardList) - Method in interface net.demilich.metastone.game.cards.CardList
-
Adds all the cards from the given list.
- addAll(CardList) - Method in class net.demilich.metastone.game.cards.CardZone
- addAndGetInt(String, int) - Method in class net.demilich.metastone.game.GameContext
-
Adds the delta value and returns the new value of the named integer from the context's cloneable storage.
- addArg(CardCostModifierArg, Object) - Method in class net.demilich.metastone.game.spells.desc.manamodifier.CardCostModifierDesc
- addArg(SpellArg, Object) - Method in class net.demilich.metastone.game.spells.desc.SpellDesc
- AddAttributeSpell - Class in net.demilich.metastone.game.spells
- AddAttributeSpell() - Constructor for class net.demilich.metastone.game.spells.AddAttributeSpell
- AddBattlecrySpell - Class in net.demilich.metastone.game.spells
- AddBattlecrySpell() - Constructor for class net.demilich.metastone.game.spells.AddBattlecrySpell
- addCard(String) - Method in interface net.demilich.metastone.game.cards.CardList
- addCard(Card) - Method in interface net.demilich.metastone.game.cards.CardList
-
Adds the card fluently.
- addCard(Card) - Method in class net.demilich.metastone.game.cards.CardArrayList
- addCard(Card) - Method in class net.demilich.metastone.game.cards.CardZone
- addDeathrattle(SpellDesc) - Method in interface net.demilich.metastone.game.cards.HasDeathrattleEnchantments
- AddDeathrattleSecondaryAsTargetSpell - Class in net.demilich.metastone.game.spells
-
Gives the
target
theSpellArg.SPELL
as a deathrattle. - AddDeathrattleSecondaryAsTargetSpell() - Constructor for class net.demilich.metastone.game.spells.AddDeathrattleSecondaryAsTargetSpell
- AddDeathrattleSpell - Class in net.demilich.metastone.game.spells
- AddDeathrattleSpell() - Constructor for class net.demilich.metastone.game.spells.AddDeathrattleSpell
- AddDeathrattleSpell.CardAftermathTuple - Class in net.demilich.metastone.game.spells
- AddDescriptionSpell - Class in net.demilich.metastone.game.spells
-
Adds the
SpellArg.SECONDARY_TARGET
card's text to thetarget
's description, concatenating with a space. - AddDescriptionSpell() - Constructor for class net.demilich.metastone.game.spells.AddDescriptionSpell
- added - Variable in class net.demilich.metastone.game.spells.trigger.Enchantment
- addEnchantment(Player, Entity, Card, Entity, AbstractEnchantmentDesc<?>, boolean) - Method in class net.demilich.metastone.game.logic.GameLogic
- addEnchantment(Player, Entity, Card, Entity, AbstractEnchantmentDesc<?>, boolean, boolean) - Method in class net.demilich.metastone.game.logic.GameLogic
- addEnchantment(Player, Enchantment, Entity, Entity) - Method in class net.demilich.metastone.game.logic.GameLogic
- addEnchantments(Player, Entity, Card, Entity) - Method in class net.demilich.metastone.game.logic.GameLogic
- addEnchantments(Player, Entity, Card, Entity, boolean) - Method in class net.demilich.metastone.game.logic.GameLogic
- addEnchantments(Player, Entity, Card, Entity, boolean, Predicate<? super AbstractEnchantmentDesc<?>>) - Method in class net.demilich.metastone.game.logic.GameLogic
- AddEnchantmentSpell - Class in net.demilich.metastone.game.spells
-
Adds an
SpellArg.AURA
(Aura
) or aEnchantment
(in theSpellArg.TRIGGER
) to the specifiedtarget
and immediately puts that aura/enchantment into play (i.e., activates it). - AddEnchantmentSpell() - Constructor for class net.demilich.metastone.game.spells.AddEnchantmentSpell
- AddEnchantmentToMinionCardSpell - Class in net.demilich.metastone.game.spells.custom
-
Puts the enchantment written in this spell into play as soon as the minion is summoned from the
target
minion card. - AddEnchantmentToMinionCardSpell() - Constructor for class net.demilich.metastone.game.spells.custom.AddEnchantmentToMinionCardSpell
- addEnchantmentZone(Entity, Enchantment) - Method in class net.demilich.metastone.game.logic.GameLogic
- addFriendlyCardTriggers(Aura) - Static method in class net.demilich.metastone.game.spells.aura.AbstractFriendlyCardAura
- addOrReplaceCard(String) - Static method in class net.demilich.metastone.game.cards.CardCatalogue
-
Adds or replaces a card for the given JSON.
- AddPactSpell - Class in net.demilich.metastone.game.spells
-
Adds the specified
SpellArg.PACT
for the specifiedSpellArg.TARGET_PLAYER
. - AddPactSpell() - Constructor for class net.demilich.metastone.game.spells.AddPactSpell
- AddQuestSpell - Class in net.demilich.metastone.game.spells
-
Adds the specified
SpellArg.QUEST
for the specifiedSpellArg.TARGET_PLAYER
. - AddQuestSpell() - Constructor for class net.demilich.metastone.game.spells.AddQuestSpell
- AddSecretSpell - Class in net.demilich.metastone.game.spells
-
Puts the specified
SpellArg.SECRET
(anEnchantmentDesc
) into play. - AddSecretSpell() - Constructor for class net.demilich.metastone.game.spells.AddSecretSpell
- addSet(String) - Method in class net.demilich.metastone.game.decks.DeckFormat
- addTempCard(Card) - Method in class net.demilich.metastone.game.GameContext
-
Adds a temporary card.
- ADJACENT_MINIONS - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References a possibly zero-length list of minions adjacent to the
source
of this targeting resolution. - ADJACENT_TO_TARGET - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References the minions adjacent to the current
EntityReference.TARGET
, i.e., the currently selected target in the pending action. - AdjacentDeathrattleSpell - Class in net.demilich.metastone.game.spells.custom
-
Casts
SpellArg.SPELL2
on the minions adjacent to the minion whose deathrattle is currently being processed. - AdjacentDeathrattleSpell() - Constructor for class net.demilich.metastone.game.spells.custom.AdjacentDeathrattleSpell
- AdjacentEffectSpell - Class in net.demilich.metastone.game.spells
-
Casts
SpellArg.SPELL1
on thetarget
minion, andSpellArg.SPELL2
on the minions adjacent to the target. - AdjacentEffectSpell() - Constructor for class net.demilich.metastone.game.spells.AdjacentEffectSpell
- AdjacentToPermanentCondition - Class in net.demilich.metastone.game.spells.desc.condition
-
true
if thesource
(or the enchantment host) is adjacent to aAttribute.PERMANENT
, which is ordinarily untargetable. - AdjacentToPermanentCondition(ConditionDesc) - Constructor for class net.demilich.metastone.game.spells.desc.condition.AdjacentToPermanentCondition
- affects(GameContext, Player, Entity, List<Entity>) - Method in class net.demilich.metastone.game.spells.aura.Aura
- affects(GameContext, Player, Entity, List<Entity>) - Method in class net.demilich.metastone.game.spells.aura.CardAura
- AfterCardPlayedEvent - Class in net.demilich.metastone.game.events
-
The card's effects have occurred and it has been moved to the graveyard.
- AfterCardPlayedEvent(GameContext, int, EntityReference) - Constructor for class net.demilich.metastone.game.events.AfterCardPlayedEvent
- AfterCardPlayedTrigger - Class in net.demilich.metastone.game.spells.trigger
- AfterCardPlayedTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.AfterCardPlayedTrigger
- afterCast(GameContext, SpellDesc) - Method in class net.demilich.metastone.game.spells.custom.AbstractRepeatMinionsDestroyedSpell
- afterCast(GameContext, SpellDesc) - Method in class net.demilich.metastone.game.spells.RecastWhileSpell
- AfterDamagingSpellCastedTrigger - Class in net.demilich.metastone.game.spells.trigger
-
Fires when a spell that deals any kind of damage is cast.
- AfterDamagingSpellCastedTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.AfterDamagingSpellCastedTrigger
- Aftermath - Class in net.demilich.metastone.game.spells.trigger
- Aftermath(SpellDesc, Card, Entity) - Constructor for class net.demilich.metastone.game.spells.trigger.Aftermath
- AFTERMATH_COUNT - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
The number of aftermaths active on this entity.
- AFTERMATH_ID - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
Specifies a unique integer ID for a
SpellDesc
that is also a deathrattle, to allow deathrattles to identify themselves inside iterators forHasDeathrattleEnchantments.getDeathrattleEnchantments()
. - aftermathPredicate(GameContext, Player, Entity, Entity, EnvironmentAftermathTriggeredList.EnvironmentAftermathTriggeredItem) - Method in class net.demilich.metastone.game.spells.custom.RepeatAllAftermathsSpell
- aftermathPredicate(GameContext, Player, Entity, Entity, EnvironmentAftermathTriggeredList.EnvironmentAftermathTriggeredItem) - Method in class net.demilich.metastone.game.spells.custom.RepeatLastAftermathsSpell
- AftermathsCardSource - Class in net.demilich.metastone.game.spells.desc.source
-
Returns the base cards of the aftermaths triggered by the
CardSourceArg.TARGET_PLAYER
. - AftermathsCardSource(CardSourceDesc) - Constructor for class net.demilich.metastone.game.spells.desc.source.AftermathsCardSource
- AftermathsCountValueProvider - Class in net.demilich.metastone.game.spells.desc.valueprovider
-
Returns the number of aftermaths triggered by the
ValueProviderArg.TARGET_PLAYER
. - AftermathsCountValueProvider(ValueProviderDesc) - Constructor for class net.demilich.metastone.game.spells.desc.valueprovider.AftermathsCountValueProvider
- AfterMinionPlayedTrigger - Class in net.demilich.metastone.game.spells.trigger
- AfterMinionPlayedTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.AfterMinionPlayedTrigger
- AfterMinionSummonedTrigger - Class in net.demilich.metastone.game.spells.trigger
- AfterMinionSummonedTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.AfterMinionSummonedTrigger
- AfterPhysicalAttackEvent - Class in net.demilich.metastone.game.events
-
The damage has been dealt, all effects due to damage have been resolved, and now the physical attack has complete.
- AfterPhysicalAttackEvent(GameContext, Actor, Actor, int) - Constructor for class net.demilich.metastone.game.events.AfterPhysicalAttackEvent
- AfterPhysicalAttackTrigger - Class in net.demilich.metastone.game.spells.trigger
- AfterPhysicalAttackTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.AfterPhysicalAttackTrigger
- AfterSpellCastedEvent - Class in net.demilich.metastone.game.events
-
A spell has been casted with
source
card and, if the user selected the target, thetarget
. - AfterSpellCastedEvent(GameContext, int, Card, Entity) - Constructor for class net.demilich.metastone.game.events.AfterSpellCastedEvent
- AfterSpellCastedTrigger - Class in net.demilich.metastone.game.spells.trigger
-
Fires after the
EventTriggerArg.TARGET_PLAYER
casts a spell. - AfterSpellCastedTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.AfterSpellCastedTrigger
- AfterSummonEvent - Class in net.demilich.metastone.game.events
-
The minion is on the board and its enchantments are in play.
- AfterSummonEvent(GameContext, Actor, Entity, boolean, OpenerAction...) - Constructor for class net.demilich.metastone.game.events.AfterSummonEvent
- AI_OPPONENT - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
When
true
, indicates thisPlayer
entity is an AI opponent. - ALGEBRAIC_OPERATION - Enum constant in enum class net.demilich.metastone.game.cards.desc.ParseValueType
-
A string matching the name of a
AlgebraicOperation
enum. - AlgebraicOperation - Enum Class in net.demilich.metastone.game.spells.desc.valueprovider
- AlgebraicValueProvider - Class in net.demilich.metastone.game.spells.desc.valueprovider
- AlgebraicValueProvider(ValueProviderDesc) - Constructor for class net.demilich.metastone.game.spells.desc.valueprovider.AlgebraicValueProvider
- all() - Static method in class net.demilich.metastone.game.decks.DeckFormat
- ALL - Static variable in class net.demilich.metastone.game.entities.minions.Race
- ALL_CARDS - Static variable in class net.demilich.metastone.game.spells.custom.DiscoverDiscardSpell
- ALL_CARDS - Static variable in class net.demilich.metastone.game.spells.DiscardSpell
- ALL_CHARACTERS - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References both heroes and all the minions on the board.
- ALL_ENTITIES - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References all entities in the game, including transformed ones and permanents.
- ALL_MINIONS - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References all the minions on the board.
- ALL_OTHER_CHARACTERS - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References all the heroes and minions excluding the
source
of this targeting resolution. - ALL_OTHER_MINIONS - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References all the minions excluding the
source
of this targeting resolution. - ALLIANCE_ID - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
This
String
is the ID of the alliance this card belongs to, if any. - AllMatchFilterCondition - Class in net.demilich.metastone.game.spells.desc.condition
- AllMatchFilterCondition(ConditionDesc) - Constructor for class net.demilich.metastone.game.spells.desc.condition.AllMatchFilterCondition
- AllModuloValueEqualsZeroCondition - Class in net.demilich.metastone.game.spells.desc.condition
-
A condition that is fulfilled if all the entities in
ConditionArg.TARGET
, when evaluated as thetarget
toConditionArg.VALUE1
moduloConditionArg.VALUE2
equals zero. - AllModuloValueEqualsZeroCondition(ConditionDesc) - Constructor for class net.demilich.metastone.game.spells.desc.condition.AllModuloValueEqualsZeroCondition
- ALTERNATIVE - Static variable in class net.demilich.metastone.game.cards.CardSet
- ALWAYS_APPLY - Enum constant in enum class net.demilich.metastone.game.spells.desc.aura.AuraArg
-
Deprecated.
- ALWAYS_FIRST - Enum constant in enum class net.demilich.metastone.game.cards.ChooseOneOverride
- ALWAYS_SECOND - Enum constant in enum class net.demilich.metastone.game.cards.ChooseOneOverride
- AmalgamRaceCondition - Class in net.demilich.metastone.game.spells.desc.condition
- AmalgamRaceCondition(ConditionDesc) - Constructor for class net.demilich.metastone.game.spells.desc.condition.AmalgamRaceCondition
- AmalgamRaceFilter - Class in net.demilich.metastone.game.spells.desc.filter
-
Matches entities whose
Entity.getRace()
is specificallyRace.ALL
. - AmalgamRaceFilter(EntityFilterDesc) - Constructor for class net.demilich.metastone.game.spells.desc.filter.AmalgamRaceFilter
- AMOUNT_OF_CURRENCY - Enum constant in enum class net.demilich.metastone.game.spells.desc.aura.AuraArg
- AND_CONDITION - Enum constant in enum class net.demilich.metastone.game.spells.desc.filter.EntityFilterArg
- AndCondition - Class in net.demilich.metastone.game.spells.desc.condition
- AndCondition(ConditionDesc) - Constructor for class net.demilich.metastone.game.spells.desc.condition.AndCondition
- AndFilter - Class in net.demilich.metastone.game.spells.desc.filter
-
Evaluates to
true
for everytarget
if all of the filters inEntityFilterArg.FILTERS
also evaluate to true for the target. - AndFilter(EntityFilterDesc) - Constructor for class net.demilich.metastone.game.spells.desc.filter.AndFilter
- AnobiiSpell - Class in net.demilich.metastone.game.spells.custom
-
Transforms the
target
into theSpellArg.CARD
. - AnobiiSpell() - Constructor for class net.demilich.metastone.game.spells.custom.AnobiiSpell
- ANY - Enum constant in enum class net.demilich.metastone.game.targeting.TargetSelection
- ANY - Static variable in class net.demilich.metastone.game.cards.CardSet
- ANY - Static variable in class net.demilich.metastone.game.entities.heroes.HeroClass
- AnyMatchFilterCondition - Class in net.demilich.metastone.game.spells.desc.condition
-
true
if any of the entities returned by resolvingConditionArg.TARGET
is passed by the filter supplied inConditionArg.FILTER
. - AnyMatchFilterCondition(ConditionDesc) - Constructor for class net.demilich.metastone.game.spells.desc.condition.AnyMatchFilterCondition
- applied(Entity) - Method in class net.demilich.metastone.game.spells.aura.Aura
- appliesTo(GameContext, Card, Player) - Method in class net.demilich.metastone.game.cards.costmodifier.CardCostModifier
-
Determines whether this modifier applies to the specified card.
- appliesTo(GameContext, Card, Player) - Method in class net.demilich.metastone.game.cards.costmodifier.ToggleCostModifier
- APPLY_EFFECT - Enum constant in enum class net.demilich.metastone.game.spells.desc.aura.AuraArg
- applyAmplify(Player, int, Attribute) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Calculates how much to amplify an attribute by.
- applyAttribute(Entity, Attribute) - Method in class net.demilich.metastone.game.logic.GameLogic
- applyAttribute(Entity, Attribute, Entity) - Method in class net.demilich.metastone.game.logic.GameLogic
- applyAuraEffect - Variable in class net.demilich.metastone.game.spells.aura.SpellAura
- applyAuraEffect(GameContext, Entity) - Method in class net.demilich.metastone.game.spells.aura.Aura
- applyAuraEffect(GameContext, Entity) - Method in class net.demilich.metastone.game.spells.aura.StatefulAttributeValueAura
- applyDamageToActor(Actor, int, Player, Entity, boolean, EnumSet<Spellsource.DamageTypeMessage.DamageType>) - Method in class net.demilich.metastone.game.logic.GameLogic
- applyHeroPowerDamage(Player, int) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Applies hero power damage increases
- applyRace(Actor) - Method in class net.demilich.metastone.game.cards.Card
-
Applies the actor's
Attribute.RACE
to the specified instance - applySpellpower(Player, Entity, int) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Applies spell damage increases
- ArbitraryDeckValidator - Class in net.demilich.metastone.game.decks.validation
-
A deck validator that only cares that the deck contain no more than
GameLogic.MAX_DECK_SIZE
many cards. - ArbitraryDeckValidator() - Constructor for class net.demilich.metastone.game.decks.validation.ArbitraryDeckValidator
- ARMOR - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
- ARMOR_BONUS - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
The amount of armor to buff to an entity, which is almost always only a hero.
- ARMOR_GAINED - Enum constant in enum class net.demilich.metastone.game.statistics.Statistic
- ARMOR_LOST - Enum constant in enum class net.demilich.metastone.game.spells.PlayerAttribute
-
The total amount of armor lost this game
- ARMOR_LOST - Enum constant in enum class net.demilich.metastone.game.statistics.Statistic
- ArmorChangedEvent - Class in net.demilich.metastone.game.events
-
The amount of armor on the hero has changed.
- ArmorChangedEvent(GameContext, Hero, int) - Constructor for class net.demilich.metastone.game.events.ArmorChangedEvent
- ArmorChangedTrigger - Class in net.demilich.metastone.game.spells.trigger
- ArmorChangedTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.ArmorChangedTrigger
- armorGained(int) - Method in class net.demilich.metastone.game.statistics.GameStatistics
- ARTIFACT - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Signifies that this card is an Artifact, a type of token card added by What Lies Beneath.
- assignEntityIds(Iterable<? extends Entity>, int) - Method in class net.demilich.metastone.game.logic.GameLogic
- ATTACK - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
The attack value written on the
Card
. - ATTACK - Enum constant in enum class net.demilich.metastone.game.cards.CardDescType
- ATTACK_BONUS - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
An attack bonus that should be applied to the
Minion
attack. - ATTACK_BONUS - Enum constant in enum class net.demilich.metastone.game.spells.desc.aura.AuraArg
- ATTACK_BONUS - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
The amount of attack to buff to an entity.
- ATTACK_BONUS_MULTIPLIER - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
When non-zero, multiplies the
Attribute.ATTACK_BONUS
,Attribute.TEMPORARY_ATTACK_BONUS
,Attribute.AURA_ATTACK_BONUS
andAttribute.CONDITIONAL_ATTACK_BONUS
by this amount. - ATTACK_EQUALS_HP - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
An attribute that specifies that the attack of this
Minion
is equal to its hitpoints. - ATTACK_MULTIPLIER - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Applies a multiplier to the base attack plus bonus attack on an
Actor
. - ATTACKER - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
This references the attacker during a
PhysicalAttackAction
orGameLogic.fight(Player, Actor, Actor, PhysicalAttackAction)
invocation (i.e., aFightSpell
). - ATTACKER_ADJACENT_MINIONS - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References the minions adjancent to the attacker during a
GameLogic.fight(Player, Actor, Actor, PhysicalAttackAction)
sequence. - ATTACKER_REFERENCE_STACK - Enum constant in enum class net.demilich.metastone.game.environment.Environment
-
This variable stores a stack of attackers.
- ATTACKS_LAST_TURN - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Records how many attacks last turn an actor made.
- ATTACKS_THIS_GAME - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Tracks the amount of times an actor has attacked over the course of a game
- ATTACKS_THIS_TURN - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Indicates the number of attacks this
Actor
has made this turn. - Attribute - Enum Class in net.demilich.metastone.game.cards
-
A list of attributes on entities.
- ATTRIBUTE - Enum constant in enum class net.demilich.metastone.game.cards.desc.ParseValueType
-
A string matching the name of a
Attribute
enum. - ATTRIBUTE - Enum constant in enum class net.demilich.metastone.game.spells.desc.aura.AuraArg
- ATTRIBUTE - Enum constant in enum class net.demilich.metastone.game.spells.desc.condition.ConditionArg
- ATTRIBUTE - Enum constant in enum class net.demilich.metastone.game.spells.desc.filter.EntityFilterArg
- ATTRIBUTE - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
Indicates an attribute for the spell, typically the one being added, removed, targeted or filtered.
- ATTRIBUTE - Enum constant in enum class net.demilich.metastone.game.spells.desc.valueprovider.ValueProviderArg
- AttributeAppliedEvent - Class in net.demilich.metastone.game.events
-
An attribute was applied to the
target
. - AttributeAppliedEvent(GameContext, int, Entity, Entity, Attribute) - Constructor for class net.demilich.metastone.game.events.AttributeAppliedEvent
- AttributeAppliedTrigger - Class in net.demilich.metastone.game.spells.trigger
- AttributeAppliedTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.AttributeAppliedTrigger
- AttributeAura - Class in net.demilich.metastone.game.spells.aura
-
Grants an
AuraArg.ATTRIBUTE
to the specified targets. - AttributeAura(AuraDesc) - Constructor for class net.demilich.metastone.game.spells.aura.AttributeAura
- AttributeCondition - Class in net.demilich.metastone.game.spells.desc.condition
-
true
when thetarget
orConditionArg.TARGET
has an attributeConditionArg.ATTRIBUTE
that evaluates totrue
with theConditionArg.OPERATION
. - AttributeCondition(ConditionDesc) - Constructor for class net.demilich.metastone.game.spells.desc.condition.AttributeCondition
- AttributeCounter - Class in net.demilich.metastone.game.spells.desc.valueprovider
- AttributeCounter(ValueProviderDesc) - Constructor for class net.demilich.metastone.game.spells.desc.valueprovider.AttributeCounter
- attributeExists(Attribute) - Method in class net.demilich.metastone.game.logic.GameLogic
- AttributeExistsCondition - Class in net.demilich.metastone.game.spells.desc.condition
-
true
if the player has the specifiedConditionArg.ATTRIBUTE
anywhere. - AttributeExistsCondition(ConditionDesc) - Constructor for class net.demilich.metastone.game.spells.desc.condition.AttributeExistsCondition
- AttributeFilter - Class in net.demilich.metastone.game.spells.desc.filter
-
Filters entities according to their
Attribute
set onEntityFilterArg.ATTRIBUTE
. - AttributeFilter(EntityFilterDesc) - Constructor for class net.demilich.metastone.game.spells.desc.filter.AttributeFilter
- AttributeMap - Class in net.demilich.metastone.game.cards
- AttributeMap() - Constructor for class net.demilich.metastone.game.cards.AttributeMap
- AttributeMap(Map<Attribute, Object>) - Constructor for class net.demilich.metastone.game.cards.AttributeMap
- attributes - Variable in class net.demilich.metastone.game.entities.Entity
- ATTRIBUTES - Enum constant in enum class net.demilich.metastone.game.cards.CardDescType
- ATTRIBUTES - Enum constant in enum class net.demilich.metastone.game.cards.desc.CardDescArg
- AttributeValueAura - Class in net.demilich.metastone.game.spells.aura
-
Modifies the
AuraArg.ATTRIBUTE
an amount specified inAuraArg.VALUE
, which must be an integer. - AttributeValueAura(AuraDesc) - Constructor for class net.demilich.metastone.game.spells.aura.AttributeValueAura
- AttributeValueProvider - Class in net.demilich.metastone.game.spells.desc.valueprovider
-
Reduces the sum of all values of attribute
ValueProviderArg.ATTRIBUTE
on target entities forValueProviderArg.TARGET
. - AttributeValueProvider(ValueProviderDesc) - Constructor for class net.demilich.metastone.game.spells.desc.valueprovider.AttributeValueProvider
- Aura - Class in net.demilich.metastone.game.spells.aura
-
Auras represent ongoing effects applied to certain entities and is updated whenever (1) the board changes, (2) a sequence ends, (3) a special secondary trigger is fired, or (4) a condition is changed during these earlier events.
- Aura(AuraDesc) - Constructor for class net.demilich.metastone.game.spells.aura.Aura
- AURA - Enum constant in enum class net.demilich.metastone.game.cards.CardDescType
- AURA - Enum constant in enum class net.demilich.metastone.game.cards.desc.ParseValueType
-
An
AuraDesc
. - AURA - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
Indicates an
AuraDesc
, typically one that will be put into play on a target. - AURA_ATTACK_BONUS - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
The amount of attack added by all the
Aura
effects that target the entity. - AURA_ATTACK_BONUS_MULTIPLIER - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
The aura version of
Attribute.ATTACK_BONUS_MULTIPLIER
. - AURA_ATTACK_EQUALS_HP - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
The aura version of
Attribute.ATTACK_EQUALS_HP
. - AURA_ATTACK_MULTIPLIER - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
The aura version of
Attribute.ATTACK_MULTIPLIER
. - AURA_CANNOT_ATTACK - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
An Aura version of
Attribute.CANNOT_ATTACK
. - AURA_CANNOT_ATTACK_HEROES - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
An Aura version of
Attribute.CANNOT_ATTACK_HEROES
- AURA_CARD_ID - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
When set, the card behaves as though it were actually a copy of the card of the specified ID.
- AURA_CHARGE - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
An Aura version of
Attribute.CHARGE
. - AURA_COSTS_HEALTH_INSTEAD_OF_MANA - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
An Aura version of
Attribute.COSTS_HEALTH_INSTEAD_OF_MANA
. - AURA_DECAY - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
The
Aura
version of theAttribute.DECAY
keyword. - AURA_ECHO - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
The aura version of
Attribute.ECHO
. - AURA_ENEMY_HEALING_BONUS - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
The aura version of
Attribute.ENEMY_HEALING_BONUS
. - AURA_HEALING_BONUS - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
The aura version of
Attribute.HEALING_BONUS
. - AURA_HP_BONUS - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
The amount of hitpoints added by all the
Aura
effects that target the entity. - AURA_IMMUNE - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Grants an immunity aura when present on an entity.
- AURA_IMMUNE_WHILE_ATTACKING - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
An Aura version of
Attribute.IMMUNE_WHILE_ATTACKING
. - AURA_INVOKE - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
The aura version of
Attribute.INVOKE
- AURA_LIFESTEAL - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
An aura version of
Attribute.LIFESTEAL
- AURA_MIN_ATTACK - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Represents the minimum attack that auras can reduce an actor's attack to
- AURA_POISONOUS - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
An aura version of
Attribute.POISONOUS
- AURA_RUSH - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Aura version of
Attribute.RUSH
- AURA_SPELL_DAMAGE - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
The aura version of spell damage.
- AURA_STEALTH - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
The aura version of
Attribute.STEALTH
- AURA_TAKE_DOUBLE_DAMAGE - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
The Aura version of
Attribute.TAKE_DOUBLE_DAMAGE
- AURA_TAUNT - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Like taunt, but created as a result of an
Aura
. - AURA_UNTARGETABLE_BY_SPELLS - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
An
Actor
with this attribute is untargetable by spells or hero powers due to an aura. - AURA_WINDFURY - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
An aura version of
Attribute.WINDFURY
- AuraArg - Enum Class in net.demilich.metastone.game.spells.desc.aura
- AuraBuffSpell - Class in net.demilich.metastone.game.spells
-
An internal spell used to implement
BuffAura
. - AuraBuffSpell() - Constructor for class net.demilich.metastone.game.spells.AuraBuffSpell
- AuraDesc - Class in net.demilich.metastone.game.spells.desc.aura
- AuraDesc() - Constructor for class net.demilich.metastone.game.spells.desc.aura.AuraDesc
- AuraDesc(Class<? extends Aura>) - Constructor for class net.demilich.metastone.game.spells.desc.aura.AuraDesc
- AuraDesc(Map<AuraArg, Object>) - Constructor for class net.demilich.metastone.game.spells.desc.aura.AuraDesc
- AuraDescDeserializer - Class in net.demilich.metastone.game.cards.desc
- AuraDescDeserializer() - Constructor for class net.demilich.metastone.game.cards.desc.AuraDescDeserializer
- AURAS - Enum constant in enum class net.demilich.metastone.game.cards.desc.CardDescArg
- AUTHOR - Enum constant in enum class net.demilich.metastone.game.cards.desc.CardDescArg
- AysaCloudsingerSpell - Class in net.demilich.metastone.game.spells.custom
-
Changes your current hero to the first card in the
SpellArg.CARDS
array. - AysaCloudsingerSpell() - Constructor for class net.demilich.metastone.game.spells.custom.AysaCloudsingerSpell
B
- BASE_ATTACK - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
The base amount of attack for the
Actor
. - BASE_ATTACK - Enum constant in enum class net.demilich.metastone.game.cards.CardDescType
- BASE_ATTACK - Enum constant in enum class net.demilich.metastone.game.cards.desc.CardDescArg
- BASE_HP - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
The base number of hitpoints for the
Actor
. - BASE_HP - Enum constant in enum class net.demilich.metastone.game.cards.CardDescType
- BASE_HP - Enum constant in enum class net.demilich.metastone.game.cards.desc.CardDescArg
- BASE_MANA_COST - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
The base mana cost of the
Card
. - BASE_MANA_COST - Enum constant in enum class net.demilich.metastone.game.cards.desc.CardDescArg
- BaseCardResources - Class in com.hiddenswitch.spellsource.cards.base
-
Represents card resources with some base cards that are useful for testing and ensuring there is always at least one champion / class, format and set available for the runtime.
- BaseCardResources() - Constructor for class com.hiddenswitch.spellsource.cards.base.BaseCardResources
- BaseMap<K extends Enum<K>,
V> - Class in net.demilich.metastone.game.cards - BaseMap(Class<K>) - Constructor for class net.demilich.metastone.game.cards.BaseMap
- BASIC - Static variable in class net.demilich.metastone.game.cards.CardSet
- BasicGameEvent - Class in net.demilich.metastone.game.events
-
Construct and fire this event from an
Spellsource.GameEventTypeMessage.GameEventType
and the desiredsource
andtarget
. - BasicGameEvent(Spellsource.GameEventTypeMessage.GameEventType, boolean, GameContext, Player, Entity, Entity) - Constructor for class net.demilich.metastone.game.events.BasicGameEvent
- BasicGameEvent(Spellsource.GameEventTypeMessage.GameEventType, boolean, GameContext, Entity, int, int) - Constructor for class net.demilich.metastone.game.events.BasicGameEvent
- BasicGameEvent(Spellsource.GameEventTypeMessage.GameEventType, boolean, GameContext, Entity, Entity, int, int) - Constructor for class net.demilich.metastone.game.events.BasicGameEvent
- BasicGameEvent(Spellsource.GameEventTypeMessage.GameEventType, GameContext, int, Entity, Entity) - Constructor for class net.demilich.metastone.game.events.BasicGameEvent
- BasicGameEvent(Spellsource.GameEventTypeMessage.GameEventType, GameContext, Player, Entity, Entity) - Constructor for class net.demilich.metastone.game.events.BasicGameEvent
- BasicGameEvent(Spellsource.GameEventTypeMessage.GameEventType, GameContext, int, int) - Constructor for class net.demilich.metastone.game.events.BasicGameEvent
- BasicGameEvent(Spellsource.GameEventTypeMessage.GameEventType, GameContext, Entity, int, int) - Constructor for class net.demilich.metastone.game.events.BasicGameEvent
- BasicGameEvent(Spellsource.GameEventTypeMessage.GameEventType, GameContext, Entity, Entity, int, int) - Constructor for class net.demilich.metastone.game.events.BasicGameEvent
- BATTLE_FOR_ASHENVALE - Static variable in class net.demilich.metastone.game.cards.CardSet
- BATTLECRY - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
An
Entity
withAttribute.BATTLECRY
performs an action when it goes from theSpellsource.ZonesMessage.Zones.HAND
to theSpellsource.ZonesMessage.Zones.BATTLEFIELD
. - BATTLECRY - Enum constant in enum class net.demilich.metastone.game.cards.CardDescType
- BATTLECRY - Enum constant in enum class net.demilich.metastone.game.cards.desc.CardDescArg
- BATTLECRY - Enum constant in enum class net.demilich.metastone.game.cards.desc.ParseValueType
- BATTLECRY - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
Specifies a battlecry as a
OpenerDesc
that will soon be added by aAddBattlecrySpell
. - BattlecryDescArg - Enum Class in net.demilich.metastone.game.spells.desc
- BattlecryResolvedTrigger - Class in net.demilich.metastone.game.spells.trigger
- BattlecryResolvedTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.BattlecryResolvedTrigger
- BattlefieldEnchantmentDescConverter - Class in net.demilich.metastone.game.cards.desc
- BattlefieldEnchantmentDescConverter() - Constructor for class net.demilich.metastone.game.cards.desc.BattlefieldEnchantmentDescConverter
- BaulPocuseSpell - Class in net.demilich.metastone.game.spells.custom
-
Puts the last three cards the player
Attribute.ROASTED
into the player'sSpellsource.ZonesMessage.Zones.HAND
). - BaulPocuseSpell() - Constructor for class net.demilich.metastone.game.spells.custom.BaulPocuseSpell
- beforeCast(GameContext, SpellDesc) - Method in class net.demilich.metastone.game.spells.RecastWhileSpell
- BeforeMinionPlayedTrigger - Class in net.demilich.metastone.game.spells.trigger
- BeforeMinionPlayedTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.BeforeMinionPlayedTrigger
- BeforeMinionSummonedTrigger - Class in net.demilich.metastone.game.spells.trigger
- BeforeMinionSummonedTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.BeforeMinionSummonedTrigger
- BeforePhysicalAttackEvent - Class in net.demilich.metastone.game.events
-
Before the attack happens and damage dealt is calculated.
- BeforePhysicalAttackEvent(GameContext, Actor, Actor) - Constructor for class net.demilich.metastone.game.events.BeforePhysicalAttackEvent
- BeforePhysicalAttackTrigger - Class in net.demilich.metastone.game.spells.trigger
- BeforePhysicalAttackTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.BeforePhysicalAttackTrigger
- BeforeSummonEvent - Class in net.demilich.metastone.game.events
-
Fires right after the minion has hit the board.
- BeforeSummonEvent(GameContext, Actor, Entity, boolean, OpenerAction[]) - Constructor for class net.demilich.metastone.game.events.BeforeSummonEvent
- Behaviour - Interface in net.demilich.metastone.game.behaviour
-
Behaviours specify a delegate for player action and mulligan requests.
- BEING_PLAYED - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Tracks a card being in the progress of playing
- bfs() - Method in interface net.demilich.metastone.game.cards.desc.HasEntrySet
- BLACK - Static variable in class net.demilich.metastone.game.entities.heroes.HeroClass
- BLACK_TEXT - Enum constant in enum class net.demilich.metastone.game.cards.desc.CardDescArg
- BLACKROCK_MOUNTAIN - Static variable in class net.demilich.metastone.game.cards.CardSet
- BLIZZARD_ADVENTURE - Static variable in class net.demilich.metastone.game.cards.CardSet
- BLOOD - Static variable in class net.demilich.metastone.game.entities.heroes.HeroClass
- BloodElfChampionSpell - Class in net.demilich.metastone.game.spells.custom
-
Swaps the
source
summoning minion's health with thetargets
, splitting the health of the source among all the targets and gaining the sum of the targets' health. - BloodElfChampionSpell() - Constructor for class net.demilich.metastone.game.spells.custom.BloodElfChampionSpell
- BLUE - Static variable in class net.demilich.metastone.game.entities.heroes.HeroClass
- BLUEGREY - Static variable in class net.demilich.metastone.game.entities.heroes.HeroClass
- BOARD_POSITION_ABSOLUTE - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
This argument is added by the resolution of
GameLogic.resolveAftermaths(Player, Actor)
. - BOARD_POSITION_RELATIVE - Enum constant in enum class net.demilich.metastone.game.cards.desc.ParseValueType
-
A string matching the name of a
BoardPositionRelative
enum. - BOARD_POSITION_RELATIVE - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
Typically interpreted as a position relative to the
source
of a spell. - BoardChangedEvent - Class in net.demilich.metastone.game.events
-
Fires whenever the board may have changed.
- BoardChangedEvent(GameContext) - Constructor for class net.demilich.metastone.game.events.BoardChangedEvent
- BoardChangedTrigger - Class in net.demilich.metastone.game.spells.trigger
- BoardChangedTrigger() - Constructor for class net.demilich.metastone.game.spells.trigger.BoardChangedTrigger
- BoardChangedTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.BoardChangedTrigger
- BoardCountValueProvider - Class in net.demilich.metastone.game.spells.desc.valueprovider
-
Returns the number of minions, including permanents, on the board, unfiltered.
- BoardCountValueProvider(ValueProviderDesc) - Constructor for class net.demilich.metastone.game.spells.desc.valueprovider.BoardCountValueProvider
- BoardPositionRelative - Enum Class in net.demilich.metastone.game.entities.minions
- BOOLEAN - Enum constant in enum class net.demilich.metastone.game.cards.desc.ParseValueType
-
A
true
orfalse
value. - BOOMSDAY_PROJECT - Static variable in class net.demilich.metastone.game.cards.CardSet
- BOTH - Enum constant in enum class net.demilich.metastone.game.spells.TargetPlayer
-
When this is specified, the spell or action is typically repeated twice, once for each player and starting with the
source
owner. - BOTH_CHOOSE_ONE_OPTIONS - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Deprecated.
- BOTH_COMBINED - Enum constant in enum class net.demilich.metastone.game.cards.ChooseOneOverride
- BOTH_DECKS - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References all the cards in both decks.
- BOTH_HANDS - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References all the cards in both hands.
- BOTH_OPTIONS - Enum constant in enum class net.demilich.metastone.game.cards.CardDescType
- BothPlayersSpell - Class in net.demilich.metastone.game.spells
-
Indicates that the effects should occur for both players, without using the
TargetPlayer.BOTH
value inSpellArg.TARGET_PLAYER
. - BothPlayersSpell() - Constructor for class net.demilich.metastone.game.spells.BothPlayersSpell
- BrothersInBloodSpell - Class in net.demilich.metastone.game.spells.custom
-
Gives the
source
(or the player entity, when the source is a spell or not in play) the enchantment, "Whenever a minion whose card is the same as the chosen minion is summoned, double the newly summoned minion's stats." - BrothersInBloodSpell() - Constructor for class net.demilich.metastone.game.spells.custom.BrothersInBloodSpell
- BROWN - Static variable in class net.demilich.metastone.game.entities.heroes.HeroClass
- BuffAura - Class in net.demilich.metastone.game.spells.aura
-
A buff aura applies the specified
AuraArg.ATTACK_BONUS
andAuraArg.HP_BONUS
to the target entities as long as theAuraArg.CONDITION
is satisfied. - BuffAura(AuraDesc) - Constructor for class net.demilich.metastone.game.spells.aura.BuffAura
- BuffHeroSpell - Class in net.demilich.metastone.game.spells
-
Deprecated.
- BuffHeroSpell() - Constructor for class net.demilich.metastone.game.spells.BuffHeroSpell
-
Deprecated.
- BuffLeftmostMinionInHandSpell - Class in net.demilich.metastone.game.spells.custom
-
Buffs the leftmost minion in the player's hand.
- BuffLeftmostMinionInHandSpell() - Constructor for class net.demilich.metastone.game.spells.custom.BuffLeftmostMinionInHandSpell
- BuffSpell - Class in net.demilich.metastone.game.spells
-
Gives the
target
a stats boost of either *+SpellArg.VALUE
/ +SpellArg.VALUE
) or (+SpellArg.ATTACK_BONUS
/ +SpellArg.HP_BONUS
). - BuffSpell() - Constructor for class net.demilich.metastone.game.spells.BuffSpell
- build(Class<? extends ValueProvider>) - Static method in class net.demilich.metastone.game.spells.desc.valueprovider.ValueProviderDesc
C
- CalamityBeckonsSpell - Class in net.demilich.metastone.game.spells.custom
-
Summons all the minions from the player's deck.
- CalamityBeckonsSpell() - Constructor for class net.demilich.metastone.game.spells.custom.CalamityBeckonsSpell
- calculateMetaStatistics() - Method in class net.demilich.metastone.game.statistics.SimulationResult
- calculateStatistics() - Method in class net.demilich.metastone.game.GameContext
- CAMO - Static variable in class net.demilich.metastone.game.entities.heroes.HeroClass
- CAN_AFFORD_CONDITION - Enum constant in enum class net.demilich.metastone.game.spells.desc.aura.AuraArg
- canAddCardToDeck(Card, GameDeck) - Method in class net.demilich.metastone.game.decks.validation.ArbitraryDeckValidator
- canAddCardToDeck(Card, GameDeck) - Method in interface net.demilich.metastone.game.decks.validation.DeckValidator
- canAddCardToDeck(Card, GameDeck) - Method in class net.demilich.metastone.game.decks.validation.DefaultDeckValidator
- canAttackThisTurn(GameContext) - Method in class net.demilich.metastone.game.entities.Actor
- canBeCast(GameContext, Player) - Method in class net.demilich.metastone.game.cards.Card
-
Indicates whether this spell can be cast generally, given its target selection.
- canBeCastOn(GameContext, Player, Entity) - Method in class net.demilich.metastone.game.cards.Card
-
Given the filter written on this card, indicates whether this spell can be cast on the specified target.
- canBeExecuted(GameContext, Player) - Method in class net.demilich.metastone.game.actions.OpenerAction
-
Computes whether the condition is fulfilled for a battlecry action to be executable.
- canBeExecutedOn(GameContext, Player, Entity) - Method in class net.demilich.metastone.game.actions.DiscoverAction
-
Some discover actions cannot be called on certain kinds of cards.
- canBeExecutedOn(GameContext, Player, Entity) - Method in class net.demilich.metastone.game.actions.GameAction
- canBeExecutedOn(GameContext, Player, Entity) - Method in class net.demilich.metastone.game.actions.OpenerAction
-
Computes whether the given target
entity
can be targeted by this battlecry. - canBeExecutedOn(GameContext, Player, Entity) - Method in class net.demilich.metastone.game.actions.OpenerAsPlaySpellCardAction
- canBeExecutedOn(GameContext, Player, Entity) - Method in class net.demilich.metastone.game.actions.PhysicalAttackAction
- canBeExecutedOn(GameContext, Player, Entity) - Method in class net.demilich.metastone.game.actions.PlayCardAction
- canBeExecutedOn(GameContext, Player, Entity) - Method in class net.demilich.metastone.game.actions.PlayChooseOneCardAction
- CANDY - Static variable in class net.demilich.metastone.game.entities.heroes.HeroClass
- CANNOT_ATTACK - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
When set, this
Minion
cannot attack. - CANNOT_ATTACK_HEROES - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
When set, this
Minion
cannot target heroes with physical attacks. - CANNOT_RECEIVE_OWNED - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
When
true
, indicatesDiscoverSpell
should not show a card the player already has in his hand. - CANNOT_REDUCE_HP_BELOW_1 - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
When set, the hitpoints of the
Actor
cannot be reduced below 1, typically just for the current turn. - canPlayCard(int, EntityReference) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Determines whether the given player can play the given card.
- canPlayCard(Player, Card) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Determines whether the given player can play the given card.
- canPlayPact(Player, Card) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Determines whether a player can play a pact.
- CanPlayPactCondition - Class in net.demilich.metastone.game.spells.desc.condition
-
true
if thesource
card's pact, based on card ID, can be played. - CanPlayPactCondition(ConditionDesc) - Constructor for class net.demilich.metastone.game.spells.desc.condition.CanPlayPactCondition
- canPlayQuest(Player, Card) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Determines whether a player can play a quest.
- canPlaySecret(Player, Card) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Determines whether a player can play a
Secret
. - CanSummonCondition - Class in net.demilich.metastone.game.spells.desc.condition
-
true
if theplayer
can summon more minions. - CanSummonCondition(ConditionDesc) - Constructor for class net.demilich.metastone.game.spells.desc.condition.CanSummonCondition
- canSummonMoreMinions(Player) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Determines whether or not a player can summon more minions.
- CANT_GAIN_ENCHANTMENTS - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Will block an entity from receiving game event triggers
- CaptnCookishAura - Class in net.demilich.metastone.game.spells.aura
-
The Capt'n Cookish aura changes to random the player selected targets of spells cast by the owner of the aura.
- CaptnCookishAura(AuraDesc) - Constructor for class net.demilich.metastone.game.spells.aura.CaptnCookishAura
- Card - Class in net.demilich.metastone.game.cards
-
The Card class is an entity that contains card information.
- Card() - Constructor for class net.demilich.metastone.game.cards.Card
- Card(CardDesc) - Constructor for class net.demilich.metastone.game.cards.Card
-
Creates a card from a description of a card.
- CARD - Enum constant in enum class net.demilich.metastone.game.spells.desc.aura.AuraArg
- CARD - Enum constant in enum class net.demilich.metastone.game.spells.desc.condition.ConditionArg
- CARD - Enum constant in enum class net.demilich.metastone.game.spells.desc.filter.EntityFilterArg
- CARD - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
Interpreted as the card the spell is acting on.
- CARD_COST_MODIFIER - Enum constant in enum class net.demilich.metastone.game.cards.desc.ParseValueType
- CARD_COST_MODIFIER - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
Describes a
CardCostModifier
for theCardCostModifierSpell
. - CARD_COST_MODIFIERS - Enum constant in enum class net.demilich.metastone.game.cards.desc.CardDescArg
- CARD_DESC_TYPE - Enum constant in enum class net.demilich.metastone.game.cards.desc.ParseValueType
-
A string matching the name of a
Spellsource.CardTypeMessage.CardType
enum. - CARD_DESC_TYPE - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
Describes the kind of card created in a
CreateCardSpell
. - CARD_FILTER - Enum constant in enum class net.demilich.metastone.game.spells.desc.condition.ConditionArg
- CARD_FILTER - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
An
EntityFilter
that typically operates on cards. - CARD_FILTER - Enum constant in enum class net.demilich.metastone.game.spells.desc.valueprovider.ValueProviderArg
- CARD_FILTERS - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
Multiple card filters that are used by effects like
DiscoverFilteredCardSpell
. - CARD_ID - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
When set, overrides the card's identity and makes it behave like a different card in all its base effects.
- CARD_INVENTORY_ID - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
This
String
is the inventory record ID of this card. - CARD_LOCATION - Enum constant in enum class net.demilich.metastone.game.cards.desc.ParseValueType
-
A string matching the name of a
Spellsource.ZonesMessage.Zones
enum. - CARD_LOCATION - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
A value from
Spellsource.ZonesMessage.Zones
that represents a place to or from a card will be affected. - CARD_SET - Enum constant in enum class net.demilich.metastone.game.spells.desc.filter.EntityFilterArg
- CARD_SOURCE - Enum constant in enum class net.demilich.metastone.game.cards.desc.ParseValueType
- CARD_SOURCE - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
A
CardSource
that specifies an original list of cards that should be filtered, typically with aSpellArg.CARD_FILTER
. - CARD_SOURCE - Enum constant in enum class net.demilich.metastone.game.spells.desc.valueprovider.ValueProviderArg
- CARD_SOURCE_ARRAY - Enum constant in enum class net.demilich.metastone.game.cards.desc.ParseValueType
-
An array of
CardSourceDesc
. - CARD_SOURCES - Enum constant in enum class net.demilich.metastone.game.spells.desc.source.CardSourceArg
- CARD_SOURCES - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
- CARD_TAUNT - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Like taunt, but only applies while in hand or in the deck.
- CARD_TYPE - Enum constant in enum class net.demilich.metastone.game.cards.CardDescType
- CARD_TYPE - Enum constant in enum class net.demilich.metastone.game.cards.desc.ParseValueType
-
A string matching the name of a
Spellsource.CardTypeMessage.CardType
enum. - CARD_TYPE - Enum constant in enum class net.demilich.metastone.game.spells.desc.condition.ConditionArg
- CARD_TYPE - Enum constant in enum class net.demilich.metastone.game.spells.desc.filter.EntityFilterArg
- CARD_TYPE - Enum constant in enum class net.demilich.metastone.game.spells.desc.manamodifier.CardCostModifierArg
-
The card type to filter against.
- CARD_TYPE - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
Used by the
CreateCardSpell
to determine what kind of card to make. - CARD_TYPE - Enum constant in enum class net.demilich.metastone.game.spells.desc.trigger.EventTriggerArg
- CardAddedToDeckEvent - Class in net.demilich.metastone.game.events
-
A card was inserted or shuffled into the deck, including "extra copies."
- CardAddedToDeckEvent(GameContext, int, int, Card) - Constructor for class net.demilich.metastone.game.events.CardAddedToDeckEvent
- CardAddedToDeckTrigger - Class in net.demilich.metastone.game.spells.trigger
-
Fires whenever a card is added to the deck via a
GameLogic.shuffleToDeck(Player, Card)
orGameLogic.insertIntoDeck(Player, Card, int)
effect. - CardAddedToDeckTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.CardAddedToDeckTrigger
- CardAftermathTuple(SpellDesc, Card) - Constructor for class net.demilich.metastone.game.spells.AddDeathrattleSpell.CardAftermathTuple
- CardArrayList - Class in net.demilich.metastone.game.cards
-
An implementation of
CardList
for easy shuffling, choosing and uniqueness testing of lists of cards. - CardArrayList() - Constructor for class net.demilich.metastone.game.cards.CardArrayList
- CardArrayList(Collection<? extends Card>) - Constructor for class net.demilich.metastone.game.cards.CardArrayList
-
Creates this instance from an existing list of cards.
- CardAttributeMap - Class in net.demilich.metastone.game.cards
-
A hashmap that can contain "overrides" to a
CardDesc
. - CardAttributeMap(Card) - Constructor for class net.demilich.metastone.game.cards.CardAttributeMap
- CardAura - Class in net.demilich.metastone.game.spells.aura
-
Changes the targeted card's card ID to match the specified
AuraArg.CARD
, allowing its behaviour to change. - CardAura(AuraDesc) - Constructor for class net.demilich.metastone.game.spells.aura.CardAura
- CardAuraCardFilter - Class in net.demilich.metastone.game.spells.desc.filter
-
A filter that matches an entity if the base card ID is matched by the
EntityFilterArg.CARD
property. - CardAuraCardFilter(EntityFilterDesc) - Constructor for class net.demilich.metastone.game.spells.desc.filter.CardAuraCardFilter
- CardCatalogue - Class in net.demilich.metastone.game.cards
-
A place that stores
CardCatalogueRecord
records that were generated from the "cards" Java package. - CardCatalogue() - Constructor for class net.demilich.metastone.game.cards.CardCatalogue
- CardCatalogueRecord - Class in net.demilich.metastone.game.cards
-
A record that stores a card's ID, JSON representation and
CardDesc
. - CardCatalogueRecord(String, CardDesc) - Constructor for class net.demilich.metastone.game.cards.CardCatalogueRecord
- CardCostInsteadAura - Class in net.demilich.metastone.game.spells.aura
-
When this is in play, the player can only afford to play a card if
AuraArg.CAN_AFFORD_CONDITION
is met. - CardCostInsteadAura(AuraDesc) - Constructor for class net.demilich.metastone.game.spells.aura.CardCostInsteadAura
- CardCostModifier - Class in net.demilich.metastone.game.cards.costmodifier
-
A card cost modifier.
- CardCostModifier(CardCostModifierDesc) - Constructor for class net.demilich.metastone.game.cards.costmodifier.CardCostModifier
- CardCostModifierArg - Enum Class in net.demilich.metastone.game.spells.desc.manamodifier
- CardCostModifierDesc - Class in net.demilich.metastone.game.spells.desc.manamodifier
- CardCostModifierDesc() - Constructor for class net.demilich.metastone.game.spells.desc.manamodifier.CardCostModifierDesc
- CardCostModifierDesc(Class<? extends CardCostModifier>) - Constructor for class net.demilich.metastone.game.spells.desc.manamodifier.CardCostModifierDesc
- CardCostModifierDesc(Map<CardCostModifierArg, Object>) - Constructor for class net.demilich.metastone.game.spells.desc.manamodifier.CardCostModifierDesc
- CardCostModifierDescDeserializer - Class in net.demilich.metastone.game.cards.desc
- CardCostModifierDescDeserializer() - Constructor for class net.demilich.metastone.game.cards.desc.CardCostModifierDescDeserializer
- CardCostModifierSpell - Class in net.demilich.metastone.game.spells
-
Creates a
CardCostModifier
specified bySpellArg.CARD_COST_MODIFIER
that is hosted by the specifiedSpellArg.TARGET
. - CardCostModifierSpell() - Constructor for class net.demilich.metastone.game.spells.CardCostModifierSpell
- CardCountCondition - Class in net.demilich.metastone.game.spells.desc.condition
-
Counts the number of cards in the player's hand, and evalutes to
true
if the count equals theConditionArg.VALUE
. - CardCountCondition(ConditionDesc) - Constructor for class net.demilich.metastone.game.spells.desc.condition.CardCountCondition
- CardCountValueProvider - Class in net.demilich.metastone.game.spells.desc.valueprovider
-
Returns the number of cards in the
ValueProviderArg.CARD_SOURCE
andValueProviderArg.CARD_FILTER
when specified, orSpellsource.ZonesMessage.Zones.HAND
when not specified. - CardCountValueProvider(ValueProviderDesc) - Constructor for class net.demilich.metastone.game.spells.desc.valueprovider.CardCountValueProvider
- CardDesc - Class in net.demilich.metastone.game.cards.desc
-
The class that card JSON files deserialize (get decoded) into.
- CardDesc() - Constructor for class net.demilich.metastone.game.cards.desc.CardDesc
- CardDescArg - Enum Class in net.demilich.metastone.game.cards.desc
- CardDescType - Enum Class in net.demilich.metastone.game.cards
-
Specifies a type of the object in the card desc.
- cardDiscarded() - Method in class net.demilich.metastone.game.statistics.GameStatistics
- cardDrawn() - Method in class net.demilich.metastone.game.statistics.GameStatistics
- CardDrawnTrigger - Class in net.demilich.metastone.game.spells.trigger
- CardDrawnTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.CardDrawnTrigger
- CardEvent - Class in net.demilich.metastone.game.events
-
A base class for events that have cards associated with them.
- CardEvent(Spellsource.GameEventTypeMessage.GameEventType, boolean, GameContext, int, int, Card) - Constructor for class net.demilich.metastone.game.events.CardEvent
- CardEvent(Spellsource.GameEventTypeMessage.GameEventType, boolean, GameContext, Player, Entity, Entity, Card) - Constructor for class net.demilich.metastone.game.events.CardEvent
- CardEvent(Spellsource.GameEventTypeMessage.GameEventType, GameContext, int, int, Card) - Constructor for class net.demilich.metastone.game.events.CardEvent
- CardEvent(Spellsource.GameEventTypeMessage.GameEventType, GameContext, int, Entity, Entity, Card) - Constructor for class net.demilich.metastone.game.events.CardEvent
- CardEvent(Spellsource.GameEventTypeMessage.GameEventType, GameContext, Player, Entity, Entity, Card) - Constructor for class net.demilich.metastone.game.events.CardEvent
- CardEvent(Spellsource.GameEventTypeMessage.GameEventType, GameContext, int, int, Card, Entity) - Constructor for class net.demilich.metastone.game.events.CardEvent
- CardFilter - Class in net.demilich.metastone.game.spells.desc.filter
-
Filters entities based on various properties of their source cards.
- CardFilter(EntityFilterDesc) - Constructor for class net.demilich.metastone.game.spells.desc.filter.CardFilter
- CardList - Interface in net.demilich.metastone.game.cards
-
An interface describing common actions for a collection of cards.
- CardParseException - Exception Class in net.demilich.metastone.game.cards
-
Indicates the card was not able to be parsed.
- CardParseException(List<String>) - Constructor for exception class net.demilich.metastone.game.cards.CardParseException
- CardParser - Class in net.demilich.metastone.game.cards
-
A class responsible for deserializing JSON representations of cards.
- CardParser() - Constructor for class net.demilich.metastone.game.cards.CardParser
- cardPlayed(Card, int) - Method in class net.demilich.metastone.game.statistics.GameStatistics
- CardPlayedEvent - Class in net.demilich.metastone.game.events
-
The card is played from the hand.
- CardPlayedEvent(GameContext, int, Card) - Constructor for class net.demilich.metastone.game.events.CardPlayedEvent
- CardPlayedTrigger - Class in net.demilich.metastone.game.spells.trigger
- CardPlayedTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.CardPlayedTrigger
- CardPropertyCondition - Class in net.demilich.metastone.game.spells.desc.condition
-
Returns
true
if theConditionArg.TARGET
ortarget
is notnull
and meets the requirements specified byConditionArg.CARD_TYPE
,ConditionArg.HERO_CLASS
,ConditionArg.RACE
and the card ID inConditionArg.CARD
. - CardPropertyCondition(ConditionDesc) - Constructor for class net.demilich.metastone.game.spells.desc.condition.CardPropertyCondition
- CardReceivedTrigger - Class in net.demilich.metastone.game.spells.trigger
- CardReceivedTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.CardReceivedTrigger
- CardRevealedEvent - Class in net.demilich.metastone.game.events
-
A card was revealed.
- CardRevealedEvent(GameContext, int, Card) - Constructor for class net.demilich.metastone.game.events.CardRevealedEvent
- CardRevealedTrigger - Class in net.demilich.metastone.game.spells.trigger
- CardRevealedTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.CardRevealedTrigger
- cards - Variable in class net.demilich.metastone.game.decks.GameDeck
- CARDS - Enum constant in enum class net.demilich.metastone.game.spells.desc.condition.ConditionArg
- CARDS - Enum constant in enum class net.demilich.metastone.game.spells.desc.filter.EntityFilterArg
- CARDS - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
An array version of
SpellArg.CARD
. - CARDS_DISCARDED - Enum constant in enum class net.demilich.metastone.game.spells.PlayerAttribute
-
The number of cards the player has discarded this game.
- CARDS_DISCARDED - Enum constant in enum class net.demilich.metastone.game.statistics.Statistic
- CARDS_DRAWN - Enum constant in enum class net.demilich.metastone.game.spells.PlayerAttribute
-
The total number of cards the player has drawn
- CARDS_DRAWN - Enum constant in enum class net.demilich.metastone.game.statistics.Statistic
- CARDS_PER_ROUND - Static variable in class com.hiddenswitch.spellsource.draft.DraftLogic
-
The number of cards per round the player will choose from.
- CARDS_PLAYED - Enum constant in enum class net.demilich.metastone.game.statistics.Statistic
- CardSet - Class in net.demilich.metastone.game.cards
-
An enumeration of card sets from various games.
- CardSet() - Constructor for class net.demilich.metastone.game.cards.CardSet
- CardSource - Class in net.demilich.metastone.game.spells.desc.source
- CardSource(CardSourceDesc) - Constructor for class net.demilich.metastone.game.spells.desc.source.CardSource
- CardSourceArg - Enum Class in net.demilich.metastone.game.spells.desc.source
- CardSourceDesc - Class in net.demilich.metastone.game.spells.desc.source
- CardSourceDesc() - Constructor for class net.demilich.metastone.game.spells.desc.source.CardSourceDesc
- CardSourceDesc(Class<? extends CardSource>) - Constructor for class net.demilich.metastone.game.spells.desc.source.CardSourceDesc
- CardSourceDesc(Map<CardSourceArg, Object>) - Constructor for class net.demilich.metastone.game.spells.desc.source.CardSourceDesc
- CardSourceDescDeserializer - Class in net.demilich.metastone.game.cards.desc
- CardSourceDescDeserializer() - Constructor for class net.demilich.metastone.game.cards.desc.CardSourceDescDeserializer
- CardsPlayedValueProvider - Class in net.demilich.metastone.game.spells.desc.valueprovider
-
Returns the count of the number of cards played that by the
ValueProviderArg.TARGET_PLAYER
that satisfies the specifiedValueProviderArg.FILTER
. - CardsPlayedValueProvider(ValueProviderDesc) - Constructor for class net.demilich.metastone.game.spells.desc.valueprovider.CardsPlayedValueProvider
- CardZone - Class in net.demilich.metastone.game.cards
-
This class is a
CardList
that represents theSpellsource.ZonesMessage.Zones.HAND
andSpellsource.ZonesMessage.Zones.DECK
. - CardZone(int, Spellsource.ZonesMessage.Zones, Map<Integer, Entity>) - Constructor for class net.demilich.metastone.game.cards.CardZone
- CardZone(int, Spellsource.ZonesMessage.Zones, CardList, Map<Integer, Entity>) - Constructor for class net.demilich.metastone.game.cards.CardZone
- cast(int, SpellDesc, GameEvent) - Method in class net.demilich.metastone.game.cards.costmodifier.CardCostModifier
- cast(int, SpellDesc, GameEvent) - Method in class net.demilich.metastone.game.spells.aura.Aura
- cast(int, SpellDesc, GameEvent) - Method in class net.demilich.metastone.game.spells.trigger.Aftermath
- cast(int, SpellDesc, GameEvent) - Method in class net.demilich.metastone.game.spells.trigger.Enchantment
- cast(int, SpellDesc, GameEvent) - Method in class net.demilich.metastone.game.spells.trigger.Opener
- cast(int, SpellDesc, GameEvent) - Method in class net.demilich.metastone.game.spells.trigger.secrets.Quest
- cast(int, SpellDesc, GameEvent) - Method in class net.demilich.metastone.game.spells.trigger.secrets.Secret
- cast(GameContext, Player, SpellDesc, Entity, List<Entity>) - Method in class net.demilich.metastone.game.spells.BothPlayersSpell
- cast(GameContext, Player, SpellDesc, Entity, List<Entity>) - Method in class net.demilich.metastone.game.spells.CastFromGroupSpell
- cast(GameContext, Player, SpellDesc, Entity, List<Entity>) - Method in class net.demilich.metastone.game.spells.custom.BloodElfChampionSpell
- cast(GameContext, Player, SpellDesc, Entity, List<Entity>) - Method in class net.demilich.metastone.game.spells.custom.BuffLeftmostMinionInHandSpell
- cast(GameContext, Player, SpellDesc, Entity, List<Entity>) - Method in class net.demilich.metastone.game.spells.custom.DestroyAllExceptOneAndMindControlSpell
- cast(GameContext, Player, SpellDesc, Entity, List<Entity>) - Method in class net.demilich.metastone.game.spells.custom.DestroyAndSummonInPlaceSpell
- cast(GameContext, Player, SpellDesc, Entity, List<Entity>) - Method in class net.demilich.metastone.game.spells.custom.DuelRandomSecondarySpell
- cast(GameContext, Player, SpellDesc, Entity, List<Entity>) - Method in class net.demilich.metastone.game.spells.custom.FinalFeastSpell
- cast(GameContext, Player, SpellDesc, Entity, List<Entity>) - Method in class net.demilich.metastone.game.spells.custom.FormlessAgonyMissilesSpell
- cast(GameContext, Player, SpellDesc, Entity, List<Entity>) - Method in class net.demilich.metastone.game.spells.custom.UpgradeHeroPowerSpell
- cast(GameContext, Player, SpellDesc, Entity, List<Entity>) - Method in class net.demilich.metastone.game.spells.custom.VileIntentSpell
- cast(GameContext, Player, SpellDesc, Entity, List<Entity>) - Method in class net.demilich.metastone.game.spells.DamageSpell
- cast(GameContext, Player, SpellDesc, Entity, List<Entity>) - Method in class net.demilich.metastone.game.spells.desc.LambdaSpellDesc.LambdaSpell
- cast(GameContext, Player, SpellDesc, Entity, List<Entity>) - Method in class net.demilich.metastone.game.spells.DestroyAllExceptOneSpell
- cast(GameContext, Player, SpellDesc, Entity, List<Entity>) - Method in class net.demilich.metastone.game.spells.DrainSpell
- cast(GameContext, Player, SpellDesc, Entity, List<Entity>) - Method in class net.demilich.metastone.game.spells.DuelSpell
- cast(GameContext, Player, SpellDesc, Entity, List<Entity>) - Method in class net.demilich.metastone.game.spells.FightSpell
- cast(GameContext, Player, SpellDesc, Entity, List<Entity>) - Method in class net.demilich.metastone.game.spells.HealingMissilesSpell
- cast(GameContext, Player, SpellDesc, Entity, List<Entity>) - Method in class net.demilich.metastone.game.spells.MissilesSpell
- cast(GameContext, Player, SpellDesc, Entity, List<Entity>) - Method in class net.demilich.metastone.game.spells.MultiTargetSpell
- cast(GameContext, Player, SpellDesc, Entity, List<Entity>) - Method in class net.demilich.metastone.game.spells.QueryTargetSpell
- cast(GameContext, Player, SpellDesc, Entity, List<Entity>) - Method in class net.demilich.metastone.game.spells.Spell
-
Casts a spell for the given arguments.
- cast(GameContext, Player, SpellDesc, Entity, List<Entity>, Logger) - Method in interface net.demilich.metastone.game.spells.desc.LambdaSpellDesc.AbstractLambdaSpell
-
Casts the spell.
- CastAfterSequenceSpell - Class in net.demilich.metastone.game.spells
-
Casts the subspell after the sequence has ended.
- CastAfterSequenceSpell() - Constructor for class net.demilich.metastone.game.spells.CastAfterSequenceSpell
- castBattlecryRandomly(GameContext, Player, Card, Actor) - Static method in class net.demilich.metastone.game.spells.custom.RepeatAllOtherBattlecriesSpell
-
Executes battlecries from the given card with random targets
- CastCardsSpell - Class in net.demilich.metastone.game.spells
-
Casts the specified
SpellArg.CARD
or the card targeted bySpellArg.SECONDARY_TARGET
onto thetarget
. - CastCardsSpell() - Constructor for class net.demilich.metastone.game.spells.CastCardsSpell
- castCardWithRandomTargets(GameContext, Player, Entity, Card) - Static method in class net.demilich.metastone.game.spells.RandomCardTargetSpell
- castChildSpell(GameContext, Player, SpellDesc, Entity, Entity) - Static method in class net.demilich.metastone.game.spells.SpellUtils
-
Sets up the source and target references for casting a child spell, typically an "effect" of a spell defined on a card.
- castChildSpell(GameContext, Player, SpellDesc, Entity, Entity, Entity) - Static method in class net.demilich.metastone.game.spells.SpellUtils
-
Casts a subspell on a card that was returned by
GameLogic.receiveCard(int, Card)
. - castChooseOneSpell(int, SpellDesc, EntityReference, EntityReference, String, GameAction) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Casts one of the two options of a "Choose One" spell and handles all its sophisticated rules.
- CASTED_ON_FRIENDLY_MINION - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Indicates that the spell was played targeting a friendly minion Implements Lynessa Sunsorrow
- castForPlayer(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.Spell
-
Casts this spell on behalf of the specified player to the specified target.
- CastFromGroupSpell - Class in net.demilich.metastone.game.spells
-
Use a
DiscoverSpell
instead, since groups were never well thought-out anyway. - CastFromGroupSpell() - Constructor for class net.demilich.metastone.game.spells.CastFromGroupSpell
- CastOnCardsInStorageSpell - Class in net.demilich.metastone.game.spells.custom
-
Casts the
SpellArg.SPELL
subspell withEntityReference.OUTPUT
as a reference toSpellArg.VALUE
random cards (or source cards of actors) stored on thesource
. - CastOnCardsInStorageSpell() - Constructor for class net.demilich.metastone.game.spells.custom.CastOnCardsInStorageSpell
- CastOnEntitiesInStorageSpell - Class in net.demilich.metastone.game.spells.custom
-
Casts the
SpellArg.SPELL
subspell withEntityReference.OUTPUT
as a reference toSpellArg.VALUE
random entities (exact cards or e.g. - CastOnEntitiesInStorageSpell() - Constructor for class net.demilich.metastone.game.spells.custom.CastOnEntitiesInStorageSpell
- CastRandomSpellSpell - Class in net.demilich.metastone.game.spells
-
Casts a random spell from the
SpellArg.CARD_SOURCE
,SpellArg.CARD_FILTER
andSpellArg.CARDS
provided. - CastRandomSpellSpell() - Constructor for class net.demilich.metastone.game.spells.CastRandomSpellSpell
- CastRepeatedlySpell - Class in net.demilich.metastone.game.spells
-
Casts the specified
SpellArg.SPELL
forSpellArg.HOW_MANY
times. - CastRepeatedlySpell() - Constructor for class net.demilich.metastone.game.spells.CastRepeatedlySpell
- CASTS_WHEN_DRAWN - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Attribute to track if a spell should cast itself automatically when drawn, also drawing another card in the process.
- castSpell(int, SpellDesc, EntityReference, EntityReference, TargetSelection, boolean, GameAction) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Casts a spell.
- CastSpellCopySpell - Class in net.demilich.metastone.game.spells.custom
-
Casts a copy of the card played during the firing of a
SpellCastedTrigger
. - CastSpellCopySpell() - Constructor for class net.demilich.metastone.game.spells.custom.CastSpellCopySpell
- CastSpellSpell - Class in net.demilich.metastone.game.spells.custom
- CastSpellSpell() - Constructor for class net.demilich.metastone.game.spells.custom.CastSpellSpell
- CastSpellWithTargetOrElseSpell - Class in net.demilich.metastone.game.spells
-
Tries to cast the spell card (given either by
SpellArg.CARD
orSpellArg.SECONDARY_TARGET
) onto the specified target. - CastSpellWithTargetOrElseSpell() - Constructor for class net.demilich.metastone.game.spells.CastSpellWithTargetOrElseSpell
- CatalogueSource - Class in net.demilich.metastone.game.spells.desc.source
-
Returns a list of collectible cards from the
DeckFormat
for this game (fromGameContext.getDeckFormat()
) where class cards of the casting player's class appear 4x more than neutrals, and no other class cards appear. - CatalogueSource(CardSourceDesc) - Constructor for class net.demilich.metastone.game.spells.desc.source.CatalogueSource
- CavernsBelowTrigger - Class in net.demilich.metastone.game.spells.trigger
- CavernsBelowTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.CavernsBelowTrigger
- CelestialConduitSpell - Class in net.demilich.metastone.game.spells.custom
-
Discovers cards from
SpellUtils.getCards(GameContext, Player, Entity, Entity, SpellDesc)
until their total cost is greater or equal toSpellArg.SECONDARY_VALUE
. - CelestialConduitSpell() - Constructor for class net.demilich.metastone.game.spells.custom.CelestialConduitSpell
- CHAMPION_ID - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
This
String
is the user ID of the player who is currently using a card that belongs to someone else. - changeHero(Player, Entity, Hero) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Changes the player's hero.
- changeHero(Player, Entity, Hero, boolean) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Changes the player's hero.
- ChangeHeroPowerSpell - Class in net.demilich.metastone.game.spells
-
Changes the
SpellArg.TARGET_PLAYER
hero power to a random hero power retrieved fromSpellUtils.getCards(GameContext, Player, Entity, Entity, SpellDesc)
. - ChangeHeroPowerSpell() - Constructor for class net.demilich.metastone.game.spells.ChangeHeroPowerSpell
- ChangeHeroSpell - Class in net.demilich.metastone.game.spells
-
Changes the hero of
SpellArg.TARGET_PLAYER
to the specified hero card ID inSpellArg.CARD
. - ChangeHeroSpell() - Constructor for class net.demilich.metastone.game.spells.ChangeHeroSpell
- changeOwner(Entity, int) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Changes the owner of a target.
- ChangeSignatureSpell - Class in net.demilich.metastone.game.spells.custom
- ChangeSignatureSpell() - Constructor for class net.demilich.metastone.game.spells.custom.ChangeSignatureSpell
- CHARGE - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
A
Minion
withAttribute.CHARGE
can attack the same turn it enters play. - checkAndDealFatigue(Player) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Checks if the player's deck is empty.
- checkArguments(Logger, GameContext, Entity, SpellDesc, SpellArg...) - Method in class net.demilich.metastone.game.spells.Spell
-
Allows an implementation to log when it encounters unexpected arguments.
- CHOICE - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
An integer attribute indicating which choice was taken on a choose one card.
- CHOICE_SOURCE - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Records the
EntityReference
of this choose one spell card's source card. - choices - Variable in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour.IntermediateNode
- CHOICES - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
An array of integer choices, for
CastFromGroupSpell
, to allow adaptation choices to replay correctly. - CHOOSE_BOTH_BATTLECRY - Enum constant in enum class net.demilich.metastone.game.cards.desc.CardDescArg
- CHOOSE_BOTH_CARD_ID - Enum constant in enum class net.demilich.metastone.game.cards.desc.CardDescArg
- CHOOSE_ONE - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
A
Card
with this attribute signals that it has two options that a player chooses from when the card is played. - CHOOSE_ONE_BATTLECRIES - Enum constant in enum class net.demilich.metastone.game.cards.desc.CardDescArg
- CHOOSE_ONE_CARD_IDS - Enum constant in enum class net.demilich.metastone.game.cards.desc.CardDescArg
- CHOOSE_ONE_OVERRIDE - Enum constant in enum class net.demilich.metastone.game.cards.desc.ParseValueType
- CHOOSE_ONE_OVERRIDE - Enum constant in enum class net.demilich.metastone.game.spells.desc.aura.AuraArg
- ChooseAndReshuffleSpell - Class in net.demilich.metastone.game.spells
-
Prompts the player to choose among cards in their hand.
- ChooseAndReshuffleSpell() - Constructor for class net.demilich.metastone.game.spells.ChooseAndReshuffleSpell
- chooseCardAsync(List<String>, Handler<AsyncResult<Integer>>) - Method in interface com.hiddenswitch.spellsource.draft.DraftBehaviour
-
Given a list of cards, choose one card.
- chooseCardAsync(List<String>, Handler<AsyncResult<Integer>>) - Method in class com.hiddenswitch.spellsource.draft.NullDraftBehaviour
- chooseHeroAsync(List<String>, Handler<AsyncResult<String>>) - Method in interface com.hiddenswitch.spellsource.draft.DraftBehaviour
-
Given a list of champions, which champion will this draft be?
- chooseHeroAsync(List<String>, Handler<AsyncResult<String>>) - Method in class com.hiddenswitch.spellsource.draft.NullDraftBehaviour
- ChooseLastBehaviour - Class in net.demilich.metastone.game.behaviour
-
A behaviour which instructs the player to always perform the last available action.
- ChooseLastBehaviour() - Constructor for class net.demilich.metastone.game.behaviour.ChooseLastBehaviour
- chooseOneOptionIndex - Variable in class net.demilich.metastone.game.actions.GameAction
- ChooseOneOptionSpell - Class in net.demilich.metastone.game.spells
-
The definition of a
ChooseOneSpell
's sub spells. - ChooseOneOptionSpell() - Constructor for class net.demilich.metastone.game.spells.ChooseOneOptionSpell
- ChooseOneOverride - Enum Class in net.demilich.metastone.game.cards
-
When specified on a
ChooseOneOverrideAura
, specifies which choose one option is taken by the targeted card. - ChooseOneOverrideAura - Class in net.demilich.metastone.game.spells.aura
-
Indicates that a choose one card's choices should be overridden by the
AuraArg.CHOOSE_ONE_OVERRIDE
ChooseOneOverride
value whenever thetarget
card is affected by this aura or if this aura'starget
is thePlayer
entity (EntityReference.FRIENDLY_PLAYER
orEntityReference.ENEMY_PLAYER
) that owns the card being override. - ChooseOneOverrideAura(AuraDesc) - Constructor for class net.demilich.metastone.game.spells.aura.ChooseOneOverrideAura
- ChooseOneSpell - Class in net.demilich.metastone.game.spells
-
Provides a choice between
SpellArg.SPELL1
andSpellArg.SPELL2
, using theSpellArg.NAME
andSpellArg.DESCRIPTION
in those spells to generate the choice cards. - ChooseOneSpell() - Constructor for class net.demilich.metastone.game.spells.ChooseOneSpell
- ChooseSignatureSpell - Class in net.demilich.metastone.game.spells.custom
- ChooseSignatureSpell() - Constructor for class net.demilich.metastone.game.spells.custom.ChooseSignatureSpell
- chosenCard - Variable in class net.demilich.metastone.game.actions.PlayChooseOneCardAction
- clamp(double, double, double) - Static method in class net.demilich.metastone.game.utils.MathUtils
- clamp(int, int, int) - Static method in class net.demilich.metastone.game.utils.MathUtils
- clamp01(double) - Static method in class net.demilich.metastone.game.utils.MathUtils
- CLASS - Enum constant in enum class net.demilich.metastone.game.cards.dynamicdescription.DynamicDescriptionArg
- CLASS - Enum constant in enum class net.demilich.metastone.game.spells.desc.aura.AuraArg
- CLASS - Enum constant in enum class net.demilich.metastone.game.spells.desc.condition.ConditionArg
- CLASS - Enum constant in enum class net.demilich.metastone.game.spells.desc.filter.EntityFilterArg
- CLASS - Enum constant in enum class net.demilich.metastone.game.spells.desc.manamodifier.CardCostModifierArg
-
The
Class
of this description. - CLASS - Enum constant in enum class net.demilich.metastone.game.spells.desc.source.CardSourceArg
- CLASS - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
The Java subclass of
Spell
, located in thenet.demilich.metastone.game.spells
ornet.demilich.metastone.game.spells.custom
(when prefixed with"custom."
) packages in this module. - CLASS - Enum constant in enum class net.demilich.metastone.game.spells.desc.trigger.EventTriggerArg
- CLASS - Enum constant in enum class net.demilich.metastone.game.spells.desc.valueprovider.ValueProviderArg
- CLASSIC - Static variable in class net.demilich.metastone.game.cards.CardSet
- clear() - Method in class net.demilich.metastone.game.behaviour.TranspositionTable
- clear(Entity) - Method in class net.demilich.metastone.game.spells.custom.EnvironmentEntityList
- clearAddedDeathrattles() - Method in interface net.demilich.metastone.game.cards.HasDeathrattleEnchantments
-
Removes all the deathrattles that were added by effects other than those printed on this card / actor.
- ClearOverloadSpell - Class in net.demilich.metastone.game.spells
-
Deprecated.
- ClearOverloadSpell() - Constructor for class net.demilich.metastone.game.spells.ClearOverloadSpell
-
Deprecated.
- ClearStorageSpell - Class in net.demilich.metastone.game.spells.custom
-
Clears all entities stored by
StoreEntitySpell
on thetarget
. - ClearStorageSpell() - Constructor for class net.demilich.metastone.game.spells.custom.ClearStorageSpell
- clone() - Method in class com.hiddenswitch.spellsource.common.GameState
- clone() - Method in class net.demilich.metastone.game.actions.DiscoverAction
- clone() - Method in class net.demilich.metastone.game.actions.EndTurnAction
- clone() - Method in class net.demilich.metastone.game.actions.GameAction
- clone() - Method in class net.demilich.metastone.game.actions.HeroPowerAction
- clone() - Method in class net.demilich.metastone.game.actions.OpenerAction
- clone() - Method in class net.demilich.metastone.game.actions.OpenerAsPlaySpellCardAction
- clone() - Method in class net.demilich.metastone.game.actions.PhysicalAttackAction
- clone() - Method in class net.demilich.metastone.game.actions.PlayCardAction
- clone() - Method in class net.demilich.metastone.game.actions.PlayChooseOneCardAction
- clone() - Method in class net.demilich.metastone.game.actions.PlayHeroCardAction
- clone() - Method in class net.demilich.metastone.game.actions.PlayHeroCardChooseOneAction
- clone() - Method in class net.demilich.metastone.game.actions.PlayMinionCardAction
- clone() - Method in class net.demilich.metastone.game.actions.PlaySpellCardAction
- clone() - Method in class net.demilich.metastone.game.actions.PlayWeaponCardAction
- clone() - Method in class net.demilich.metastone.game.behaviour.AbstractBehaviour
- clone() - Method in interface net.demilich.metastone.game.behaviour.Behaviour
-
Clones the behaviour, typically with its internal state.
- clone() - Method in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
- clone() - Method in class net.demilich.metastone.game.behaviour.GreedyOptimizeTurn
- clone() - Method in class net.demilich.metastone.game.behaviour.heuristic.FeatureVector
- clone() - Method in class net.demilich.metastone.game.cards.AttributeMap
- clone() - Method in class net.demilich.metastone.game.cards.BaseMap
- clone() - Method in class net.demilich.metastone.game.cards.Card
-
Clones a card's base fields, like name and description, and its current attributes.
- clone() - Method in class net.demilich.metastone.game.cards.CardArrayList
- clone() - Method in class net.demilich.metastone.game.cards.CardAttributeMap
- clone() - Method in interface net.demilich.metastone.game.cards.CardList
-
Calls
Card.clone()
on every card in this list and returns a new copy of this list. - clone() - Method in class net.demilich.metastone.game.cards.CardZone
-
Creates a new zone and adds a clone of all the cards to it.
- clone() - Method in class net.demilich.metastone.game.cards.costmodifier.CardCostModifier
- clone() - Method in class net.demilich.metastone.game.cards.costmodifier.ToggleCostModifier
- clone() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- clone() - Method in class net.demilich.metastone.game.cards.desc.Desc
- clone() - Method in class net.demilich.metastone.game.cards.dynamicdescription.DynamicDescriptionDesc
- clone() - Method in class net.demilich.metastone.game.decks.CollectionDeck
- clone() - Method in interface net.demilich.metastone.game.decks.Deck
- clone() - Method in class net.demilich.metastone.game.decks.DeckCreateRequest
- clone() - Method in class net.demilich.metastone.game.decks.GameDeck
- clone() - Method in class net.demilich.metastone.game.entities.Actor
- clone() - Method in class net.demilich.metastone.game.entities.Entity
-
Clone an entity, including its ID and location.
- clone() - Method in class net.demilich.metastone.game.entities.EntityZone
- clone() - Method in class net.demilich.metastone.game.entities.heroes.Hero
- clone() - Method in class net.demilich.metastone.game.entities.minions.Minion
- clone() - Method in class net.demilich.metastone.game.entities.weapons.Weapon
- clone() - Method in class net.demilich.metastone.game.environment.EnvironmentAftermathTriggeredList.EnvironmentAftermathTriggeredItem
- clone() - Method in class net.demilich.metastone.game.events.GameEvent
- clone() - Method in class net.demilich.metastone.game.GameContext
-
Clones the game context, recursively cloning the game state and logic.
- clone() - Method in class net.demilich.metastone.game.logic.CustomCloneable
- clone() - Method in class net.demilich.metastone.game.logic.DeckTrace
- clone() - Method in class net.demilich.metastone.game.logic.GameLogic
-
Clones the game logic.
- clone() - Method in class net.demilich.metastone.game.logic.MulliganTrace
- clone() - Method in class net.demilich.metastone.game.logic.Trace
- clone() - Method in class net.demilich.metastone.game.logic.XORShiftRandom
- clone() - Method in class net.demilich.metastone.game.Player
-
Clones the underlying data and behaviour of this player instance.
- clone() - Method in class net.demilich.metastone.game.spells.aura.Aura
- clone() - Method in class net.demilich.metastone.game.spells.aura.StatefulAttributeValueAura
- clone() - Method in class net.demilich.metastone.game.spells.desc.aura.AuraDesc
- clone() - Method in class net.demilich.metastone.game.spells.desc.condition.ConditionDesc
- clone() - Method in class net.demilich.metastone.game.spells.desc.filter.EntityFilterDesc
- clone() - Method in class net.demilich.metastone.game.spells.desc.LambdaSpellDesc
- clone() - Method in class net.demilich.metastone.game.spells.desc.manamodifier.CardCostModifierDesc
- clone() - Method in class net.demilich.metastone.game.spells.desc.OpenerDesc
- clone() - Method in class net.demilich.metastone.game.spells.desc.source.CardSourceDesc
- clone() - Method in class net.demilich.metastone.game.spells.desc.SpellDesc
- clone() - Method in class net.demilich.metastone.game.spells.desc.trigger.EventTriggerDesc
- clone() - Method in class net.demilich.metastone.game.spells.desc.valueprovider.ValueProviderDesc
- clone() - Method in class net.demilich.metastone.game.spells.trigger.Aftermath
- clone() - Method in class net.demilich.metastone.game.spells.trigger.Enchantment
- clone() - Method in class net.demilich.metastone.game.spells.trigger.EventTrigger
- clone() - Method in class net.demilich.metastone.game.spells.trigger.secrets.Quest
- clone() - Method in class net.demilich.metastone.game.spells.trigger.secrets.Secret
- clone() - Method in interface net.demilich.metastone.game.spells.trigger.Trigger
-
Clones the trigger with any internal state.
- clone() - Method in class net.demilich.metastone.game.statistics.GameStatistics
- clone() - Method in class net.demilich.metastone.game.targeting.IdFactoryImpl
- CloneMinionSpell - Class in net.demilich.metastone.game.spells
-
Deprecated.Use SummonSpell instead.
- CloneMinionSpell() - Constructor for class net.demilich.metastone.game.spells.CloneMinionSpell
-
Deprecated.
- close() - Method in class net.demilich.metastone.game.GameContext
-
Clears state to ensure this context isn't referencing it anymore.
- COLLECTIBLE - Enum constant in enum class net.demilich.metastone.game.cards.desc.CardDescArg
- CollectibleFilter - Class in net.demilich.metastone.game.spells.desc.filter
-
Filter entities based on whether their source card is collectible or not
- CollectibleFilter(EntityFilterDesc) - Constructor for class net.demilich.metastone.game.spells.desc.filter.CollectibleFilter
- COLLECTION_IDS - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
This
String
array is the collections this card belongs to, like the deck, user and alliances. - COLLECTION_NAME - Enum constant in enum class net.demilich.metastone.game.spells.desc.source.CardSourceArg
- CollectionDeck - Class in net.demilich.metastone.game.decks
-
Indicates a deck from the player's online collection.
- CollectionDeck() - Constructor for class net.demilich.metastone.game.decks.CollectionDeck
- CollectionDeck(String) - Constructor for class net.demilich.metastone.game.decks.CollectionDeck
- COLOR - Enum constant in enum class net.demilich.metastone.game.cards.desc.CardDescArg
- com.hiddenswitch.spellsource.cards.base - package com.hiddenswitch.spellsource.cards.base
-
Contains the base card resources class for adding important basic cards, like the neutral hero, to the collection.
- com.hiddenswitch.spellsource.common - package com.hiddenswitch.spellsource.common
-
A collection of common classes used throughout the Spellsource code base.
- com.hiddenswitch.spellsource.draft - package com.hiddenswitch.spellsource.draft
-
Contains code that implements the drafting mechanic in Spellsource.
- com.hiddenswitch.spellsource.util - package com.hiddenswitch.spellsource.util
-
Utilities for working with community deck strings, data management, logging and serialization.
- CombinedSource - Class in net.demilich.metastone.game.spells.desc.source
-
Combines multiple card sources together and includes cards from all of them.
- CombinedSource(CardSourceDesc) - Constructor for class net.demilich.metastone.game.spells.desc.source.CombinedSource
- COMBO - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
When a combo
Card
is played after another card, an effect is triggered. - ComboCondition - Class in net.demilich.metastone.game.spells.desc.condition
-
true
if the player has played a card prior to this one this turn (i.e. - ComboCondition(ConditionDesc) - Constructor for class net.demilich.metastone.game.spells.desc.condition.ComboCondition
- ComboSpell - Class in net.demilich.metastone.game.spells
-
Shorthand for a
ConditionalEffectSpell
that only plays the spell if the player has activated a combo (i.e., previously played a card earlier this turn). - ComboSpell() - Constructor for class net.demilich.metastone.game.spells.ComboSpell
- compare(List<Entity>, List<Entity>) - Method in class net.demilich.metastone.game.spells.desc.condition.EntityEqualityCondition
- compareTo(GameContext) - Method in class net.demilich.metastone.game.GameContext
-
Returns
0
if the two game contexts have the same meaningful game state. - compareTo(Entity) - Method in class net.demilich.metastone.game.cards.Card
- compareTo(Entity) - Method in class net.demilich.metastone.game.entities.Entity
- compareTo(EntityZone<? extends Entity>) - Method in class net.demilich.metastone.game.entities.EntityZone
- ComparisonCondition - Class in net.demilich.metastone.game.spells.desc.condition
-
Compares the values using the expression
ConditionArg.VALUE1
ConditionArg.OPERATION
ConditionArg.VALUE2
. - ComparisonCondition(ConditionDesc) - Constructor for class net.demilich.metastone.game.spells.desc.condition.ComparisonCondition
- ComparisonOperation - Enum Class in net.demilich.metastone.game.spells.desc.filter
- COMPLETE - Enum constant in enum class com.hiddenswitch.spellsource.draft.DraftStatus
-
The draft is complete and the user can enter a queue with the deck built using the draft.
- concede(int) - Method in class net.demilich.metastone.game.GameContext
-
Concedes a game by destroying the specified player's hero and calling end game.
- concede(int) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Concedes the game for the specified player.
- condition - Variable in class net.demilich.metastone.game.spells.desc.OpenerDesc
- Condition - Class in net.demilich.metastone.game.spells.desc.condition
-
A condition is used for true or false comparisons in the
CardDesc
card JSON. - Condition(ConditionDesc) - Constructor for class net.demilich.metastone.game.spells.desc.condition.Condition
- CONDITION - Enum constant in enum class net.demilich.metastone.game.cards.desc.CardDescArg
- CONDITION - Enum constant in enum class net.demilich.metastone.game.cards.desc.ParseValueType
-
A
Condition
. - CONDITION - Enum constant in enum class net.demilich.metastone.game.cards.dynamicdescription.DynamicDescriptionArg
- CONDITION - Enum constant in enum class net.demilich.metastone.game.spells.desc.aura.AuraArg
- CONDITION - Enum constant in enum class net.demilich.metastone.game.spells.desc.BattlecryDescArg
- CONDITION - Enum constant in enum class net.demilich.metastone.game.spells.desc.manamodifier.CardCostModifierArg
-
A
Condition
for this card cost modifier to be active - CONDITION - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
A
Condition
that is evaluated against atarget
. - CONDITION - Enum constant in enum class net.demilich.metastone.game.spells.desc.valueprovider.ValueProviderArg
- CONDITION_ARRAY - Enum constant in enum class net.demilich.metastone.game.cards.desc.ParseValueType
-
An array of
Condition
objects. - CONDITIONAL_ATTACK_BONUS - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
A conditional attack bonus for the
Actor
that corresponds to bonuses from anEnrageSpell
,ConditionalAttackBonusSpell
orSetAttributeSpell
. - ConditionalAttackBonusSpell - Class in net.demilich.metastone.game.spells
-
Deprecated.Use a
BuffAura
instead. For example, to give a minion +1 attack only if the friendly player has more than 3 cards:"aura": { "class": "BuffAura", "attackBonus": 1, "hpBonus": 0, "target": "SELF", "condition": { "class": "CardCountCondition", "targetPlayer": "SELF", "operation": "GREATER", "value": 3 } }
Gives a minion an attack bonus with a given condition.
- ConditionalAttackBonusSpell() - Constructor for class net.demilich.metastone.game.spells.ConditionalAttackBonusSpell
-
Deprecated.
- ConditionalDescription - Class in net.demilich.metastone.game.cards.dynamicdescription
-
A conditional description will use
DynamicDescriptionArg.DESCRIPTION1
when the condition istrue
, orDynamicDescriptionArg.DESCRIPTION2
when it isfalse
. - ConditionalDescription(DynamicDescriptionDesc) - Constructor for class net.demilich.metastone.game.cards.dynamicdescription.ConditionalDescription
- ConditionalEffectSpell - Class in net.demilich.metastone.game.spells
-
Casts
SpellArg.SPELL1
and evaluates theSpellArg.CONDITION
: if it is fulfilled, castsSpellArg.SPELL2
. - ConditionalEffectSpell() - Constructor for class net.demilich.metastone.game.spells.ConditionalEffectSpell
- ConditionalSpell - Class in net.demilich.metastone.game.spells
-
Casts the
SpellArg.SPELL
if theCondition
inSpellArg.CONDITION
is met; or, when aSpellArg.SPELLS
array is specified, casts the spell in the array if its correspondingSpellArg.CONDITIONS
array member is met. - ConditionalSpell() - Constructor for class net.demilich.metastone.game.spells.ConditionalSpell
- ConditionalValueProvider - Class in net.demilich.metastone.game.spells.desc.valueprovider
-
When the
ValueProviderArg.CONDITION
evalutes totrue
, return the value fromValueProviderArg.IF_TRUE
. - ConditionalValueProvider(ValueProviderDesc) - Constructor for class net.demilich.metastone.game.spells.desc.valueprovider.ConditionalValueProvider
- ConditionArg - Enum Class in net.demilich.metastone.game.spells.desc.condition
- ConditionDesc - Class in net.demilich.metastone.game.spells.desc.condition
- ConditionDesc() - Constructor for class net.demilich.metastone.game.spells.desc.condition.ConditionDesc
- ConditionDesc(Class<? extends Condition>) - Constructor for class net.demilich.metastone.game.spells.desc.condition.ConditionDesc
- ConditionDesc(Map<ConditionArg, Object>) - Constructor for class net.demilich.metastone.game.spells.desc.condition.ConditionDesc
- ConditionDescDeserializer - Class in net.demilich.metastone.game.cards.desc
- ConditionDescDeserializer() - Constructor for class net.demilich.metastone.game.cards.desc.ConditionDescDeserializer
- conditionMet(int, Card) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Returns
true
if any the card's conditions are met. - CONDITIONS - Enum constant in enum class net.demilich.metastone.game.spells.desc.condition.ConditionArg
- CONDITIONS - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
The array version of
SpellArg.CONDITION
. - contains(Card) - Method in class net.demilich.metastone.game.cards.CardArrayList
- contains(Card) - Method in interface net.demilich.metastone.game.cards.CardList
-
Checks if the list has the specific reference to a card.
- contains(Card) - Method in class net.demilich.metastone.game.cards.CardZone
- contains(Statistic) - Method in class net.demilich.metastone.game.statistics.GameStatistics
- containsCard(String) - Method in interface net.demilich.metastone.game.cards.CardList
-
Checks if there is a card in this list whose
Card.getCardId()
matches the specified card ID. - containsCard(Card) - Method in interface net.demilich.metastone.game.cards.CardList
-
Checks if there is a card in this list whose
Card.getCardId()
matches the specified instance of a card. - containsHowMany(Card) - Method in class net.demilich.metastone.game.decks.GameDeck
- containsKey(Object) - Method in class net.demilich.metastone.game.cards.CardAttributeMap
- context - Variable in class net.demilich.metastone.game.logic.GameLogic
- contextReady() - Method in class net.demilich.metastone.game.logic.GameLogic
-
Indicates that the
GameContext
references in this instance is ready. - ControlsSecretCondition - Class in net.demilich.metastone.game.spells.desc.condition
- ControlsSecretCondition(ConditionDesc) - Constructor for class net.demilich.metastone.game.spells.desc.condition.ControlsSecretCondition
- convert(EnchantmentDesc) - Method in class net.demilich.metastone.game.cards.desc.BattlefieldEnchantmentDescConverter
- convert(EnchantmentDesc) - Method in class net.demilich.metastone.game.cards.desc.DeckEnchantmentDescConverter
- convert(EnchantmentDesc) - Method in class net.demilich.metastone.game.cards.desc.GameEnchantmentDescConverter
- convert(EnchantmentDesc) - Method in class net.demilich.metastone.game.cards.desc.PassiveEnchantmentDescConverter
- COPIED_FROM - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
An
EntityReference
that, when set, indicates which entity this copied, if the entity copied withEntity.getCopy()
. - CopiesHaveBeenPlayedFilter - Class in net.demilich.metastone.game.spells.desc.filter
-
Returns entities that have been played by
EntityFilterArg.TARGET_PLAYER
. - CopiesHaveBeenPlayedFilter(EntityFilterDesc) - Constructor for class net.demilich.metastone.game.spells.desc.filter.CopiesHaveBeenPlayedFilter
- COPPER - Static variable in class net.demilich.metastone.game.entities.heroes.HeroClass
- copyCard(GameContext, Player, Entity, Card, BiConsumer<Integer, Card>) - Static method in class net.demilich.metastone.game.spells.CopyCardSpell
-
Copies a card with its enchantments.
- CopyCardEnchantmentsSpell - Class in net.demilich.metastone.game.spells.custom
-
Copies enchantments written on the
SpellUtils.getCards(GameContext, Player, Entity, Entity, SpellDesc, int)
cards and thetarget
(when specified) to the target specified inSpellArg.SECONDARY_TARGET
. - CopyCardEnchantmentsSpell() - Constructor for class net.demilich.metastone.game.spells.custom.CopyCardEnchantmentsSpell
- CopyCardSpell - Class in net.demilich.metastone.game.spells
-
Copies a
target
's source card. - CopyCardSpell() - Constructor for class net.demilich.metastone.game.spells.CopyCardSpell
- CopyDeathrattleSpell - Class in net.demilich.metastone.game.spells
-
Copies the
target
actor's deathrattles onto thesource
(i.e., result ofEntityReference.SELF
) of this spell. - CopyDeathrattleSpell() - Constructor for class net.demilich.metastone.game.spells.CopyDeathrattleSpell
- copyEnchantments(Player, Entity, Entity, Entity) - Method in class net.demilich.metastone.game.logic.GameLogic
- copyEnchantments(Player, Entity, Entity, Entity, Predicate<Enchantment>) - Method in class net.demilich.metastone.game.logic.GameLogic
- copyEnchantments(Player, Entity, Entity, Entity, Predicate<Enchantment>, boolean) - Method in class net.demilich.metastone.game.logic.GameLogic
- CopyEnchantmentsSpell - Class in net.demilich.metastone.game.spells.custom
-
Copies enchantments from the
SpellArg.SECONDARY_TARGET
to thetarget
. - CopyEnchantmentsSpell() - Constructor for class net.demilich.metastone.game.spells.custom.CopyEnchantmentsSpell
- CopyHeroPower - Class in net.demilich.metastone.game.spells
-
Calls
ChangeHeroPowerSpell
withSpellArg.CARD
equal to the casting player's opponent's hero power card ID. - CopyHeroPower() - Constructor for class net.demilich.metastone.game.spells.CopyHeroPower
- CopyLastRoastedCardSpell - Class in net.demilich.metastone.game.spells.custom
-
Puts a copy of the last card the player
Attribute.ROASTED
into the player'sSpellsource.ZonesMessage.Zones.HAND
. - CopyLastRoastedCardSpell() - Constructor for class net.demilich.metastone.game.spells.custom.CopyLastRoastedCardSpell
- CopyLowestCostMinionSpell - Class in net.demilich.metastone.game.spells.custom
-
Copies the lowest cost
Card
of typeSpellsource.CardTypeMessage.CardType.MINION
in the player's hand. - CopyLowestCostMinionSpell() - Constructor for class net.demilich.metastone.game.spells.custom.CopyLowestCostMinionSpell
- CopyMinionSpell - Class in net.demilich.metastone.game.spells.custom
- CopyMinionSpell() - Constructor for class net.demilich.metastone.game.spells.custom.CopyMinionSpell
- copyTo(Desc<T, V>) - Method in class net.demilich.metastone.game.cards.desc.Desc
- copyToActor - Variable in class net.demilich.metastone.game.spells.trigger.Enchantment
- CORAL - Static variable in class net.demilich.metastone.game.entities.heroes.HeroClass
- corpse(Actor, EntityLocation, boolean) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Corpses a target, setting it to be destroyed on the appropriate turn, firing a kill event, and clearing the environment variables associated with the kill event.
- COSTS_HEALTH_INSTEAD_OF_MANA - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Indicates that this
Card
costs health instead of mana when played from the hand. - COUNT_BY_VALUE - Enum constant in enum class net.demilich.metastone.game.cards.desc.CardDescArg
- COUNT_BY_VALUE - Enum constant in enum class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDescArg
- COUNT_UNTIL_CAST - Enum constant in enum class net.demilich.metastone.game.cards.desc.CardDescArg
- COUNT_UNTIL_CAST - Enum constant in enum class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDescArg
- countByValue - Variable in class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDesc
- countByValue - Variable in class net.demilich.metastone.game.spells.trigger.Enchantment
- CountCondition - Class in net.demilich.metastone.game.spells.desc.condition
-
true
if theConditionArg.TARGET_PLAYER
has en entity-count [ConditionArg.OPERATION
]ConditionArg.VALUE
cards. - CountCondition(ConditionDesc) - Constructor for class net.demilich.metastone.game.spells.desc.condition.CountCondition
- COUNTERED - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
When a
Card
is played and countered (by e.g. - countUntilCast - Variable in class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDesc
- countUntilCast - Variable in class net.demilich.metastone.game.spells.trigger.Enchantment
- create() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- create() - Method in class net.demilich.metastone.game.cards.desc.Desc
-
Per-instance memoized desc create instance.
- create() - Static method in class net.demilich.metastone.game.spells.ClearOverloadSpell
-
Deprecated.
- create() - Static method in class net.demilich.metastone.game.spells.custom.CopyMinionSpell
-
Creates this spell.
- create() - Static method in class net.demilich.metastone.game.spells.custom.CreateCardFromChoicesSpell
- create() - Static method in class net.demilich.metastone.game.spells.custom.DamageAdjacentMinionsSpell
- create() - Static method in class net.demilich.metastone.game.spells.custom.DamageOppositeMinionsSpell
- create() - Static method in class net.demilich.metastone.game.spells.custom.DiscoverDiscardSpell
- create() - Static method in class net.demilich.metastone.game.spells.custom.MergeSpell
- create() - Static method in class net.demilich.metastone.game.spells.custom.MindControlOneTurnSpell
- create() - Static method in class net.demilich.metastone.game.spells.custom.SummonFriendlyMinionsThatDiedSpell
- create() - Static method in class net.demilich.metastone.game.spells.DamageSpell
- create() - Static method in class net.demilich.metastone.game.spells.DecaySpell
- create() - Static method in class net.demilich.metastone.game.spells.desc.filter.AndFilter
- create() - Method in class net.demilich.metastone.game.spells.desc.LambdaSpellDesc
- create() - Static method in class net.demilich.metastone.game.spells.desc.source.CatalogueSource
- create() - Static method in class net.demilich.metastone.game.spells.desc.source.DeckSource
- create() - Static method in class net.demilich.metastone.game.spells.desc.source.GraveyardActorsSource
- create() - Static method in class net.demilich.metastone.game.spells.desc.source.HandSource
- create() - Static method in class net.demilich.metastone.game.spells.desc.source.UnweightedCatalogueSource
- create() - Method in class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDesc
-
Creates an enchantment represented by this configuration.
- create() - Static method in class net.demilich.metastone.game.spells.desc.valueprovider.ManaCostProvider
- create() - Static method in class net.demilich.metastone.game.spells.DestroySpell
- create() - Static method in class net.demilich.metastone.game.spells.DiscardSpell
- create() - Static method in class net.demilich.metastone.game.spells.DiscoverSpell
- create() - Static method in class net.demilich.metastone.game.spells.DoubleAttackSpell
- create() - Static method in class net.demilich.metastone.game.spells.DrawCardSpell
- create() - Static method in class net.demilich.metastone.game.spells.EquipWeaponSpell
-
Creates this spell.
- create() - Static method in class net.demilich.metastone.game.spells.ForceDeathPhaseSpell
- create() - Static method in class net.demilich.metastone.game.spells.NullSpell
-
Creates a spell that does nothing.
- create() - Static method in class net.demilich.metastone.game.spells.OverrideTargetSpell
- create() - Static method in class net.demilich.metastone.game.spells.PutCopyInHandSpell
- create() - Static method in class net.demilich.metastone.game.spells.ReceiveCardSpell
-
Creates this spell to simply receive the
target
. - create() - Static method in class net.demilich.metastone.game.spells.ReturnTargetToHandSpell
- create() - Static method in class net.demilich.metastone.game.spells.SilenceSpell
- create() - Static method in class net.demilich.metastone.game.spells.StealRandomSecretSpell
- create() - Static method in class net.demilich.metastone.game.spells.SwapAttackAndHpSpell
- create() - Static method in class net.demilich.metastone.game.spells.SwapAttackSpell
- create() - Static method in class net.demilich.metastone.game.spells.SwapHpSpell
- create() - Static method in class net.demilich.metastone.game.spells.TransformToRandomMinionSpell
- create() - Static method in class net.demilich.metastone.game.spells.trigger.AfterCardPlayedTrigger
- create() - Static method in class net.demilich.metastone.game.spells.trigger.BeforeMinionSummonedTrigger
- create() - Static method in class net.demilich.metastone.game.spells.trigger.BoardChangedTrigger
- create() - Static method in class net.demilich.metastone.game.spells.trigger.CardPlayedTrigger
- create() - Static method in class net.demilich.metastone.game.spells.trigger.CardReceivedTrigger
- create() - Static method in class net.demilich.metastone.game.spells.trigger.DamageReceivedTrigger
- create() - Static method in class net.demilich.metastone.game.spells.trigger.DidEndSequenceTrigger
- create() - Static method in class net.demilich.metastone.game.spells.trigger.MinionDeathTrigger
-
Creates a minion death trigger that fires when its host dies.
- create() - Static method in class net.demilich.metastone.game.spells.trigger.NullTrigger
- create(int) - Static method in class net.demilich.metastone.game.spells.CastRandomSpellSpell
- create(int) - Static method in class net.demilich.metastone.game.spells.custom.DiscoverDiscardSpell
- create(int) - Static method in class net.demilich.metastone.game.spells.DamageSpell
- create(int) - Static method in class net.demilich.metastone.game.spells.DecaySpell
- create(int) - Static method in class net.demilich.metastone.game.spells.DiscardCardsFromDeckSpell
- create(int) - Static method in class net.demilich.metastone.game.spells.DiscardSpell
- create(int) - Static method in class net.demilich.metastone.game.spells.DrawCardSpell
- create(int) - Static method in class net.demilich.metastone.game.spells.EnrageSpell
-
Creates this spell to increase the attack by
attackBonus
when the minion takes damage - create(int) - Static method in class net.demilich.metastone.game.spells.GainManaSpell
-
Gain a fixed amount of mana.
- create(int) - Static method in class net.demilich.metastone.game.spells.HealingMissilesSpell
- create(int) - Static method in class net.demilich.metastone.game.spells.HealSpell
- create(int) - Static method in class net.demilich.metastone.game.spells.ModifyDurabilitySpell
- create(int) - Static method in class net.demilich.metastone.game.spells.MultiTargetSpell
- create(int) - Static method in class net.demilich.metastone.game.spells.PutCopyInHandSpell
- create(int) - Static method in class net.demilich.metastone.game.spells.SetAttackSpell
- create(int) - Static method in class net.demilich.metastone.game.spells.SetHeroHpSpell
-
Deprecated.
- create(int) - Static method in class net.demilich.metastone.game.spells.SetHpSpell
- create(int) - Static method in class net.demilich.metastone.game.spells.TemporaryAttackSpell
- create(int, boolean) - Static method in class net.demilich.metastone.game.spells.SetAttackSpell
- create(int, boolean) - Static method in class net.demilich.metastone.game.spells.SetHpSpell
- create(int, int) - Static method in class net.demilich.metastone.game.spells.BuffHeroSpell
-
Deprecated.
- create(int, int, EntityReference) - Static method in class net.demilich.metastone.game.spells.aura.BuffAura
- create(int, Attribute) - Static method in class net.demilich.metastone.game.spells.EnrageSpell
-
Creates this spell to increase the attack and apply an attribute when the minion takes damage.
- create(int, ComparisonOperation) - Static method in class net.demilich.metastone.game.spells.desc.filter.ManaCostFilter
- create(int, AlgebraicOperation) - Static method in class net.demilich.metastone.game.spells.ModifyDamageSpell
- create(Spellsource.CardTypeMessage.CardType) - Static method in class net.demilich.metastone.game.spells.desc.filter.CardFilter
- create(Spellsource.CardTypeMessage.CardType, String) - Static method in class net.demilich.metastone.game.spells.desc.filter.CardFilter
- create(Spellsource.EntityTypeMessage.EntityType) - Static method in class net.demilich.metastone.game.spells.desc.filter.EntityTypeFilter
- create(Object, Object, Predicate<Entity>) - Static method in class net.demilich.metastone.game.spells.AuraBuffSpell
- create(Object) - Static method in class net.demilich.metastone.game.spells.AuraBuffSpell
- create(Object) - Static method in class net.demilich.metastone.game.spells.desc.valueprovider.OriginalValueProvider
- create(Object, Object) - Static method in class net.demilich.metastone.game.spells.AuraBuffSpell
- create(Object, Object, AlgebraicOperation) - Static method in class net.demilich.metastone.game.spells.desc.valueprovider.AlgebraicValueProvider
- create(String) - Static method in class net.demilich.metastone.game.spells.CastCardsSpell
- create(String) - Static method in class net.demilich.metastone.game.spells.ChangeHeroPowerSpell
- create(String) - Static method in class net.demilich.metastone.game.spells.ChangeHeroSpell
-
Changes the casting player's hero to the specified card ID.
- create(String) - Static method in class net.demilich.metastone.game.spells.desc.condition.CardPropertyCondition
- create(String) - Static method in class net.demilich.metastone.game.spells.desc.filter.SpecificCardFilter
- create(String) - Static method in class net.demilich.metastone.game.spells.EquipWeaponSpell
- create(String) - Static method in class net.demilich.metastone.game.spells.ReceiveCardSpell
-
Creates this spell to receive the specified card.
- create(String) - Static method in class net.demilich.metastone.game.spells.SetDescriptionSpell
- create(String) - Static method in class net.demilich.metastone.game.spells.SetRaceSpell
- create(String) - Static method in class net.demilich.metastone.game.spells.ShuffleToDeckSpell
- create(String) - Static method in class net.demilich.metastone.game.spells.SummonSpell
-
Summons the specified minion card ID
- create(String) - Static method in class net.demilich.metastone.game.spells.TransformMinionSpell
- create(String...) - Static method in class net.demilich.metastone.game.spells.ReceiveCardSpell
-
Creates this spell to receive one of the specified cards.
- create(String[]) - Static method in class net.demilich.metastone.game.spells.SummonSpell
-
Summons the specified minion cards by their IDs.
- create(String, boolean) - Static method in class net.demilich.metastone.game.spells.SetCardSpell
- create(Attribute) - Static method in class net.demilich.metastone.game.spells.AddAttributeSpell
-
Creates an instance of this spell without a target specified.
- create(Attribute) - Static method in class net.demilich.metastone.game.spells.desc.valueprovider.AttributeValueProvider
- create(Attribute) - Static method in class net.demilich.metastone.game.spells.RemoveAttributeSpell
- create(Attribute, int) - Static method in class net.demilich.metastone.game.spells.desc.filter.AttributeFilter
- create(Attribute, int) - Static method in class net.demilich.metastone.game.spells.ModifyAttributeSpell
- create(Attribute, Object) - Static method in class net.demilich.metastone.game.spells.SetAttributeSpell
- create(Attribute, String, EntityReference) - Static method in class net.demilich.metastone.game.spells.SummonCardFromAttributeSpell
- create(Attribute, ValueProvider) - Static method in class net.demilich.metastone.game.spells.desc.filter.AttributeFilter
- create(Attribute, EventTrigger) - Static method in class net.demilich.metastone.game.spells.AddAttributeSpell
-
Creates an instance of this spell with the specified attribute and a revert trigger
- create(Attribute, EntityReference) - Static method in class net.demilich.metastone.game.spells.desc.valueprovider.AttributeValueProvider
- create(Card) - Static method in class net.demilich.metastone.game.spells.CopyCardSpell
- create(Card) - Static method in class net.demilich.metastone.game.spells.EquipWeaponSpell
- create(Card...) - Static method in class net.demilich.metastone.game.spells.SummonSpell
-
Creates this spell to summon the specified minion cards
- create(Card, int) - Static method in class net.demilich.metastone.game.spells.CopyCardSpell
- create(Card, Aura) - Static method in class net.demilich.metastone.game.spells.custom.AddEnchantmentToMinionCardSpell
- create(Card, EnchantmentDesc) - Static method in class net.demilich.metastone.game.spells.custom.AddEnchantmentToMinionCardSpell
- create(BoardPositionRelative, Card...) - Static method in class net.demilich.metastone.game.spells.SummonSpell
-
Creates this spell to summon the specified minions relative to the source minion (used in a battlecry).
- create(Minion) - Static method in class net.demilich.metastone.game.spells.TransformMinionSpell
- create(Player, Card) - Static method in class net.demilich.metastone.game.spells.trigger.MinionSummonedTrigger
-
Fires when a minion is summoned from this specific card
- create(Condition...) - Static method in class net.demilich.metastone.game.spells.desc.condition.OrCondition
- create(Condition[], SpellDesc[]) - Static method in class net.demilich.metastone.game.spells.ConditionalSpell
- create(EntityFilter...) - Static method in class net.demilich.metastone.game.spells.desc.filter.AndFilter
- create(EntityFilter, int) - Static method in class net.demilich.metastone.game.spells.ReceiveCardSpell
-
Creates this spell to put
cards
amount of cards filtered from the catalogue into the player's hand. - create(CardCostModifierDesc, EntityReference) - Static method in class net.demilich.metastone.game.spells.CardCostModifierSpell
-
Creates this spell.
- create(CardSource, EntityFilter, int) - Static method in class net.demilich.metastone.game.spells.ReceiveCardSpell
-
Creates this spell to put
cards
amount of cards filtered from thesource
into the player's hand. - create(SpellDesc) - Static method in class net.demilich.metastone.game.spells.AddDeathrattleSpell
- create(SpellDesc) - Static method in class net.demilich.metastone.game.spells.CastAfterSequenceSpell
- create(SpellDesc) - Static method in class net.demilich.metastone.game.spells.DiscoverSpell
- create(SpellDesc...) - Static method in class net.demilich.metastone.game.spells.MetaSpell
- create(SpellDesc, int) - Static method in class net.demilich.metastone.game.spells.CastRepeatedlySpell
- create(SpellDesc, SpellDesc) - Static method in class net.demilich.metastone.game.spells.AdjacentEffectSpell
- create(SpellDesc, SpellDesc, boolean) - Static method in class net.demilich.metastone.game.spells.ComboSpell
- create(EnchantmentDesc) - Static method in class net.demilich.metastone.game.spells.AddEnchantmentSpell
- create(ValueProvider) - Static method in class net.demilich.metastone.game.spells.ConditionalAttackBonusSpell
-
Deprecated.
- create(PlayerAttribute) - Static method in class net.demilich.metastone.game.spells.desc.valueprovider.PlayerAttributeValueProvider
- create(TargetPlayer) - Static method in class net.demilich.metastone.game.spells.desc.source.GraveyardActorsSource
- create(TargetPlayer) - Static method in class net.demilich.metastone.game.spells.DestroySecretsSpell
- create(TargetPlayer) - Static method in class net.demilich.metastone.game.spells.trigger.FatigueTrigger
- create(TargetPlayer) - Static method in class net.demilich.metastone.game.spells.trigger.GameStartTrigger
- create(TargetPlayer) - Static method in class net.demilich.metastone.game.spells.trigger.PreGameStartTrigger
- create(TargetPlayer) - Static method in class net.demilich.metastone.game.spells.trigger.TurnEndTrigger
- create(TargetPlayer) - Static method in class net.demilich.metastone.game.spells.trigger.TurnStartTrigger
- create(TargetPlayer, Spellsource.EntityTypeMessage.EntityType) - Static method in class net.demilich.metastone.game.spells.trigger.DamageReceivedTrigger
- create(TargetPlayer, String) - Static method in class net.demilich.metastone.game.spells.ChangeHeroSpell
-
Changes the specified player's hero the specified card ID.
- create(TargetPlayer, String) - Static method in class net.demilich.metastone.game.spells.trigger.MinionPlayedTrigger
- create(TargetPlayer, String) - Static method in class net.demilich.metastone.game.spells.trigger.MinionSummonedTrigger
- create(TargetPlayer, String, boolean) - Static method in class net.demilich.metastone.game.spells.ChangeHeroSpell
-
Changes the specified player's hero with the specified card ID, resolving the battlecry if specified.
- create(TargetPlayer, Card) - Static method in class net.demilich.metastone.game.spells.EquipWeaponSpell
- create(TargetPlayer, Card...) - Static method in class net.demilich.metastone.game.spells.SummonSpell
-
Summons the specified cards for the specified player.
- create(TargetPlayer, BoardPositionRelative, Card...) - Static method in class net.demilich.metastone.game.spells.SummonSpell
-
Summons the specified minion cards relative to a given source for the specified player (used for a battlecry).
- create(TargetPlayer, TargetPlayer, Spellsource.EntityTypeMessage.EntityType) - Static method in class net.demilich.metastone.game.spells.trigger.FatalDamageTrigger
- create(TargetPlayer, Quest) - Static method in class net.demilich.metastone.game.spells.AddPactSpell
-
Creates this spell for the specified
TargetPlayer
andQuest
. - create(TargetPlayer, Quest) - Static method in class net.demilich.metastone.game.spells.AddQuestSpell
-
Creates this spell for the specified
TargetPlayer
andQuest
. - create(Enchantment) - Static method in class net.demilich.metastone.game.spells.RemoveEnchantmentSpell
- create(Quest) - Static method in class net.demilich.metastone.game.spells.AddPactSpell
-
Creates this spell for the casting player and the specified
Quest
. - create(Quest) - Static method in class net.demilich.metastone.game.spells.AddQuestSpell
-
Creates this spell for the casting player and the specified
Quest
. - create(Secret) - Static method in class net.demilich.metastone.game.spells.AddSecretSpell
- create(EntityReference) - Static method in class net.demilich.metastone.game.spells.CopyDeathrattleSpell
- create(EntityReference) - Static method in class net.demilich.metastone.game.spells.custom.AddActorEffectsToTargetActorSpell
- create(EntityReference) - Static method in class net.demilich.metastone.game.spells.custom.MindControlOneTurnSpell
- create(EntityReference) - Static method in class net.demilich.metastone.game.spells.DecaySpell
- create(EntityReference) - Static method in class net.demilich.metastone.game.spells.desc.filter.EntityEqualsFilter
- create(EntityReference) - Static method in class net.demilich.metastone.game.spells.DestroySpell
- create(EntityReference) - Static method in class net.demilich.metastone.game.spells.DoubleAttackSpell
- create(EntityReference) - Static method in class net.demilich.metastone.game.spells.OverrideTargetSpell
- create(EntityReference) - Static method in class net.demilich.metastone.game.spells.PutMinionOnBoardFromDeckSpell
-
Creates this spell for the specified minion card.
- create(EntityReference) - Static method in class net.demilich.metastone.game.spells.ReceiveCardSpell
-
Creates this spell to receive the specified target.
- create(EntityReference) - Static method in class net.demilich.metastone.game.spells.RefreshAttacksSpell
- create(EntityReference) - Static method in class net.demilich.metastone.game.spells.ReviveMinionSpell
- create(EntityReference) - Static method in class net.demilich.metastone.game.spells.SilenceSpell
- create(EntityReference) - Static method in class net.demilich.metastone.game.spells.SwapAttackAndHpSpell
- create(EntityReference) - Static method in class net.demilich.metastone.game.spells.TriggerDeathrattleSpell
- create(EntityReference, boolean) - Static method in class net.demilich.metastone.game.spells.desc.filter.EntityEqualsFilter
- create(EntityReference, boolean) - Static method in class net.demilich.metastone.game.spells.DestroySpell
- create(EntityReference, boolean, SpellDesc...) - Static method in class net.demilich.metastone.game.spells.MetaSpell
- create(EntityReference, int) - Static method in class net.demilich.metastone.game.spells.BuffSpell
- create(EntityReference, int) - Static method in class net.demilich.metastone.game.spells.DamageSpell
- create(EntityReference, int) - Static method in class net.demilich.metastone.game.spells.DecaySpell
- create(EntityReference, int) - Static method in class net.demilich.metastone.game.spells.HealSpell
- create(EntityReference, int) - Static method in class net.demilich.metastone.game.spells.ModifyDurabilitySpell
- create(EntityReference, int) - Static method in class net.demilich.metastone.game.spells.PutCopyInHandSpell
- create(EntityReference, int) - Static method in class net.demilich.metastone.game.spells.ReviveMinionSpell
- create(EntityReference, int) - Static method in class net.demilich.metastone.game.spells.TemporaryAttackSpell
- create(EntityReference, int, boolean) - Static method in class net.demilich.metastone.game.spells.DamageSpell
- create(EntityReference, int, boolean) - Static method in class net.demilich.metastone.game.spells.DecaySpell
- create(EntityReference, int, boolean) - Static method in class net.demilich.metastone.game.spells.HealSpell
- create(EntityReference, int, int) - Static method in class net.demilich.metastone.game.spells.BuffHeroSpell
-
Deprecated.
- create(EntityReference, int, int) - Static method in class net.demilich.metastone.game.spells.BuffSpell
- create(EntityReference, int, Predicate<Entity>, boolean) - Static method in class net.demilich.metastone.game.spells.DamageSpell
- create(EntityReference, int, Predicate<Entity>, boolean) - Static method in class net.demilich.metastone.game.spells.DecaySpell
- create(EntityReference, String) - Static method in class net.demilich.metastone.game.spells.desc.condition.CardPropertyCondition
- create(EntityReference, String, boolean) - Static method in class net.demilich.metastone.game.spells.TransformMinionSpell
- create(EntityReference, Predicate<Entity>, boolean) - Static method in class net.demilich.metastone.game.spells.DestroySpell
- create(EntityReference, Attribute) - Static method in class net.demilich.metastone.game.spells.AddAttributeSpell
-
Creates an instance of this spell targeting the specified
target
- create(EntityReference, Attribute) - Static method in class net.demilich.metastone.game.spells.RemoveAttributeSpell
- create(EntityReference, Attribute, int) - Static method in class net.demilich.metastone.game.spells.ModifyAttributeSpell
- create(EntityReference, Attribute, Object) - Static method in class net.demilich.metastone.game.spells.SetAttributeSpell
- create(EntityReference, Attribute, EntityFilter, AlgebraicOperation) - Static method in class net.demilich.metastone.game.spells.desc.valueprovider.ReduceValueProvider
- create(EntityReference, Attribute, ValueProvider) - Static method in class net.demilich.metastone.game.spells.ModifyAttributeSpell
- create(EntityReference, Attribute, EventTrigger) - Static method in class net.demilich.metastone.game.spells.AddAttributeSpell
-
Creates an instance of this spell with the specified target, attribute and revert trigger
- create(EntityReference, Minion, boolean) - Static method in class net.demilich.metastone.game.spells.TransformMinionSpell
- create(EntityReference, Aura) - Static method in class net.demilich.metastone.game.spells.AddEnchantmentSpell
- create(EntityReference, EntityFilter) - Static method in class net.demilich.metastone.game.spells.desc.condition.AnyMatchFilterCondition
- create(EntityReference, EntityFilter, boolean) - Static method in class net.demilich.metastone.game.spells.RemoveActorPeacefullySpell
- create(EntityReference, EntityFilter, boolean) - Static method in class net.demilich.metastone.game.spells.RemoveCardSpell
- create(EntityReference, EntityFilter, boolean, SpellDesc) - Static method in class net.demilich.metastone.game.spells.RemoveActorPeacefullySpell
- create(EntityReference, SpellDesc) - Static method in class net.demilich.metastone.game.spells.AddDeathrattleSpell
-
Creates this spell to add the specified
deathrattle
to the target. - create(EntityReference, SpellDesc) - Static method in class net.demilich.metastone.game.spells.CastFromGroupSpell
- create(EntityReference, SpellDesc) - Static method in class net.demilich.metastone.game.spells.DiscoverFilteredCardSpell
- create(EntityReference, SpellDesc) - Static method in class net.demilich.metastone.game.spells.DiscoverOptionSpell
-
Deprecated.
- create(EntityReference, SpellDesc...) - Static method in class net.demilich.metastone.game.spells.RandomlyCastSpell
- create(EntityReference, SpellDesc, boolean) - Static method in class net.demilich.metastone.game.spells.ReturnTargetToHandSpell
- create(EntityReference, SpellDesc, SpellDesc) - Static method in class net.demilich.metastone.game.spells.AdjacentEffectSpell
- create(EntityReference, EnchantmentDesc) - Static method in class net.demilich.metastone.game.spells.AddEnchantmentSpell
- create(EntityReference, AlgebraicOperation, int) - Static method in class net.demilich.metastone.game.spells.CardCostModifierSpell
-
Creates this spell to modify the cost of the target with the given operation and value.
- create(EntityReference, ValueProvider) - Static method in class net.demilich.metastone.game.spells.ConditionalAttackBonusSpell
-
Deprecated.
- create(EntityReference, ValueProviderDesc, EntityFilter, AlgebraicOperation) - Static method in class net.demilich.metastone.game.spells.desc.valueprovider.ReduceValueProvider
- create(EntityReference, ValueProvider, ValueProvider) - Static method in class net.demilich.metastone.game.spells.BuffSpell
- create(EntityReference, TargetPlayer, boolean) - Static method in class net.demilich.metastone.game.spells.MindControlSpell
- create(EntityReference, Secret) - Static method in class net.demilich.metastone.game.spells.AddSecretSpell
- create(EntityReference, EntityReference) - Static method in class net.demilich.metastone.game.spells.custom.AddActorEffectsToTargetActorSpell
- create(EntityReference, EntityReference) - Static method in class net.demilich.metastone.game.spells.desc.condition.EntityEqualsCondition
- create(TargetType) - Static method in class net.demilich.metastone.game.spells.trigger.MinionDeathTrigger
- CreateAndTeachSpell - Class in net.demilich.metastone.game.spells.custom
-
Gibes a minion
SpellArg.HOW_MANY
battlecries that perform the selected spells fromCardFilter
. - CreateAndTeachSpell() - Constructor for class net.demilich.metastone.game.spells.custom.CreateAndTeachSpell
- createBattlecry(SpellDesc, TargetSelection) - Static method in class net.demilich.metastone.game.actions.OpenerAction
-
Creates a battlecry action that performs the specified spell and requests a target.
- CreateCardFromChoicesSpell - Class in net.demilich.metastone.game.spells.custom
-
Creates a card from a sequence of discovers.
- CreateCardFromChoicesSpell() - Constructor for class net.demilich.metastone.game.spells.custom.CreateCardFromChoicesSpell
- CreateCardSpell - Class in net.demilich.metastone.game.spells
-
Deprecated.This spell is fairly brittle and you will be better off implementing the intended effects directly. See
CreateCardFromChoicesSpell
for an example. - CreateCardSpell() - Constructor for class net.demilich.metastone.game.spells.CreateCardSpell
-
Deprecated.
- createDeck() - Method in class com.hiddenswitch.spellsource.draft.PublicDraftState
-
Creates a
Deck
that corresponds to the current deck built by the cards selected in this state. - createDescInstance() - Method in class net.demilich.metastone.game.cards.desc.AuraDescDeserializer
- createDescInstance() - Method in class net.demilich.metastone.game.cards.desc.CardCostModifierDescDeserializer
- createDescInstance() - Method in class net.demilich.metastone.game.cards.desc.CardSourceDescDeserializer
- createDescInstance() - Method in class net.demilich.metastone.game.cards.desc.ConditionDescDeserializer
- createDescInstance() - Method in class net.demilich.metastone.game.cards.desc.DescDeserializer
- createDescInstance() - Method in class net.demilich.metastone.game.cards.desc.EntityFilterDescDeserializer
- createDescInstance() - Method in class net.demilich.metastone.game.cards.desc.EventTriggerDescDeserializer
- createDescInstance() - Method in class net.demilich.metastone.game.cards.desc.SpellDescDeserializer
- createDescInstance() - Method in class net.demilich.metastone.game.cards.desc.ValueProviderDescDeserializer
- createDescInstance() - Method in class net.demilich.metastone.game.cards.dynamicdescription.DynamicDescriptionDeserializer
- createDiscover(SpellDesc) - Static method in class net.demilich.metastone.game.actions.DiscoverAction
-
Creates a discover action from the given spell description.
- createInt(String, int) - Method in class net.demilich.metastone.game.GameContext
-
Creates an integer value in the context's cloneable storage.
- createSeed() - Static method in class net.demilich.metastone.game.logic.XORShiftRandom
-
Creates a valid, highly probably unique seed.
- CreateSummonSpell - Class in net.demilich.metastone.game.spells
-
Deprecated.
- CreateSummonSpell() - Constructor for class net.demilich.metastone.game.spells.CreateSummonSpell
-
Deprecated.
- CreationSpell - Class in net.demilich.metastone.game.spells.custom
-
Creates a sideboard of
SpellArg.VALUE
cards. - CreationSpell() - Constructor for class net.demilich.metastone.game.spells.custom.CreationSpell
- CRIMSON - Static variable in class net.demilich.metastone.game.entities.heroes.HeroClass
- CTHUN_ATTACK_BUFF - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
This attribute keeps track of how much attack should be added to C'Thun.
- CTHUN_HEALTH_BUFF - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
This attribute keeps track of how many hitpoints should be added to C'Thun.
- CTHUN_TAUNT - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
This attribute marks that C'Thun will have Taunt when it is summoned.
- CURRENT_SUMMONING_MINION - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References the minion that is currently being summoned.
- CurrentTurnValueProvider - Class in net.demilich.metastone.game.spells.desc.valueprovider
- CurrentTurnValueProvider(ValueProviderDesc) - Constructor for class net.demilich.metastone.game.spells.desc.valueprovider.CurrentTurnValueProvider
- CURSE - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
- CURSED_FACTOR - Enum constant in enum class net.demilich.metastone.game.behaviour.heuristic.WeightedFeature
- CUSTOM - Static variable in class net.demilich.metastone.game.cards.CardSet
- CustomCloneable - Class in net.demilich.metastone.game.logic
- CustomCloneable() - Constructor for class net.demilich.metastone.game.logic.CustomCloneable
D
- damage(Player, Actor, int, Entity) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Deals damage to a target.
- damage(Player, Actor, int, Entity, boolean) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Deals damage to a target.
- damage(Player, Actor, int, Entity, boolean, boolean, EnumSet<Spellsource.DamageTypeMessage.DamageType>) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Deals damage to a target.
- damage(Player, Actor, int, Entity, boolean, EnumSet<Spellsource.DamageTypeMessage.DamageType>) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Deals damage to a target.
- DAMAGE - Enum constant in enum class net.demilich.metastone.game.cards.desc.CardDescArg
- DAMAGE_DEALT - Enum constant in enum class net.demilich.metastone.game.statistics.Statistic
- DAMAGE_STACK - Enum constant in enum class net.demilich.metastone.game.environment.Environment
-
This variable stores overrides to the next amount of damage dealt by a
DamageSpell
. - DAMAGE_THIS_TURN - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Every time an
Actor
is damaged, increment this attribute with the amount of damage and set it to zero at the end of the turn. - DAMAGE_THIS_TURN - Enum constant in enum class net.demilich.metastone.game.spells.PlayerAttribute
-
Indicates the amount of damage the player's hero has taken this turn.
- DamageAdjacentMinionsSpell - Class in net.demilich.metastone.game.spells.custom
-
Deals a
target
actor's damage to minions adjacent to thetarget
. - DamageAdjacentMinionsSpell() - Constructor for class net.demilich.metastone.game.spells.custom.DamageAdjacentMinionsSpell
- DamageCausedTrigger - Class in net.demilich.metastone.game.spells.trigger
- DamageCausedTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.DamageCausedTrigger
- damageDealt(int) - Method in class net.demilich.metastone.game.statistics.GameStatistics
- DamagedFilter - Class in net.demilich.metastone.game.spells.desc.filter
- DamagedFilter(EntityFilterDesc) - Constructor for class net.demilich.metastone.game.spells.desc.filter.DamagedFilter
- DamageEvent - Class in net.demilich.metastone.game.events
-
ValueEvent.getValue()
damage has been dealt to theGameEvent.getTarget()
by theGameEvent.getSource()
. - DamageEvent(GameContext, Entity, Entity, int, EnumSet<Spellsource.DamageTypeMessage.DamageType>) - Constructor for class net.demilich.metastone.game.events.DamageEvent
- DamageIgnoringArmorSpell - Class in net.demilich.metastone.game.spells
-
Deals damage to the specified actor, bypassing its armor.
- DamageIgnoringArmorSpell() - Constructor for class net.demilich.metastone.game.spells.DamageIgnoringArmorSpell
- DamageOppositeMinionsSpell - Class in net.demilich.metastone.game.spells.custom
-
Forces a minion to deal its damage to the minions opposite of it.
- DamageOppositeMinionsSpell() - Constructor for class net.demilich.metastone.game.spells.custom.DamageOppositeMinionsSpell
- DamageReceivedTrigger - Class in net.demilich.metastone.game.spells.trigger
- DamageReceivedTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.DamageReceivedTrigger
- DamageSpell - Class in net.demilich.metastone.game.spells
-
Deals
SpellArg.VALUE
damage to the specifiedtarget
. - DamageSpell() - Constructor for class net.demilich.metastone.game.spells.DamageSpell
- DARKBLUE - Static variable in class net.demilich.metastone.game.entities.heroes.HeroClass
- DeactivateEnchantmentSpell - Class in net.demilich.metastone.game.spells
-
Deactivates the enchantments hosted by the target or deactivates the
target
enchantment. - DeactivateEnchantmentSpell() - Constructor for class net.demilich.metastone.game.spells.DeactivateEnchantmentSpell
- dealFatigueDamage(Player) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Actually deal and increment fatigue damage to the specified player.
- DEATHRATTLE - Enum constant in enum class net.demilich.metastone.game.cards.CardDescType
- DEATHRATTLE - Enum constant in enum class net.demilich.metastone.game.cards.desc.CardDescArg
- DEATHRATTLES - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
An
Entity
withAttribute.DEATHRATTLES
casts a spell when it is destroyed. - DEATHRATTLES_TRIGGERED - Enum constant in enum class net.demilich.metastone.game.environment.Environment
-
Stores the deathrattles triggered throughout the game.
- DECAY - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Indicates the decay keyword, which causes the entity to lose one health/armor/durability at the end of every owner's turn
- DecaySpell - Class in net.demilich.metastone.game.spells
-
Deals
Spellsource.DamageTypeMessage.DamageType.DECAY
damage to thesource
. - DecaySpell() - Constructor for class net.demilich.metastone.game.spells.DecaySpell
- deck - Variable in class net.demilich.metastone.game.Player
- Deck - Interface in net.demilich.metastone.game.decks
-
A deck has, at minimum, a deck ID.
- DECK_COUNT - Enum constant in enum class net.demilich.metastone.game.spells.PlayerAttribute
-
The number of cards in the player's deck.
- DECK_ID - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
This
String
is the ID of the deck this card is currently put into. - DECK_SIZE - Static variable in class net.demilich.metastone.game.logic.GameLogic
- DECK_TRIGGER - Enum constant in enum class net.demilich.metastone.game.cards.CardDescType
- DECK_TRIGGERS - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Marks that this
Card
has a trigger that should be active while it is in the deck. - DECK_TRIGGERS - Enum constant in enum class net.demilich.metastone.game.cards.desc.CardDescArg
- DeckCollectionSource - Class in net.demilich.metastone.game.spells.desc.source
-
Returns the list of cards from the deck in the user's collection named
CardSourceArg.COLLECTION_NAME
. - DeckCollectionSource(CardSourceDesc) - Constructor for class net.demilich.metastone.game.spells.desc.source.DeckCollectionSource
- DeckContainsCondition - Class in net.demilich.metastone.game.spells.desc.condition
-
true
if the deck contains any cards that match the givenConditionArg.CARD_FILTER
orConditionArg.CARD
. - DeckContainsCondition(ConditionDesc) - Constructor for class net.demilich.metastone.game.spells.desc.condition.DeckContainsCondition
- DeckContainsFilter - Class in net.demilich.metastone.game.spells.desc.filter
- DeckContainsFilter(EntityFilterDesc) - Constructor for class net.demilich.metastone.game.spells.desc.filter.DeckContainsFilter
- DeckCreateRequest - Class in net.demilich.metastone.game.decks
-
Represents a request to create a game with the specified deck list.
- DeckCreateRequest() - Constructor for class net.demilich.metastone.game.decks.DeckCreateRequest
- DeckEnchantmentDescConverter - Class in net.demilich.metastone.game.cards.desc
- DeckEnchantmentDescConverter() - Constructor for class net.demilich.metastone.game.cards.desc.DeckEnchantmentDescConverter
- DeckFactory - Class in net.demilich.metastone.game.decks
- DeckFactory() - Constructor for class net.demilich.metastone.game.decks.DeckFactory
- DeckFormat - Class in net.demilich.metastone.game.decks
-
The sets that are available to build decks from and generate cards from.
- DeckFormat() - Constructor for class net.demilich.metastone.game.decks.DeckFormat
- deckId - Variable in class net.demilich.metastone.game.decks.GameDeck
- deckList(String) - Static method in interface net.demilich.metastone.game.decks.Deck
-
Retrieves a deck from a deck string, either in a community format or using a deck string.
- DeckListParsingException - Exception Class in net.demilich.metastone.game.decks
-
Thrown when the deck list sent in a
DeckCreateRequest
has errors. - DeckListParsingException(List<Throwable>, String) - Constructor for exception class net.demilich.metastone.game.decks.DeckListParsingException
- DeckSource - Class in net.demilich.metastone.game.spells.desc.source
-
Returns cards from the player's deck.
- DeckSource(CardSourceDesc) - Constructor for class net.demilich.metastone.game.spells.desc.source.DeckSource
- DeckTrace - Class in net.demilich.metastone.game.logic
-
Contains data about a player's deck required to reproduce, exactly, the player's match.
- DeckTrace() - Constructor for class net.demilich.metastone.game.logic.DeckTrace
- DeckValidator - Interface in net.demilich.metastone.game.decks.validation
-
A function that determines whether the given card can be added to the given deck.
- DEFAULT_LETHAL_TIMEOUT - Static variable in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
- DEFAULT_MAXIMUM_DEPTH - Static variable in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
- DEFAULT_MULLIGAN_TIME - Static variable in class net.demilich.metastone.game.logic.GameLogic
-
The default amount of time a player has to mulligan in seconds.
- DEFAULT_SIGNATURE - Static variable in class net.demilich.metastone.game.logic.GameLogic
- DEFAULT_TARGET_CONTEXT_STACK_SIZE - Static variable in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
- DEFAULT_TIMEOUT - Static variable in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
- DEFAULT_TRIGGERS - Static variable in class net.demilich.metastone.game.spells.aura.Aura
- DEFAULT_TURN_TIME - Static variable in class net.demilich.metastone.game.logic.GameLogic
-
The default amount of time a player has to complete a turn in seconds.
- DefaultDeckValidator - Class in net.demilich.metastone.game.decks.validation
-
A deck validator of standard deck rules.
- DefaultDeckValidator() - Constructor for class net.demilich.metastone.game.decks.validation.DefaultDeckValidator
- DEFLECT - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Whenever a
Minion
with this attribute is first attacked, it loses this attribute and the damage dealt to it is dealt to its owner's hero instead. - DEMON - Static variable in class net.demilich.metastone.game.entities.minions.Race
- DEMONIC_FORM - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
The number of turns a player has for Demonic Form
- Desc<T extends Enum<T>,
V extends HasDesc<?>> - Class in net.demilich.metastone.game.cards.desc - Desc(Class<? extends V>, Class<T>) - Constructor for class net.demilich.metastone.game.cards.desc.Desc
- Desc(Class<T>) - Constructor for class net.demilich.metastone.game.cards.desc.Desc
- Desc(Map<T, Object>, Class<T>) - Constructor for class net.demilich.metastone.game.cards.desc.Desc
- DescDeserializer<T extends Desc<K,
V>, K extends Enum<K>, V extends HasDesc<T>> - Class in net.demilich.metastone.game.cards.desc -
A base class for deserializers of the "component" or object types in the Spellsource card JSON.
- DescDeserializer(Class<? extends T>) - Constructor for class net.demilich.metastone.game.cards.desc.DescDeserializer
- DescDeserializer.SerializationContext - Class in net.demilich.metastone.game.cards.desc
- description - Variable in class net.demilich.metastone.game.spells.desc.OpenerDesc
- description - Variable in class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDesc
- DESCRIPTION - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Overrides the description of the
Entity
- DESCRIPTION - Enum constant in enum class net.demilich.metastone.game.cards.CardDescType
- DESCRIPTION - Enum constant in enum class net.demilich.metastone.game.cards.desc.CardDescArg
- DESCRIPTION - Enum constant in enum class net.demilich.metastone.game.spells.desc.aura.AuraArg
- DESCRIPTION - Enum constant in enum class net.demilich.metastone.game.spells.desc.BattlecryDescArg
- DESCRIPTION - Enum constant in enum class net.demilich.metastone.game.spells.desc.condition.ConditionArg
- DESCRIPTION - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
A piece of text that gets written on the card using the
SetDescriptionSpell
, or a description to appear on a generated card in aCastFromGroupSpell
. - DESCRIPTION - Enum constant in enum class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDescArg
- DESCRIPTION1 - Enum constant in enum class net.demilich.metastone.game.cards.dynamicdescription.DynamicDescriptionArg
- DESCRIPTION2 - Enum constant in enum class net.demilich.metastone.game.cards.dynamicdescription.DynamicDescriptionArg
- DESCRIPTIONS - Enum constant in enum class net.demilich.metastone.game.cards.dynamicdescription.DynamicDescriptionArg
- DescSerializer - Class in net.demilich.metastone.game.cards.desc
- DescSerializer() - Constructor for class net.demilich.metastone.game.cards.desc.DescSerializer
- deserialize(JsonParser, DeserializationContext) - Method in class net.demilich.metastone.game.cards.desc.DescDeserializer
- deserialize(JsonParser, DeserializationContext) - Method in class net.demilich.metastone.game.logic.XORShiftRandom.XORShiftRandomDeserializer
- destroy(Actor...) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Destroys the given targets, triggering their aftermaths if necessary.
- DestroyAllExceptOneAndMindControlSpell - Class in net.demilich.metastone.game.spells.custom
-
Destroys all minions except one.
- DestroyAllExceptOneAndMindControlSpell() - Constructor for class net.demilich.metastone.game.spells.custom.DestroyAllExceptOneAndMindControlSpell
- DestroyAllExceptOneSpell - Class in net.demilich.metastone.game.spells
-
Destroys all minions except one.
- DestroyAllExceptOneSpell() - Constructor for class net.demilich.metastone.game.spells.DestroyAllExceptOneSpell
- DestroyAndSummonInPlaceSpell - Class in net.demilich.metastone.game.spells.custom
-
For each
target
, destroy it. - DestroyAndSummonInPlaceSpell() - Constructor for class net.demilich.metastone.game.spells.custom.DestroyAndSummonInPlaceSpell
- DESTROYED - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
When the entity has this attribute, it is destroyed.
- DESTROYED_BY - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
The
EntityReference
of the entity that destroyed this one. - DESTROYED_THIS_SEQUENCE_COUNT - Enum constant in enum class net.demilich.metastone.game.environment.Environment
-
This variable stores the number of minions that have been destroyed so far during this sequence.
- DestroyedThisSequenceValueProvider - Class in net.demilich.metastone.game.spells.desc.valueprovider
-
Returns the number of
Actor
entities that were destroyed during the evaluation of this sequence. - DestroyedThisSequenceValueProvider(ValueProviderDesc) - Constructor for class net.demilich.metastone.game.spells.desc.valueprovider.DestroyedThisSequenceValueProvider
- DestroyEvent(Entity, Entity, List<Aftermath>) - Constructor for class net.demilich.metastone.game.events.DestroyWillQueue.DestroyEvent
- DestroySecretsSpell - Class in net.demilich.metastone.game.spells
-
Destroys all the secrets belonging to
SpellArg.TARGET_PLAYER
. - DestroySecretsSpell() - Constructor for class net.demilich.metastone.game.spells.DestroySecretsSpell
- DestroySpell - Class in net.demilich.metastone.game.spells
-
Destroys the
target
Actor
. - DestroySpell() - Constructor for class net.demilich.metastone.game.spells.DestroySpell
- DestroyWillQueue - Class in net.demilich.metastone.game.events
-
Actors will be destroyed.
- DestroyWillQueue(List<DestroyWillQueue.DestroyEvent>) - Constructor for class net.demilich.metastone.game.events.DestroyWillQueue
- DestroyWillQueue.DestroyEvent - Class in net.demilich.metastone.game.events
- determineBeginner(int...) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Determines who is the first player of a list of player IDs.
- determineCastingPlayer(GameContext, Player, Entity, TargetPlayer) - Static method in class net.demilich.metastone.game.spells.SpellUtils
-
Tries to determine the currently casting player from the point of view of a source, considering if the source has changed owners or if it was destroyed.
- DetermineCastingPlayer(GameContext, Player, Entity, TargetPlayer) - Constructor for class net.demilich.metastone.game.spells.SpellUtils.DetermineCastingPlayer
- didCallEndGame() - Method in class net.demilich.metastone.game.GameContext
- DidEndSequenceEvent - Class in net.demilich.metastone.game.events
-
The
GameEvent.getTargetPlayerId()
ended their sequence. - DidEndSequenceEvent(GameContext) - Constructor for class net.demilich.metastone.game.events.DidEndSequenceEvent
- DidEndSequenceTrigger - Class in net.demilich.metastone.game.spells.trigger
- DidEndSequenceTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.DidEndSequenceTrigger
- DIED_ON_TURN - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
This attribute records which turn a
Minion
was marked asAttribute.DESTROYED
. - diedOnBattlefield() - Method in class net.demilich.metastone.game.entities.Entity
-
Indicates whether the minion died a natural death (not removed peacefully, not removed by spells, not a permanent) on the battlefield.
- DiedThisTurnValueProvider - Class in net.demilich.metastone.game.spells.desc.valueprovider
-
Indicates how many of the
ValueProviderArg.FILTER
filtered actors were destroyed this turn. - DiedThisTurnValueProvider(ValueProviderDesc) - Constructor for class net.demilich.metastone.game.spells.desc.valueprovider.DiedThisTurnValueProvider
- DiluteSoulSpell - Class in net.demilich.metastone.game.spells.custom
-
Discards a card.
- DiluteSoulSpell() - Constructor for class net.demilich.metastone.game.spells.custom.DiluteSoulSpell
- DISABLE_FATIGUE - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
When set on the
Player
entity, that player no longer takes fatigue damage. - discardCard(Player, Card) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Discards a card from your hand, either through discard card effects or "overdraw" (forced destruction of cards due to too many cards in your hand).
- DiscardCardsFromDeckSpell - Class in net.demilich.metastone.game.spells
-
Discards or removes all cards from
SpellArg.TARGET_PLAYER
's deck, up toSpellArg.VALUE
random cards. - DiscardCardsFromDeckSpell() - Constructor for class net.demilich.metastone.game.spells.DiscardCardsFromDeckSpell
- DISCARDED - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Indicates how many cards the player has discarded during the game.
- DiscardEvent - Class in net.demilich.metastone.game.events
-
A card was discarded.
- DiscardEvent(GameContext, int, Card) - Constructor for class net.demilich.metastone.game.events.DiscardEvent
- DiscardSpell - Class in net.demilich.metastone.game.spells
-
Discards cards from the
Spellsource.ZonesMessage.Zones.HAND
or from aCardSource
likeDeckSource
which does not generate new cards (does not implementHasCardCreationSideEffects
), likeDeckSource
. - DiscardSpell() - Constructor for class net.demilich.metastone.game.spells.DiscardSpell
- DiscardTrigger - Class in net.demilich.metastone.game.spells.trigger
- DiscardTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.DiscardTrigger
- DISCOVER - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
An attribute that indicates a card can be used to Discover something, offering a choice of 3 options to the player with a 4x increase in frequency of class cards.
- DiscoverAction - Class in net.demilich.metastone.game.actions
-
A DiscoverAction is a card and spell tuple that corresponds to a particular card selected by the player and the spell that will take that card as an argument.
- DiscoverAction(SpellDesc) - Constructor for class net.demilich.metastone.game.actions.DiscoverAction
- discoverCard(int, Card) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Indicates that the specified played discovered a card.
- discoverCard(GameContext, Player, Entity, SpellDesc, CardList) - Static method in class net.demilich.metastone.game.spells.SpellUtils
-
Requests that the player chooses from a selection of cards and casts a spell (typically
ReceiveCardSpell
with that card. - DiscoverCardSpell - Class in net.demilich.metastone.game.spells
-
Deprecated.Use
DiscoverSpell
with a"spell": {"class": "ReceiveCardSpell"}
instead. - DiscoverCardSpell() - Constructor for class net.demilich.metastone.game.spells.DiscoverCardSpell
-
Deprecated.
- DiscoverClassSpell - Class in net.demilich.metastone.game.spells.custom
-
Discovers a class card.
- DiscoverClassSpell() - Constructor for class net.demilich.metastone.game.spells.custom.DiscoverClassSpell
- DiscoverDiscardSpell - Class in net.demilich.metastone.game.spells.custom
-
A spell that has the same interpretation of arguments as
DiscardSpell
, except the player chooses which cards to discard. - DiscoverDiscardSpell() - Constructor for class net.demilich.metastone.game.spells.custom.DiscoverDiscardSpell
- DiscoverDrawSpell - Class in net.demilich.metastone.game.spells
-
Deprecated.Use
DiscoverSpell
instead. - DiscoverDrawSpell() - Constructor for class net.demilich.metastone.game.spells.DiscoverDrawSpell
-
Deprecated.
- DiscoverEvent - Class in net.demilich.metastone.game.events
-
A card was discovered (sourced).
- DiscoverEvent(GameContext, int, Card) - Constructor for class net.demilich.metastone.game.events.DiscoverEvent
- DiscoverFilteredCardSpell - Class in net.demilich.metastone.game.spells
-
This class is currently only used for tri-class card discoveries.
- DiscoverFilteredCardSpell() - Constructor for class net.demilich.metastone.game.spells.DiscoverFilteredCardSpell
- DiscoverNotSelectedSpellBonusAura - Class in net.demilich.metastone.game.spells.aura
-
Performs the effect in the
AuraArg.APPLY_EFFECT
on cards that were not selected in aSpellUtils.discoverCard(GameContext, Player, Entity, SpellDesc, CardList)
effect. - DiscoverNotSelectedSpellBonusAura(AuraDesc) - Constructor for class net.demilich.metastone.game.spells.aura.DiscoverNotSelectedSpellBonusAura
- DiscoverOptionSpell - Class in net.demilich.metastone.game.spells
-
Deprecated.The discover option spell is fairly brittle. You should use
DiscoverSpell
instead, discovering a sequence of cards and playing one by casting or summoning it. - DiscoverOptionSpell() - Constructor for class net.demilich.metastone.game.spells.DiscoverOptionSpell
-
Deprecated.
- DiscoverRandomCardSpell - Class in net.demilich.metastone.game.spells
-
Deprecated.Use
DiscoverSpell
with aSpellArg.CARD_FILTER
instead. - DiscoverRandomCardSpell() - Constructor for class net.demilich.metastone.game.spells.DiscoverRandomCardSpell
-
Deprecated.
- DiscoverSpell - Class in net.demilich.metastone.game.spells
-
Prompts the user to make an irreversible choice of some number of cards, and casts a spell for the chosen (and optionally, unchosen) cards.
- DiscoverSpell() - Constructor for class net.demilich.metastone.game.spells.DiscoverSpell
- DiscoverTrigger - Class in net.demilich.metastone.game.spells.trigger
- DiscoverTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.DiscoverTrigger
- dispose() - Method in class net.demilich.metastone.game.logic.GameLogic
- disposeNodes - Variable in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
- DISTINCT - Enum constant in enum class net.demilich.metastone.game.spells.desc.source.CardSourceArg
- distinctByKey(Function<? super T, ?>) - Static method in class net.demilich.metastone.game.spells.custom.TriggerDistinctAftermathsInGraveyard
- DistinctTribesValueProvider - Class in net.demilich.metastone.game.spells.desc.valueprovider
-
Calculates the number of distinct tribes among the
EntityReference.TARGET
entities. - DistinctTribesValueProvider(ValueProviderDesc) - Constructor for class net.demilich.metastone.game.spells.desc.valueprovider.DistinctTribesValueProvider
- DIVIDE - Enum constant in enum class net.demilich.metastone.game.spells.desc.valueprovider.AlgebraicOperation
- DIVIDE_ROUNDED - Enum constant in enum class net.demilich.metastone.game.spells.desc.valueprovider.AlgebraicOperation
- DIVINE_SHIELD - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Marks that the
Actor
has a divine shield. - doesCardCostHealth(Player, Card) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Determines whether the specified card, from this player's point of view, costs health, due to various effects on the board.
- DONOR_ID - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
This
String
is the user ID of the player who opened the card pack that contained this card. - DOUBLE_BATTLECRIES - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Deprecated.since the introduction of
DoubleBattlecriesAura
. - DOUBLE_DEATHRATTLES - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Deprecated.
- DOUBLE_END_TURN_TRIGGERS - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Indicates that the
Player
's end turn triggers should trigger twice. - DOUBLE_LOSS - Enum constant in enum class net.demilich.metastone.game.logic.GameStatus
- DoubleAttackSpell - Class in net.demilich.metastone.game.spells
-
Doubles the
target
Actor
's total attack. - DoubleAttackSpell() - Constructor for class net.demilich.metastone.game.spells.DoubleAttackSpell
- DoubleBattlecriesAura - Class in net.demilich.metastone.game.spells.aura
-
When this aura is in play, battlecries trigger twice.
- DoubleBattlecriesAura(AuraDesc) - Constructor for class net.demilich.metastone.game.spells.aura.DoubleBattlecriesAura
- DoubleCombosAura - Class in net.demilich.metastone.game.spells.aura
-
When this is in play,
Attribute.COMBO
cards withComboSpell
decorated spells cast twice. - DoubleCombosAura(AuraDesc) - Constructor for class net.demilich.metastone.game.spells.aura.DoubleCombosAura
- DoubleDeathrattlesAura - Class in net.demilich.metastone.game.spells.aura
-
When in play, aftermaths fire twice.
- DoubleDeathrattlesAura(AuraDesc) - Constructor for class net.demilich.metastone.game.spells.aura.DoubleDeathrattlesAura
- DoubleSummonSpell - Class in net.demilich.metastone.game.spells.custom
-
A dummy spell used for a simpler implementation of Khadgar's effect with a
SpellOverrideAura
- DoubleSummonSpell() - Constructor for class net.demilich.metastone.game.spells.custom.DoubleSummonSpell
- DoubleTurnEndTriggersAura - Class in net.demilich.metastone.game.spells.aura
-
When this aura is in play, abilities triggered by the turn ending trigger twice.
- DoubleTurnEndTriggersAura(AuraDesc) - Constructor for class net.demilich.metastone.game.spells.aura.DoubleTurnEndTriggersAura
- DraftBehaviour - Interface in com.hiddenswitch.spellsource.draft
-
Describes a behaviour during a draft.
- DraftContext - Class in com.hiddenswitch.spellsource.draft
-
Stores data and logic relating to drafting cards.
- DraftContext() - Constructor for class com.hiddenswitch.spellsource.draft.DraftContext
-
Creates a new draft context with a
NullDraftBehaviour
as the default. - DraftException - Exception Class in com.hiddenswitch.spellsource.draft
-
Indicates the user made an error, typically an invalid or out-of-order choice, during drafting.
- DraftLogic - Class in com.hiddenswitch.spellsource.draft
-
Implements a basic draft where the user is given a selection of champions from all
DeckFormat.spellsource()
champions, and 30 rounds of 3-card choices pulled from a weighted selection ofDeckFormat.spellsource()
catalogue cards. - DraftLogic(DraftContext) - Constructor for class com.hiddenswitch.spellsource.draft.DraftLogic
-
Creates an instance associated weakly with the specified context.
- DraftStatus - Enum Class in com.hiddenswitch.spellsource.draft
-
Indicates different states of a draft.
- drain(GameContext, Player, Entity, int, Entity) - Static method in class net.demilich.metastone.game.spells.DrainSpell
-
Gives an HP buff for the specified target.
- DRAIN - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Drain indicates the card will deal damage to the specified target and buffs the source's HP by that amount.
- drainDamage(GameContext, Player, Entity, Entity, int, List<DrainEvent>) - Static method in class net.demilich.metastone.game.spells.DrainSpell
- DRAINED_LAST_TURN - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Indicates how much an entity has
DrainSpell
drained last turn. - DRAINED_THIS_TURN - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Indicates how much an entity has
DrainSpell
drained this turn. - DrainEvent - Class in net.demilich.metastone.game.events
-
A target was
DrainSpell
drained. - DrainEvent(GameContext, Entity, Entity, int, int) - Constructor for class net.demilich.metastone.game.events.DrainEvent
- DrainSpell - Class in net.demilich.metastone.game.spells
-
Deals
SpellArg.VALUE
damage to thetarget
. - DrainSpell() - Constructor for class net.demilich.metastone.game.spells.DrainSpell
- DrainTrigger - Class in net.demilich.metastone.game.spells.trigger
-
Fires whenever a target is drained using
DrainSpell
. - DrainTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.DrainTrigger
- drawCard(int, Card, Entity) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Draws a specific card into the hand.
- drawCard(int, Entity) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Draws a card for a player from the deck to the hand.
- DrawCardAndDoSomethingSpell - Class in net.demilich.metastone.game.spells
-
Deprecated.Use a
DrawCardSpell
with a sub spell like{"class": "DrawCardSpell", "spell": {"class": ..., "target": "OUTPUT"}}
instead. - DrawCardAndDoSomethingSpell() - Constructor for class net.demilich.metastone.game.spells.DrawCardAndDoSomethingSpell
-
Deprecated.
- DrawCardEvent - Class in net.demilich.metastone.game.events
-
A card was put into the hand.
- DrawCardEvent(GameContext, int, Card, boolean) - Constructor for class net.demilich.metastone.game.events.DrawCardEvent
- DrawCardFromGraveyardSpell - Class in net.demilich.metastone.game.spells
-
Draws a card from the graveyard.
- DrawCardFromGraveyardSpell() - Constructor for class net.demilich.metastone.game.spells.DrawCardFromGraveyardSpell
- DrawCardSpell - Class in net.demilich.metastone.game.spells
-
Draws
SpellArg.VALUE
cards from the top of the player's deck. - DrawCardSpell() - Constructor for class net.demilich.metastone.game.spells.DrawCardSpell
- DrawCardUntilConditionSpell - Class in net.demilich.metastone.game.spells
-
Draws cards until a condition is met.
- DrawCardUntilConditionSpell() - Constructor for class net.demilich.metastone.game.spells.DrawCardUntilConditionSpell
- drawFromDeck(GameContext, Player, Entity, Entity, int, boolean, EntityFilter, SpellDesc, String) - Static method in class net.demilich.metastone.game.spells.FromDeckToHandSpell
-
Draws a filtered card from the deck.
- duel(GameContext, Player, Entity, List<Entity>, List<Entity>) - Method in class net.demilich.metastone.game.spells.DuelSpell
- DuelRandomSecondarySpell - Class in net.demilich.metastone.game.spells.custom
-
Like
DuelSpell
, except a random attacker that is not a defender is chosen from theSpellArg.SECONDARY_TARGET
. - DuelRandomSecondarySpell() - Constructor for class net.demilich.metastone.game.spells.custom.DuelRandomSecondarySpell
- DuelSpell - Class in net.demilich.metastone.game.spells
-
Makes each actor in
SpellArg.SECONDARY_TARGET
attack another random actor inSpellArg.TARGET
. - DuelSpell() - Constructor for class net.demilich.metastone.game.spells.DuelSpell
- dump() - Method in class net.demilich.metastone.game.logic.Trace
- DURABILITY - Enum constant in enum class net.demilich.metastone.game.cards.desc.CardDescArg
- DYNAMIC_DESCRIPTION - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
An override for the entity's description that indicates it has an
DynamicDescription
. - DYNAMIC_DESCRIPTION - Enum constant in enum class net.demilich.metastone.game.cards.desc.CardDescArg
- DYNAMIC_DESCRIPTION - Enum constant in enum class net.demilich.metastone.game.cards.desc.ParseValueType
- DYNAMIC_DESCRIPTION_ARRAY - Enum constant in enum class net.demilich.metastone.game.cards.desc.ParseValueType
-
An array of
DynamicDescriptionDesc
objects. - DynamicDescription - Class in net.demilich.metastone.game.cards.dynamicdescription
-
The base class for dynamic descriptions.
- DynamicDescription(DynamicDescriptionDesc) - Constructor for class net.demilich.metastone.game.cards.dynamicdescription.DynamicDescription
- DynamicDescriptionArg - Enum Class in net.demilich.metastone.game.cards.dynamicdescription
-
Arguments for dynamic descriptions.
- DynamicDescriptionDesc - Class in net.demilich.metastone.game.cards.dynamicdescription
-
The serialized version of a dynamic description.
- DynamicDescriptionDesc() - Constructor for class net.demilich.metastone.game.cards.dynamicdescription.DynamicDescriptionDesc
- DynamicDescriptionDesc(Class<? extends DynamicDescription>) - Constructor for class net.demilich.metastone.game.cards.dynamicdescription.DynamicDescriptionDesc
- DynamicDescriptionDeserializer - Class in net.demilich.metastone.game.cards.dynamicdescription
-
A deserializer of dynamic descriptions.
- DynamicDescriptionDeserializer() - Constructor for class net.demilich.metastone.game.cards.dynamicdescription.DynamicDescriptionDeserializer
- DynamicDescriptionDeserializer(Class<? extends DynamicDescriptionDesc>) - Constructor for class net.demilich.metastone.game.cards.dynamicdescription.DynamicDescriptionDeserializer
E
- each(GameContext, Player, Entity, Entity, SpellDesc) - Method in class net.demilich.metastone.game.spells.MetaSpell
-
Override to augment each effect.
- ECHO - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Indicates the card will put a copy of itself into the player's hand after it is played.
- EffectlessAura - Class in net.demilich.metastone.game.spells.aura
- EffectlessAura(AuraDesc) - Constructor for class net.demilich.metastone.game.spells.aura.EffectlessAura
- effectSource - Variable in class net.demilich.metastone.game.entities.Entity
- EIDOLON_RACE - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Stores the Eidolon effect tribe.
- EITHER - Enum constant in enum class net.demilich.metastone.game.spells.TargetPlayer
-
Indicates either player.
- EitherOrSpell - Class in net.demilich.metastone.game.spells
- EitherOrSpell() - Constructor for class net.demilich.metastone.game.spells.EitherOrSpell
- ElorthaNoShandraSpell - Class in net.demilich.metastone.game.spells.custom
-
Gives a minion or card, "Deathrattle: Resummon this minion." Uses the card ID to do the resummoning.
- ElorthaNoShandraSpell() - Constructor for class net.demilich.metastone.game.spells.custom.ElorthaNoShandraSpell
- empty() - Static method in class net.demilich.metastone.game.Player
-
Create an empty player instance.
- empty(Spellsource.ZonesMessage.Zones, int) - Static method in class net.demilich.metastone.game.entities.EntityZone
- empty(String, String, String) - Static method in class net.demilich.metastone.game.decks.DeckCreateRequest
- EMPTY - Static variable in class net.demilich.metastone.game.decks.GameDeck
- EMPTY_MANA_CRYSTAL_VALUE - Enum constant in enum class net.demilich.metastone.game.behaviour.heuristic.WeightedFeature
- EMPTY_TRIGGERS - Static variable in class net.demilich.metastone.game.spells.aura.Aura
- Enchantment - Class in net.demilich.metastone.game.spells.trigger
-
An enchantment is a type of entity that reacts to certain events using a trigger by casting a spell.
- Enchantment() - Constructor for class net.demilich.metastone.game.spells.trigger.Enchantment
- Enchantment(HasEntrySet<?, ?>) - Constructor for class net.demilich.metastone.game.spells.trigger.Enchantment
- EnchantmentDesc - Class in net.demilich.metastone.game.spells.desc.trigger
-
Data specifying a trigger, including what event it reacts to, what spell it casts, and various options.
- EnchantmentDesc() - Constructor for class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDesc
- EnchantmentDescArg - Enum Class in net.demilich.metastone.game.spells.desc.trigger
-
Keys for enumerating an
EnchantmentDesc
. - EnchantmentSerializer - Class in net.demilich.metastone.game.cards.desc
- EnchantmentSerializer() - Constructor for class net.demilich.metastone.game.cards.desc.EnchantmentSerializer
- END_OF_SEQUENCE_MAX_DEPTH - Static variable in class net.demilich.metastone.game.logic.GameLogic
- endGame() - Method in class net.demilich.metastone.game.GameContext
-
Ends the game immediately.
- endOfSequence() - Method in class net.demilich.metastone.game.logic.GameLogic
-
Removes entities for whom
Entity.isDestroyed()
is true, moving them to theSpellsource.ZonesMessage.Zones.GRAVEYARD
and triggering their deathrattles withGameLogic.resolveAftermaths(Player, Actor)
. - endOfSequence() - Method in class net.demilich.metastone.game.spells.trigger.Enchantment
-
Signals to the enchantment that the currently processing sequence is over.
- endTurn() - Method in class net.demilich.metastone.game.GameContext
-
Ends the current player's turn immediately, setting the active player to their opponent.
- endTurn(int) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Ends the player's turn, triggering
TurnEndTrigger
triggers, clearing one-turn attributes and effects, and removing dead entities. - endTurn(GameContext) - Method in class net.demilich.metastone.game.statistics.GameStatistics
- EndTurnAction - Class in net.demilich.metastone.game.actions
-
This action ends the player's current turn.
- EndTurnAction(int) - Constructor for class net.demilich.metastone.game.actions.EndTurnAction
- ENEMY_CARDS - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References all entities that are "in play" for the enemy player i.e.
- ENEMY_CHARACTERS - Enum constant in enum class net.demilich.metastone.game.targeting.TargetSelection
- ENEMY_CHARACTERS - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References all the enemy characters (the opponent's hero and minions).
- ENEMY_DECK - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References all the card's in the enemy player's deck.
- ENEMY_GRAVEYARD - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References the cards and actors in the enemy graveyard.
- ENEMY_HAND - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References all the cards in the enemy player's hand./
- ENEMY_HEALING_BONUS - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
The additional amount of healing an
Entity
contributes to this owner's enemy. - ENEMY_HERO - Enum constant in enum class net.demilich.metastone.game.targeting.TargetSelection
- ENEMY_HERO - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References a list with a single element, the enemy's hero.
- ENEMY_HERO_POWER - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References the card that is currently the enemey player's hero power.
- ENEMY_LAST_CARD_PLAYED - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References the last card played by the opponent.
- ENEMY_LAST_CARD_PLAYED_BEFORE_CURRENT_SEQUENCE - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References the last card played by the opponent before this current sequence.
- ENEMY_MIDDLE_MINIONS - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References the minions that are in the middle of the enemy's battlefield.
- ENEMY_MINIONS - Enum constant in enum class net.demilich.metastone.game.targeting.TargetSelection
- ENEMY_MINIONS - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References all the enemy's minions.
- ENEMY_MINIONS_LEFT_TO_RIGHT - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References all the enemy's minions, except ordered by their location on the board instead of their order of play.
- ENEMY_PLAYER - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References the enemy
Player
entity. - ENEMY_SET_ASIDE - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References the cards and actors located in the enemy set aside zone.
- ENEMY_SIGNATURE - Static variable in class net.demilich.metastone.game.targeting.EntityReference
- ENEMY_TOP_CARD - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References the next card the opponent will draw, or an empty list if no cards remain in the player's deck.
- ENEMY_WEAPON - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References the weapon of the enemy hero, or a zero-length list if one isn't equipped.
- ENRAGABLE - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
This
Minion
will typically gain an attack bonus after it is dealt damage the first time. - EnrageAura - Class in net.demilich.metastone.game.spells.aura
-
Deprecated.Use a conventional aura with a
IsDamagedCondition
whoseConditionArg.TARGET
is theEntityReference.TRIGGER_HOST
(i.e. the aura host) instead. - EnrageAura(AuraDesc) - Constructor for class net.demilich.metastone.game.spells.aura.EnrageAura
-
Deprecated.
- EnrageChangedEvent - Class in net.demilich.metastone.game.events
-
An
Actor
with anAttribute.ENRAGABLE
attribute was wounded or is now fully healed. - EnrageChangedEvent(GameContext, Entity) - Constructor for class net.demilich.metastone.game.events.EnrageChangedEvent
- EnrageChangedTrigger - Class in net.demilich.metastone.game.spells.trigger
- EnrageChangedTrigger() - Constructor for class net.demilich.metastone.game.spells.trigger.EnrageChangedTrigger
- EnrageChangedTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.EnrageChangedTrigger
- ENRAGED - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
When an
Actor
isAttribute.ENRAGED
, itsAttribute.CONDITIONAL_ATTACK_BONUS
is set to the amount of damage gained by anEnrageSpell
. - EnrageSpell - Class in net.demilich.metastone.game.spells
-
Implements the attack bonus portion of a complete Enrage effect.
- EnrageSpell() - Constructor for class net.demilich.metastone.game.spells.EnrageSpell
- Entity - Class in net.demilich.metastone.game.entities
-
An in-game entity.
- Entity() - Constructor for class net.demilich.metastone.game.entities.Entity
- ENTITY_FILTER - Enum constant in enum class net.demilich.metastone.game.cards.desc.ParseValueType
- ENTITY_FILTER_ARRAY - Enum constant in enum class net.demilich.metastone.game.cards.desc.ParseValueType
-
An array of
EntityFilterDesc
objects. - ENTITY_INSTANCE_ID - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
This
String
describes the instance of this specific entity inside the particular match. - ENTITY_LIST - Enum constant in enum class net.demilich.metastone.game.environment.Environment
-
This implements Frostmourne and other entity tracking effects.
- ENTITY_TYPE - Enum constant in enum class net.demilich.metastone.game.cards.desc.ParseValueType
-
A string matching the name of a
Spellsource.EntityTypeMessage.EntityType
enum. - ENTITY_TYPE - Enum constant in enum class net.demilich.metastone.game.spells.desc.filter.EntityFilterArg
- EntityCountValueProvider - Class in net.demilich.metastone.game.spells.desc.valueprovider
-
Counts the number of entities specified in the
ValueProviderArg.TARGET
filtered byValueProviderArg.FILTER
. - EntityCountValueProvider(ValueProviderDesc) - Constructor for class net.demilich.metastone.game.spells.desc.valueprovider.EntityCountValueProvider
- EntityEqualityCondition - Class in net.demilich.metastone.game.spells.desc.condition
-
The base condition for entity equality comparison conditions.
- EntityEqualityCondition(ConditionDesc) - Constructor for class net.demilich.metastone.game.spells.desc.condition.EntityEqualityCondition
- EntityEqualsCondition - Class in net.demilich.metastone.game.spells.desc.condition
-
Evaluates to
true
when thetarget
orConditionArg.TARGET
andConditionArg.SECONDARY_TARGET
are the same. - EntityEqualsCondition(ConditionDesc) - Constructor for class net.demilich.metastone.game.spells.desc.condition.EntityEqualsCondition
- EntityEqualsFilter - Class in net.demilich.metastone.game.spells.desc.filter
-
Matches an entity if the entity is in the list of entities returned by resolving the
EntityFilterArg.SECONDARY_TARGET
. - EntityEqualsFilter(EntityFilterDesc) - Constructor for class net.demilich.metastone.game.spells.desc.filter.EntityEqualsFilter
- EntityFilter - Class in net.demilich.metastone.game.spells.desc.filter
-
Filters
Entity
objects using itsEntityFilter.test(GameContext, Player, Entity, Entity)
implementation. - EntityFilter(EntityFilterDesc) - Constructor for class net.demilich.metastone.game.spells.desc.filter.EntityFilter
- EntityFilterArg - Enum Class in net.demilich.metastone.game.spells.desc.filter
- EntityFilterDesc - Class in net.demilich.metastone.game.spells.desc.filter
- EntityFilterDesc() - Constructor for class net.demilich.metastone.game.spells.desc.filter.EntityFilterDesc
- EntityFilterDesc(Class<? extends EntityFilter>) - Constructor for class net.demilich.metastone.game.spells.desc.filter.EntityFilterDesc
- EntityFilterDesc(Map<EntityFilterArg, Object>) - Constructor for class net.demilich.metastone.game.spells.desc.filter.EntityFilterDesc
- EntityFilterDescDeserializer - Class in net.demilich.metastone.game.cards.desc
- EntityFilterDescDeserializer() - Constructor for class net.demilich.metastone.game.cards.desc.EntityFilterDescDeserializer
- entityLocation - Variable in class net.demilich.metastone.game.entities.Entity
- EntityLocation - Class in net.demilich.metastone.game.entities
-
The location of an entity inside a
GameContext
. - EntityLocation(Spellsource.ZonesMessage.Zones, int, int) - Constructor for class net.demilich.metastone.game.entities.EntityLocation
-
Create the location with the specified zone, player and index.
- EntityReference - Class in net.demilich.metastone.game.targeting
-
An entity reference identifies a specific game entity, like a card or minion; or, it is interpreted as a group of entities, possibly always of length 1 (like
EntityReference.FRIENDLY_HERO
) or 0 or more (EntityReference.FRIENDLY_MINIONS
). - EntityReference(int) - Constructor for class net.demilich.metastone.game.targeting.EntityReference
- EntityReferenceSerializer - Class in net.demilich.metastone.game.cards.desc
- EntityReferenceSerializer() - Constructor for class net.demilich.metastone.game.cards.desc.EntityReferenceSerializer
- EntityTypeFilter - Class in net.demilich.metastone.game.spells.desc.filter
-
Returns
true
if theSpellsource.EntityTypeMessage.EntityType
fromEntity.getEntityType()
of thetarget
is equal to theEntityFilterArg.ENTITY_TYPE
argument. - EntityTypeFilter(EntityFilterDesc) - Constructor for class net.demilich.metastone.game.spells.desc.filter.EntityTypeFilter
- EntityZone<E extends Entity> - Class in net.demilich.metastone.game.entities
-
EntityZone is an abstract list that enforces that (1) supports gameplay-safe cloning and (2) enforces that an
Entity
object is only in one zone at any time. - EntityZone(int, Spellsource.ZonesMessage.Zones, Map<Integer, Entity>) - Constructor for class net.demilich.metastone.game.entities.EntityZone
- EntityZoneTable - Interface in net.demilich.metastone.game.entities
- entrySet() - Method in class net.demilich.metastone.game.cards.AttributeMap
- entrySet() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
-
This makes it possible to iterate through a CardDesc.
- entrySet() - Method in interface net.demilich.metastone.game.cards.desc.HasEntrySet
- entrySet() - Method in class net.demilich.metastone.game.spells.desc.OpenerDesc
- entrySet() - Method in class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDesc
- Environment - Enum Class in net.demilich.metastone.game.environment
-
A collection of environment variables.
- EnvironmentAftermathTriggeredItem(int, EntityReference, SpellDesc, String) - Constructor for class net.demilich.metastone.game.environment.EnvironmentAftermathTriggeredList.EnvironmentAftermathTriggeredItem
- EnvironmentAftermathTriggeredList - Class in net.demilich.metastone.game.environment
-
Keeps tracks of which aftermaths were triggered this game.
- EnvironmentAftermathTriggeredList() - Constructor for class net.demilich.metastone.game.environment.EnvironmentAftermathTriggeredList
- EnvironmentAftermathTriggeredList.EnvironmentAftermathTriggeredItem - Class in net.demilich.metastone.game.environment
-
Describes a particular triggering of an aftermath
- EnvironmentDeque<E extends Serializable> - Class in net.demilich.metastone.game.environment
-
A stack in the environment.
- EnvironmentDeque() - Constructor for class net.demilich.metastone.game.environment.EnvironmentDeque
- EnvironmentEntityList - Class in net.demilich.metastone.game.spells.custom
-
Stores a list of entities in the environment, instead of on an attribute on an entity.
- EnvironmentEntityList() - Constructor for class net.demilich.metastone.game.spells.custom.EnvironmentEntityList
- EnvironmentMap<K extends Serializable,
E extends Serializable> - Class in net.demilich.metastone.game.environment -
A key value store held in the environment.
- EnvironmentMap() - Constructor for class net.demilich.metastone.game.environment.EnvironmentMap
- EnvironmentValue - Interface in net.demilich.metastone.game.environment
-
A copyable, single value in the environment.
- EQUAL - Enum constant in enum class net.demilich.metastone.game.spells.desc.filter.ComparisonOperation
- equals(Object) - Method in class net.demilich.metastone.game.actions.DiscoverAction
- equals(Object) - Method in class net.demilich.metastone.game.actions.GameAction
- equals(Object) - Method in class net.demilich.metastone.game.actions.OpenerAction
- equals(Object) - Method in class net.demilich.metastone.game.cards.desc.Desc
- equals(Object) - Method in class net.demilich.metastone.game.decks.CollectionDeck
- equals(Object) - Method in class net.demilich.metastone.game.decks.DeckFormat
- equals(Object) - Method in class net.demilich.metastone.game.decks.FixedCardsDeckFormat
- equals(Object) - Method in class net.demilich.metastone.game.entities.EntityLocation
- equals(Object) - Method in class net.demilich.metastone.game.entities.minions.Minion
- equals(Object) - Method in class net.demilich.metastone.game.Player
-
Compares two player objects.
- equals(Object) - Method in class net.demilich.metastone.game.spells.desc.condition.Condition
- equals(Object) - Method in class net.demilich.metastone.game.spells.desc.filter.CardFilter
- equals(Object) - Method in class net.demilich.metastone.game.spells.desc.filter.EntityFilter
- equals(Object) - Method in class net.demilich.metastone.game.spells.desc.SpellDesc
- equals(Object) - Method in class net.demilich.metastone.game.targeting.EntityReference
- EquipRandomWeaponSpell - Class in net.demilich.metastone.game.spells
-
Deprecated.by
EquipWeaponSpell
. - EquipRandomWeaponSpell() - Constructor for class net.demilich.metastone.game.spells.EquipRandomWeaponSpell
-
Deprecated.
- equipWeapon(int, Weapon, Card, boolean) - Method in class net.demilich.metastone.game.logic.GameLogic
- equipWeapon(Weapon) - Method in class net.demilich.metastone.game.statistics.GameStatistics
- EquipWeaponSpell - Class in net.demilich.metastone.game.spells
-
Equips the specified weapon in
SpellArg.CARD
or chooses a random one based on theSpellArg.CARD_FILTER
andSpellArg.CARD_SOURCE
for the specifiedSpellArg.TARGET_PLAYER
. - EquipWeaponSpell() - Constructor for class net.demilich.metastone.game.spells.EquipWeaponSpell
- evaluate(Deque<GameStateValueBehaviour.Node>, int, GameStateValueBehaviour.Node, GameAction, int) - Method in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
-
Evaluates the provided game state with the provided action, then appends a new game state with potential actions to the
contextStack
. - EVALUATE_ONCE - Enum constant in enum class net.demilich.metastone.game.spells.desc.valueprovider.ValueProviderArg
- evaluateDescriptions(GameContext, Player) - Method in class net.demilich.metastone.game.entities.Entity
- evaluateOperation(ComparisonOperation, int, int) - Static method in class net.demilich.metastone.game.spells.SpellUtils
-
Given a filter
ComparisonOperation
, return a boolean representing whether that operation is satisfied. - EvenCostFilter - Class in net.demilich.metastone.game.spells.desc.filter
-
Only returns entities that have an even base cost.
- EvenCostFilter(EntityFilterDesc) - Constructor for class net.demilich.metastone.game.spells.desc.filter.EvenCostFilter
- EVENT_SOURCE - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References the
GameEvent.getSource()
entity when a trigger/enchantment is being evaluated. - EVENT_SOURCE_REFERENCE_STACK - Enum constant in enum class net.demilich.metastone.game.environment.Environment
-
Stores a stack of event sources.
- EVENT_TARGET - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
This reference retrieves the (possibly
null
) entity pointed to byGameEvent.getTarget()
. - EVENT_TARGET_REFERENCE_STACK - Enum constant in enum class net.demilich.metastone.game.environment.Environment
-
This variable stores a stack of event targets, as events are executed one after another until all events are processed.
- EVENT_TRIGGER - Enum constant in enum class net.demilich.metastone.game.cards.desc.ParseValueType
-
An
EventTriggerDesc
. - EVENT_TRIGGER - Enum constant in enum class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDescArg
- EVENT_TRIGGER_ARRAY - Enum constant in enum class net.demilich.metastone.game.cards.desc.ParseValueType
-
The array version of
ParseValueType.EVENT_TRIGGER
. - EVENT_VALUE_STACK - Enum constant in enum class net.demilich.metastone.game.environment.Environment
-
This implements Spellstones
- EventTargetMatchesReferenceCondition - Class in net.demilich.metastone.game.spells.desc.condition
-
Evaluates to
true
when theConditionArg.TARGET
from the perspective of theEntityReference.TRIGGER_HOST
and theEntityReference.EVENT_TARGET
are the same. - EventTargetMatchesReferenceCondition(ConditionDesc) - Constructor for class net.demilich.metastone.game.spells.desc.condition.EventTargetMatchesReferenceCondition
- eventTrigger - Variable in class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDesc
- EventTrigger - Class in net.demilich.metastone.game.spells.trigger
-
This is the base class of all effects that react to events in the game.
- EventTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.EventTrigger
- EventTriggerArg - Enum Class in net.demilich.metastone.game.spells.desc.trigger
- EventTriggerDesc - Class in net.demilich.metastone.game.spells.desc.trigger
- EventTriggerDesc() - Constructor for class net.demilich.metastone.game.spells.desc.trigger.EventTriggerDesc
- EventTriggerDesc(Class<? extends EventTrigger>) - Constructor for class net.demilich.metastone.game.spells.desc.trigger.EventTriggerDesc
- EventTriggerDesc(Map<EventTriggerArg, Object>) - Constructor for class net.demilich.metastone.game.spells.desc.trigger.EventTriggerDesc
- EventTriggerDescDeserializer - Class in net.demilich.metastone.game.cards.desc
- EventTriggerDescDeserializer() - Constructor for class net.demilich.metastone.game.cards.desc.EventTriggerDescDeserializer
- EventValueProvider - Class in net.demilich.metastone.game.spells.desc.valueprovider
-
Retrieves the
HasValue.getValue()
of the event being processed. - EventValueProvider(ValueProviderDesc) - Constructor for class net.demilich.metastone.game.spells.desc.valueprovider.EventValueProvider
- exceptionActionChoice(Optional<GameStateValueBehaviour.Node>, List<GameAction>) - Method in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
-
Gets the best scoring action, the end turn action or the first action in the list.
- EXCESS_HEALING_THIS_TURN - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Every time an
Actor
is healed, increment this attribute with the amount of healing and set to zero at the end of the turn. - ExcessDamageSpell - Class in net.demilich.metastone.game.spells
- ExcessDamageSpell() - Constructor for class net.demilich.metastone.game.spells.ExcessDamageSpell
- ExcessHealingEvent - Class in net.demilich.metastone.game.events
-
A
target
was healed with excess healing (i.e. - ExcessHealingEvent(GameContext, Player, Entity, Entity, int) - Constructor for class net.demilich.metastone.game.events.ExcessHealingEvent
- ExcessHealingThisTurnValueProvider - Class in net.demilich.metastone.game.spells.desc.valueprovider
-
Returns the amount of excess healing the
ValueProviderArg.TARGET_PLAYER
has given to its entities. - ExcessHealingThisTurnValueProvider(ValueProviderDesc) - Constructor for class net.demilich.metastone.game.spells.desc.valueprovider.ExcessHealingThisTurnValueProvider
- ExcessHealingTrigger - Class in net.demilich.metastone.game.spells.trigger
- ExcessHealingTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.ExcessHealingTrigger
- ExcessHealSpell - Class in net.demilich.metastone.game.spells
-
Performs a
HealSpell
effect. - ExcessHealSpell() - Constructor for class net.demilich.metastone.game.spells.ExcessHealSpell
- exchange(E, E) - Method in class net.demilich.metastone.game.entities.EntityZone
- EXCLUSIVE - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
A typically catch-all boolean argument.
- execute(GameContext, int) - Method in class net.demilich.metastone.game.actions.DiscoverAction
- execute(GameContext, int) - Method in class net.demilich.metastone.game.actions.EndTurnAction
- execute(GameContext, int) - Method in class net.demilich.metastone.game.actions.GameAction
-
The implementation of this method actually represents the game effects of this action.
- execute(GameContext, int) - Method in class net.demilich.metastone.game.actions.HeroPowerAction
- execute(GameContext, int) - Method in class net.demilich.metastone.game.actions.OpenerAction
-
Casts the
OpenerAction.getSpell()
on this action with the specified target. - execute(GameContext, int) - Method in class net.demilich.metastone.game.actions.PhysicalAttackAction
- execute(GameContext, int) - Method in class net.demilich.metastone.game.actions.PlayCardAction
-
Plays a card from the hand.
- ExoticGoodsSpell - Class in net.demilich.metastone.game.spells.custom
-
Source 3 cards from other classes (i.e., Source 3 times, each time, select from cards from other classes.
- ExoticGoodsSpell() - Constructor for class net.demilich.metastone.game.spells.custom.ExoticGoodsSpell
- expandDepthForLethal - Variable in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
- EXPIRATION_TRIGGER - Enum constant in enum class net.demilich.metastone.game.spells.desc.manamodifier.CardCostModifierArg
-
When this trigger fires, the
CardCostModifier
stops affecting theCard
it applies to. - EXPIRATION_TRIGGERS - Enum constant in enum class net.demilich.metastone.game.spells.desc.manamodifier.CardCostModifierArg
-
When this trigger fires, the
CardCostModifier
stops affecting theCard
it applies to. - EXPIRATION_TRIGGERS - Enum constant in enum class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDescArg
- expirationTriggers - Variable in class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDesc
- expirationTriggers - Variable in class net.demilich.metastone.game.spells.trigger.Enchantment
- expire(GameContext) - Method in class net.demilich.metastone.game.spells.aura.Aura
- expire(GameContext) - Method in class net.demilich.metastone.game.spells.trigger.Aftermath
- expire(GameContext) - Method in class net.demilich.metastone.game.spells.trigger.Enchantment
- expire(GameContext) - Method in interface net.demilich.metastone.game.spells.trigger.Trigger
-
Expires the trigger; marks it for removal and prevents it from executing in the future.
- expire(Trigger) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Expires a trigger.
- expireAll() - Method in class net.demilich.metastone.game.logic.GameLogic
-
Expires all triggers in the game, to prevent end-of-game triggering from causing the game to glitch out
- expired - Variable in class net.demilich.metastone.game.spells.trigger.Enchantment
- EXTRA_ATTACKS - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
An attribute used by Giant Sand Worm that refreshes the number of attacks it has.
- EXTRA_TURN - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Indicates how many extra turns the player has.
F
- FAE - Static variable in class net.demilich.metastone.game.entities.minions.Race
- FarseerNobundoSpell - Class in net.demilich.metastone.game.spells.custom
-
Creates a trigger that copies the
target
entity's text toRace.TOTEM
minions for the rest of the game. - FarseerNobundoSpell() - Constructor for class net.demilich.metastone.game.spells.custom.FarseerNobundoSpell
- FatalDamageTrigger - Class in net.demilich.metastone.game.spells.trigger
- FatalDamageTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.FatalDamageTrigger
- FATIGUE - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Fatigue is a game mechanic that deals increasing damage to players who have already drawn all of the cards in their deck, whenever they attempt to draw another card.
- FATIGUE_DAMAGE - Enum constant in enum class net.demilich.metastone.game.statistics.Statistic
- fatigueDamage(int) - Method in class net.demilich.metastone.game.statistics.GameStatistics
- FatigueEvent - Class in net.demilich.metastone.game.events
-
An attempt to draw from an empty deck occurred and the drawing player took damage.
- FatigueEvent(GameContext, int, int) - Constructor for class net.demilich.metastone.game.events.FatigueEvent
- FatigueSpell - Class in net.demilich.metastone.game.spells
-
Increments and deals fatigue damage to the
player
(SpellArg.TARGET_PLAYER
). - FatigueSpell() - Constructor for class net.demilich.metastone.game.spells.FatigueSpell
- FatigueTrigger - Class in net.demilich.metastone.game.spells.trigger
-
Fires when the player gets dealt damage from
Attribute.FATIGUE
. - FatigueTrigger() - Constructor for class net.demilich.metastone.game.spells.trigger.FatigueTrigger
- FatigueTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.FatigueTrigger
- featureVector - Variable in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
- FeatureVector - Class in net.demilich.metastone.game.behaviour.heuristic
-
Values recorded for the default and Cuckoo-optimized values for
GameStateValueBehaviour
's best heuristic weights. - FeatureVector() - Constructor for class net.demilich.metastone.game.behaviour.heuristic.FeatureVector
- FelfireDrakeSpell - Class in net.demilich.metastone.game.spells.custom
-
Sets the
target
minion's attack and health to the highest values for attack and health found amongSpellArg.CARD_FILTER
-filtered cards inCardSource
. - FelfireDrakeSpell() - Constructor for class net.demilich.metastone.game.spells.custom.FelfireDrakeSpell
- fight(Player, Actor, Actor, PhysicalAttackAction) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Causes two actors to fight.
- FightRandomAdjacentMinionSpell - Class in net.demilich.metastone.game.spells.custom
-
Causes the
EntityReference.TRIGGER_HOST
to fight a random minion adjacent to it. - FightRandomAdjacentMinionSpell() - Constructor for class net.demilich.metastone.game.spells.custom.FightRandomAdjacentMinionSpell
- FightSpell - Class in net.demilich.metastone.game.spells
-
Causes the
source
or each entity inSpellArg.SECONDARY_TARGET
toGameLogic.fight(Player, Actor, Actor, PhysicalAttackAction)
thetarget
. - FightSpell() - Constructor for class net.demilich.metastone.game.spells.FightSpell
- FILTER - Enum constant in enum class net.demilich.metastone.game.spells.desc.aura.AuraArg
- FILTER - Enum constant in enum class net.demilich.metastone.game.spells.desc.condition.ConditionArg
- FILTER - Enum constant in enum class net.demilich.metastone.game.spells.desc.manamodifier.CardCostModifierArg
-
A filter to apply to the
CardCostModifierArg.TARGET
. - FILTER - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
An
EntityFilter
that is applied to the targets returned by theSpellArg.TARGET
orTargetSelection
specified on theCardDesc.getTargetSelection()
. - FILTER - Enum constant in enum class net.demilich.metastone.game.spells.desc.valueprovider.ValueProviderArg
- filtered(Predicate<? super Card>) - Method in interface net.demilich.metastone.game.cards.CardList
-
Gets a
CardList
of this instance's cards filtered byfilter
- FILTERS - Enum constant in enum class net.demilich.metastone.game.spells.desc.filter.EntityFilterArg
- FinalFeastSpell - Class in net.demilich.metastone.game.spells.custom
-
Drains
SpellArg.VALUE
health for eachtarget
resolved from the perspective of eachSpellArg.SECONDARY_TARGET
. - FinalFeastSpell() - Constructor for class net.demilich.metastone.game.spells.custom.FinalFeastSpell
- findEntity(int) - Method in class net.demilich.metastone.game.Player
- findEntity(GameContext, EntityReference) - Method in class net.demilich.metastone.game.logic.TargetLogic
-
Find an entity in the game context using targeting rules.
- fire(GameEvent, Entity) - Method in class net.demilich.metastone.game.spells.trigger.FatigueTrigger
- FIRE_CONDITION - Enum constant in enum class net.demilich.metastone.game.spells.desc.trigger.EventTriggerArg
- fireGameEvent(GameEvent) - Method in class net.demilich.metastone.game.logic.GameLogic
-
The core implementation of firing game events.
- fireMissileEvent(GameContext, Player, Entity, List<Entity>, EnumSet<Spellsource.DamageTypeMessage.DamageType>) - Static method in class net.demilich.metastone.game.logic.GameLogic
-
Fires a missile event if the criteria are met.
- fireNotification(Notification) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Fires a notification, which has no gameplay side effects.
- fires(GameEvent) - Method in class net.demilich.metastone.game.spells.trigger.Enchantment
- fires(GameEvent) - Method in interface net.demilich.metastone.game.spells.trigger.Trigger
-
Returns
true
if the trigger fire in response to the givenGameEvent
. - fires(GameEvent, Entity, int) - Method in class net.demilich.metastone.game.spells.trigger.AbstractSummonTrigger
- fires(GameEvent, Entity, int) - Method in class net.demilich.metastone.game.spells.trigger.EventTrigger
- fires(GameEvent, Entity, int) - Method in class net.demilich.metastone.game.spells.trigger.SupremacyTrigger
- FiresLeftValueProvider - Class in net.demilich.metastone.game.spells.desc.valueprovider
-
Returns the number of fires left in the first enchantment attached to the
target
. - FiresLeftValueProvider(ValueProviderDesc) - Constructor for class net.demilich.metastone.game.spells.desc.valueprovider.FiresLeftValueProvider
- firesThisSequence - Variable in class net.demilich.metastone.game.spells.trigger.Enchantment
- FirstConditionalSpell - Class in net.demilich.metastone.game.spells
-
Like
ConditionalSpell
, except executes the first matching condition. - FirstConditionalSpell() - Constructor for class net.demilich.metastone.game.spells.FirstConditionalSpell
- firstLoad() - Static method in class net.demilich.metastone.game.cards.CardCatalogue
- FixedCardsDeckFormat - Class in net.demilich.metastone.game.decks
- FixedCardsDeckFormat(String...) - Constructor for class net.demilich.metastone.game.decks.FixedCardsDeckFormat
- FlatMonteCarloBehaviour - Class in net.demilich.metastone.game.behaviour
-
A behaviour which randomly samples the game tree seeking sequences of actions that terminate in wins.
- FlatMonteCarloBehaviour() - Constructor for class net.demilich.metastone.game.behaviour.FlatMonteCarloBehaviour
- FlatMonteCarloBehaviour(int) - Constructor for class net.demilich.metastone.game.behaviour.FlatMonteCarloBehaviour
- FLAVOR - Enum constant in enum class net.demilich.metastone.game.cards.desc.CardDescArg
- ForceDeathPhaseSpell - Class in net.demilich.metastone.game.spells
-
At the moment this spell is invoked, the sequence is ended and dead entities are cleaned up from the board, triggering deathrattles.
- ForceDeathPhaseSpell() - Constructor for class net.demilich.metastone.game.spells.ForceDeathPhaseSpell
- forceGarbageCollection - Variable in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
- forId(String) - Static method in interface net.demilich.metastone.game.decks.Deck
- format(String) - Static method in class net.demilich.metastone.game.spells.ChooseOneOptionSpell
- FORMAT - Enum constant in enum class net.demilich.metastone.game.spells.desc.source.CardSourceArg
- FORMAT_NAME_ALL - Static variable in class net.demilich.metastone.game.decks.DeckFormat
- FormatCatalogueSource - Class in net.demilich.metastone.game.spells.desc.source
-
Returns a list of cards in the specified
CardSourceArg.FORMAT
. - FormatCatalogueSource(CardSourceDesc) - Constructor for class net.demilich.metastone.game.spells.desc.source.FormatCatalogueSource
- formats() - Static method in class net.demilich.metastone.game.decks.DeckFormat
- FORMATS - Static variable in class net.demilich.metastone.game.cards.CardCatalogue
- FormlessAgonyMissilesSpell - Class in net.demilich.metastone.game.spells.custom
-
Fires
SpellArg.HOW_MANY
missiles at theSpellArg.TARGET
entities. - FormlessAgonyMissilesSpell() - Constructor for class net.demilich.metastone.game.spells.custom.FormlessAgonyMissilesSpell
- forUser(String, int, GameDeck) - Static method in class net.demilich.metastone.game.Player
-
Creates a player for the given integer id, userId and deck.
- FREEZES_PERMANENTLY - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Indicates a character shouldn't naturally lose the FROZEN attribute
- FRIENDLY_CARDS - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References all entities that are "in play" for the friendly player i.e.
- FRIENDLY_CHARACTERS - Enum constant in enum class net.demilich.metastone.game.targeting.TargetSelection
- FRIENDLY_CHARACTERS - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References all the friendly characters (the player's hero and minions).
- FRIENDLY_DECK - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References all the cards in the player's deck.
- FRIENDLY_DECK_FROM_TOP - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References all the cards in the player's deck, ordered from the top of the deck towards the bottom.
- FRIENDLY_GRAVEYARD - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References the cards and actors in the friendly graveyard.
- FRIENDLY_HAND - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References all the cards in the player's hand.
- FRIENDLY_HERO - Enum constant in enum class net.demilich.metastone.game.targeting.TargetSelection
- FRIENDLY_HERO - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References the friendly hero.
- FRIENDLY_HERO_AND_MINIONS - Enum constant in enum class net.demilich.metastone.game.targeting.TargetSelection
- FRIENDLY_HERO_POWER - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References the card that is currently the friendly player's hero power.
- FRIENDLY_LAST_CARD_PLAYED - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References the last card played by the friendly player.
- FRIENDLY_LAST_CARD_PLAYED_BEFORE_CURRENT_SEQUENCE - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References the last card played by the friendly player before this current sequence.
- FRIENDLY_LAST_DIED_MINION - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References the last minion belonging to the friendly player that died.
- FRIENDLY_LAST_MINION_PLAYED - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References the last minion card played before this current sequence.
- FRIENDLY_LAST_SPELL_PLAYED_THIS_TURN - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References the last spell played by this player this turn only.
- FRIENDLY_MINIONS - Enum constant in enum class net.demilich.metastone.game.targeting.TargetSelection
- FRIENDLY_MINIONS - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References all the player's minions.
- FRIENDLY_MINIONS_LEFT_TO_RIGHT - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References all the friendly minions, except ordered by their location on the board instead of their order of play.
- FRIENDLY_PLAYER - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References the friendly
Player
entity. - FRIENDLY_SECRETS - Static variable in class net.demilich.metastone.game.targeting.EntityReference
- FRIENDLY_SET_ASIDE - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References the cards and actors located in the friendly set aside zone.
- FRIENDLY_SIGNATURE - Static variable in class net.demilich.metastone.game.targeting.EntityReference
- FRIENDLY_TOP_CARD - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References the next card the friendly player will draw, or an empty list if no cards remain in the player's deck.
- FRIENDLY_WEAPON - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References the
Weapon
of the friendly hero, or a zero-length list if one isn't equipped. - fromCardIds(String, String...) - Static method in class net.demilich.metastone.game.decks.DeckCreateRequest
- fromCardIds(String, List<String>) - Static method in class net.demilich.metastone.game.decks.DeckCreateRequest
- fromDeckList(String) - Static method in class net.demilich.metastone.game.decks.DeckCreateRequest
-
Creates a deck list from a specified community format.
- fromDeckLists(List<String>) - Static method in class net.demilich.metastone.game.GameContext
-
Gets a game context that's ready to play from two deck lists encoded in the standard community format.
- fromDeckLists(List<String>, Behaviour, Behaviour) - Static method in class net.demilich.metastone.game.GameContext
-
Gets a game context that's ready to play from two deck lists encoded in the standard community format.
- fromDecks(long, List<GameDeck>) - Static method in class net.demilich.metastone.game.GameContext
- fromDecks(List<GameDeck>) - Static method in class net.demilich.metastone.game.GameContext
-
Gets a game context that's ready to play from two
GameDeck
objects. - fromDecks(List<GameDeck>, Behaviour, Behaviour) - Static method in class net.demilich.metastone.game.GameContext
-
Gets a game context that's ready to play from two
GameDeck
objects. - FromDeckToHandSpell - Class in net.demilich.metastone.game.spells
-
Moves a card from the deck to the hand.
- FromDeckToHandSpell() - Constructor for class net.demilich.metastone.game.spells.FromDeckToHandSpell
- fromState(GameState) - Static method in class net.demilich.metastone.game.GameContext
-
Creates a game context from the given state.
- fromTrace(Trace) - Static method in class net.demilich.metastone.game.GameContext
-
Creates a game context from a trace.
- fromTwoRandomDecks() - Static method in class net.demilich.metastone.game.GameContext
-
Creates a new game context with two random decks and random play behaviour.
- fromTwoRandomDecks(long) - Static method in class net.demilich.metastone.game.GameContext
- fromTwoRandomDecks(DeckFormat) - Static method in class net.demilich.metastone.game.GameContext
-
Creates a game with two random decks in the specified format.
- FROZEN - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
A frozen
Actor
cannot attack. - FULL_MANA_CRYSTALS - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
When
true
, indicates toModifyMaxManaSpell
whether it should give a player full or empty mana crystals. - FumbleSpell - Class in net.demilich.metastone.game.spells
-
Implements "50% chance to target the wrong entity" when coupled with an appropriate trigger.
- FumbleSpell() - Constructor for class net.demilich.metastone.game.spells.FumbleSpell
G
- gainArmor(Player, int) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Gains armor and triggers an
ArmorChangedEvent
. - GainArmorSpell - Class in net.demilich.metastone.game.spells
-
Gives the hero of the
target
's ownerSpellArg.VALUE
armor. - GainArmorSpell() - Constructor for class net.demilich.metastone.game.spells.GainArmorSpell
- GainManaSpell - Class in net.demilich.metastone.game.spells
-
Gives the player a temporary amount of
SpellArg.VALUE
mana. - GainManaSpell() - Constructor for class net.demilich.metastone.game.spells.GainManaSpell
- GainStatsOfHighestCostMinionSpell - Class in net.demilich.metastone.game.spells.custom
-
Buffs the
target
with the stats of the highest cost minion in the player's hand. - GainStatsOfHighestCostMinionSpell() - Constructor for class net.demilich.metastone.game.spells.custom.GainStatsOfHighestCostMinionSpell
- GAME_START_TIME_MILLIS - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Indicates the time, in millis, that a game was started
- GAME_STARTED - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Indicates that the game has started for the specified player.
- GAME_TRIGGERS - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Marks that this
Card
has a trigger (this attribute) that should be active throughout the game. - GAME_TRIGGERS - Enum constant in enum class net.demilich.metastone.game.cards.desc.CardDescArg
- GAME_VALUE - Enum constant in enum class net.demilich.metastone.game.cards.desc.ParseValueType
-
A string matching the name of a
GameValue
enum. - GAME_VALUE - Enum constant in enum class net.demilich.metastone.game.spells.desc.valueprovider.ValueProviderArg
- GameAction - Class in net.demilich.metastone.game.actions
-
An action a player can take in the game.
- GameAction() - Constructor for class net.demilich.metastone.game.actions.GameAction
- GameContext - Class in net.demilich.metastone.game
-
A game context helps execute a match of Spellsource, providing a place to store state, deliver requests for actions to players, apply those player actions through a
GameLogic
, and then save the updated state as a result of those actions. - GameContext() - Constructor for class net.demilich.metastone.game.GameContext
-
Creates a game context with two empty players and two
PlayRandomBehaviour
behaviours. - GameContext(String...) - Constructor for class net.demilich.metastone.game.GameContext
-
Creates an uninitialized game context (i.e., no cards in the decks of the players or behaviours specified).
- GameContext(GameContext) - Constructor for class net.demilich.metastone.game.GameContext
-
Creates a game context from another context by copying it.
- GameDeck - Class in net.demilich.metastone.game.decks
-
A deck that contains cards, a name, a hero card, etc.
- GameDeck() - Constructor for class net.demilich.metastone.game.decks.GameDeck
- GameDeck(String) - Constructor for class net.demilich.metastone.game.decks.GameDeck
- GameDeck(String, boolean) - Constructor for class net.demilich.metastone.game.decks.GameDeck
- GameDeck(String, List<String>) - Constructor for class net.demilich.metastone.game.decks.GameDeck
- GameEnchantmentDescConverter - Class in net.demilich.metastone.game.cards.desc
- GameEnchantmentDescConverter() - Constructor for class net.demilich.metastone.game.cards.desc.GameEnchantmentDescConverter
- GameEvent - Class in net.demilich.metastone.game.events
-
The base class for game events, or things that happen during the execution of a
GameAction
that other game rules may react to. - GameEvent(GameContext, Entity, Entity, int, int) - Constructor for class net.demilich.metastone.game.events.GameEvent
- GameEvent(GameContext, Player, Entity, Entity) - Constructor for class net.demilich.metastone.game.events.GameEvent
- GameLogic - Class in net.demilich.metastone.game.logic
-
The game logic class implements the basic primitives of gameplay.
- GameLogic() - Constructor for class net.demilich.metastone.game.logic.GameLogic
-
Creates a new game logic instance whose next ID generated for an
Entity.setId(int)
argument will be zero. - GameLogic(long) - Constructor for class net.demilich.metastone.game.logic.GameLogic
-
Creates a game logic instance with the specified seed.
- GameLogic(IdFactoryImpl, long) - Constructor for class net.demilich.metastone.game.logic.GameLogic
-
Create a game logic instance with the specified seed and ID factory.
- GameLogic.QueuedTrigger - Class in net.demilich.metastone.game.logic
-
Keeps track of data regarding a queued trigger firing (the tuple of event and trigger that needs to be processed)
- GameLogic.TargetResolution - Class in net.demilich.metastone.game.logic
-
Stores the result of a targeting resolution.
- gameLost() - Method in class net.demilich.metastone.game.statistics.GameStatistics
- GAMES_LOST - Enum constant in enum class net.demilich.metastone.game.statistics.Statistic
- GAMES_WON - Enum constant in enum class net.demilich.metastone.game.statistics.Statistic
- GameStartEvent - Class in net.demilich.metastone.game.events
-
The game has started.
- GameStartEvent(GameContext, Player) - Constructor for class net.demilich.metastone.game.events.GameStartEvent
- GameStartTrigger - Class in net.demilich.metastone.game.spells.trigger
-
Fires at the start of the game.
- GameStartTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.GameStartTrigger
- GameState - Class in com.hiddenswitch.spellsource.common
-
The fields that correspond to a complete state of the game.
- GameState(GameContext) - Constructor for class com.hiddenswitch.spellsource.common.GameState
- GameState(GameContext, TurnState) - Constructor for class com.hiddenswitch.spellsource.common.GameState
- GameState(GameContext, TurnState, boolean) - Constructor for class com.hiddenswitch.spellsource.common.GameState
- GameStateChangedTrigger - Class in net.demilich.metastone.game.spells.trigger
-
Fires for all events.
- GameStateChangedTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.GameStateChangedTrigger
- GameStateValueBehaviour - Class in net.demilich.metastone.game.behaviour
-
GameStateValueBehaviour is an implementation of a decent AI with the best-in-class performance among bots in the community.
- GameStateValueBehaviour() - Constructor for class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
- GameStateValueBehaviour(FeatureVector, String) - Constructor for class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
- GameStateValueBehaviour.IntermediateNode - Class in net.demilich.metastone.game.behaviour
-
This helper class stores a list of choices from an intermediate node expansion.
- GameStatistics - Class in net.demilich.metastone.game.statistics
-
This class collects a player's actions in a game.
- GameStatistics() - Constructor for class net.demilich.metastone.game.statistics.GameStatistics
- GameStatus - Enum Class in net.demilich.metastone.game.logic
- GameValue - Enum Class in net.demilich.metastone.game.spells
-
Used in
MetaSpell
andGameValueProvider
to refer to specific values calculated at the timeMetaSpell
is evaluated. - GameValueProvider - Class in net.demilich.metastone.game.spells.desc.valueprovider
-
Used to retrieve a variable calculated in a
MetaSpell
. - GameValueProvider(ValueProviderDesc) - Constructor for class net.demilich.metastone.game.spells.desc.valueprovider.GameValueProvider
- gameWon() - Method in class net.demilich.metastone.game.statistics.GameStatistics
- GatekeeperShaAura - Class in net.demilich.metastone.game.spells.aura
-
Gives
GatekeeperShaValueProvider
the amount to increase the numbers written on spells by. - GatekeeperShaAura(AuraDesc) - Constructor for class net.demilich.metastone.game.spells.aura.GatekeeperShaAura
- GatekeeperShaValueDescription - Class in net.demilich.metastone.game.cards.dynamicdescription
-
Renders a
PluralDescription
with aGatekeeperShaValueProvider
. - GatekeeperShaValueDescription(DynamicDescriptionDesc) - Constructor for class net.demilich.metastone.game.cards.dynamicdescription.GatekeeperShaValueDescription
- GatekeeperShaValueProvider - Class in net.demilich.metastone.game.spells.desc.valueprovider
-
Returns the count of Gatekeeper Sha auras (unexpired) that are in play on your side of the battlefield.
- GatekeeperShaValueProvider(ValueProviderDesc) - Constructor for class net.demilich.metastone.game.spells.desc.valueprovider.GatekeeperShaValueProvider
- generateCardId() - Method in class net.demilich.metastone.game.logic.GameLogic
-
Generates a card ID for creating cards on the fly inside the game.
- generateId() - Method in class net.demilich.metastone.game.logic.GameLogic
- generateId() - Method in interface net.demilich.metastone.game.targeting.IdFactory
- generateId() - Method in class net.demilich.metastone.game.targeting.IdFactoryImpl
- get(int) - Method in class net.demilich.metastone.game.cards.CardArrayList
- get(int) - Method in interface net.demilich.metastone.game.cards.CardList
-
Gets a card at the specified index.
- get(int) - Method in class net.demilich.metastone.game.entities.EntityZone
- get(Object) - Method in class net.demilich.metastone.game.cards.CardAttributeMap
- get(WeightedFeature) - Method in class net.demilich.metastone.game.behaviour.heuristic.FeatureVector
- get(CardCostModifierArg) - Method in class net.demilich.metastone.game.cards.costmodifier.CardCostModifier
-
Returns the value of the specified
CardCostModifierArg
- get(Statistic) - Method in class net.demilich.metastone.game.statistics.GameStatistics
- getAbstractComponentClass() - Method in class net.demilich.metastone.game.cards.desc.AuraDescDeserializer
- getAbstractComponentClass() - Method in class net.demilich.metastone.game.cards.desc.CardCostModifierDescDeserializer
- getAbstractComponentClass() - Method in class net.demilich.metastone.game.cards.desc.CardSourceDescDeserializer
- getAbstractComponentClass() - Method in class net.demilich.metastone.game.cards.desc.ConditionDescDeserializer
- getAbstractComponentClass() - Method in class net.demilich.metastone.game.cards.desc.DescDeserializer
- getAbstractComponentClass() - Method in class net.demilich.metastone.game.cards.desc.EntityFilterDescDeserializer
- getAbstractComponentClass() - Method in class net.demilich.metastone.game.cards.desc.EventTriggerDescDeserializer
- getAbstractComponentClass() - Method in class net.demilich.metastone.game.cards.desc.SpellDescDeserializer
- getAbstractComponentClass() - Method in class net.demilich.metastone.game.cards.desc.ValueProviderDescDeserializer
- getAbstractComponentClass() - Method in class net.demilich.metastone.game.cards.dynamicdescription.DynamicDescriptionDeserializer
- getAction() - Method in class net.demilich.metastone.game.events.TargetAcquisitionEvent
- getActions() - Method in class net.demilich.metastone.game.logic.Trace
- getActionStack() - Method in class net.demilich.metastone.game.GameContext
- getActionsThisTurn() - Method in class net.demilich.metastone.game.GameContext
- getActionType() - Method in class net.demilich.metastone.game.actions.GameAction
- getActionType() - Method in class net.demilich.metastone.game.events.TargetAcquisitionEvent
- getActivationTriggers() - Method in class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDesc
-
Triggers that activate this enchantment when they fired.
- getActivationTriggers() - Method in class net.demilich.metastone.game.spells.trigger.Enchantment
- getActivePlayer() - Method in class net.demilich.metastone.game.GameContext
-
Gets a reference to the currently active player (the player whose turn it is).
- getActivePlayerId() - Method in class com.hiddenswitch.spellsource.common.GameState
-
The currently active player.
- getActivePlayerId() - Method in class net.demilich.metastone.game.GameContext
-
Gets the integer ID of the player whose current turn it is.
- getActiveTriggers(EntityReference) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Gets the unexpired triggers (i.e.
- getActors(GameContext, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.AdjacentEffectSpell
- getActors(GameContext, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.AdjacentDeathrattleSpell
- getActors(GameContext, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.OppositeEffectSpell
- getActors(GameContext, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.RelativeToTargetEffectSpell
- getAdjacentMinions(EntityReference) - Method in class net.demilich.metastone.game.GameContext
-
Gets the minions adjacent to the given minion.
- getAffectedEntities() - Method in class net.demilich.metastone.game.spells.aura.Aura
- getAftermaths() - Method in class net.demilich.metastone.game.environment.EnvironmentAftermathTriggeredList
-
Gets all the aftermaths triggered this game
- getAftermaths() - Method in class net.demilich.metastone.game.events.DestroyWillQueue.DestroyEvent
- getAftermaths() - Method in class net.demilich.metastone.game.GameContext
- getAftermaths(Entity) - Method in class net.demilich.metastone.game.logic.GameLogic
- getAftermaths(GameContext, Entity) - Method in class net.demilich.metastone.game.spells.custom.RepeatAllAftermathsSpell
- getAftermaths(GameContext, Entity) - Method in class net.demilich.metastone.game.spells.custom.RepeatLastAftermathsSpell
- getAftermathSpells(Actor) - Method in class net.demilich.metastone.game.logic.GameLogic
- getAll() - Static method in class net.demilich.metastone.game.cards.CardCatalogue
- getAllBehaviours() - Static method in class com.hiddenswitch.spellsource.util.Simulation
- getAmountOfCurrency(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.aura.CardCostInsteadAura
- getAndRemoveCard(GameContext, List<Card>) - Method in class net.demilich.metastone.game.spells.ReceiveCardSpell
- getAndRemoveCard(GameContext, List<Card>) - Method in class net.demilich.metastone.game.spells.ReceiveLastCardSpell
- getAnotherRandomTarget(Player, Actor, Actor, EntityReference) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Gets a random target from a list of potential targets.
- getApplyAuraEffect() - Method in class net.demilich.metastone.game.spells.aura.Aura
- getApplyAuraEffect() - Method in class net.demilich.metastone.game.spells.aura.EffectlessAura
- getApplyAuraEffect() - Method in class net.demilich.metastone.game.spells.aura.SpellAura
- getApplyEffect() - Method in class net.demilich.metastone.game.spells.desc.aura.AuraDesc
- getArg(EntityFilterArg) - Method in class net.demilich.metastone.game.spells.desc.filter.EntityFilter
- getArg(CardSourceArg) - Method in class net.demilich.metastone.game.spells.desc.source.CardSource
- getArmor() - Method in class net.demilich.metastone.game.cards.Card
- getArmor() - Method in class net.demilich.metastone.game.entities.Actor
- getArt() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- getAttack() - Method in class net.demilich.metastone.game.cards.Card
- getAttack() - Method in class net.demilich.metastone.game.entities.Actor
- getAttack() - Method in class net.demilich.metastone.game.entities.minions.Minion
- getAttack() - Method in class net.demilich.metastone.game.entities.weapons.Weapon
- getAttacker() - Method in class net.demilich.metastone.game.events.PhysicalAttackEvent
- getAttackerReference() - Method in class net.demilich.metastone.game.actions.PhysicalAttackAction
- getAttackerReferenceStack() - Method in class net.demilich.metastone.game.GameContext
- getAttribute() - Method in class net.demilich.metastone.game.events.AttributeAppliedEvent
- getAttribute() - Method in class net.demilich.metastone.game.spells.aura.StatefulAttributeValueAura
- getAttribute() - Method in class net.demilich.metastone.game.spells.desc.aura.AuraDesc
- getAttribute() - Method in class net.demilich.metastone.game.spells.desc.SpellDesc
- getAttribute(Attribute) - Method in class net.demilich.metastone.game.entities.Entity
-
Gets the specified attribute.
- getAttributes() - Method in class net.demilich.metastone.game.cards.Card
- getAttributes() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
-
Represents a key-value collection of
Attribute
. - getAttributes() - Method in class net.demilich.metastone.game.entities.Entity
-
Gets the complete attribute map reference (not a copy).
- getAttributeValue(Attribute) - Method in class net.demilich.metastone.game.entities.Entity
-
Gets the specified attribute as an
Integer
value or0
if the specified attribute is of the wrong type or is not found. - getAttributeValue(Attribute, int) - Method in class net.demilich.metastone.game.entities.Entity
-
Gets the specified attribute as an
Integer
value, defaulting to the specified value if the value is not an integer. - getAttributeValue(Player, Attribute, int) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Returns the first value of the attribute encountered.
- getAura() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
-
The aura that is active whenever the actor is in a in-play zone (
Spellsource.ZonesMessage.Zones.BATTLEFIELD
,Spellsource.ZonesMessage.Zones.WEAPON
,Spellsource.ZonesMessage.Zones.HERO
). - getAuraAttributes() - Static method in enum class net.demilich.metastone.game.cards.Attribute
-
Contains attributes that are the
Aura
version of a corresponding attribute. - getAuras() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
-
The auras that are active whenever the actor is in play.
- getAuras(GameContext, int, Class<T>) - Static method in class net.demilich.metastone.game.spells.SpellUtils
-
Retrieves all of the unexpired, active auras that are instances of the
auraClass
hosted byEntity.isInPlay()
entities belonging to theplayerId
or passive auras hosted by hero powers and cards. - getAuras(GameContext, Class<T>, Entity) - Static method in class net.demilich.metastone.game.spells.SpellUtils
-
Get the auras that are affecting the specified target of the given class.
- getAuthor() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
-
Indicates the author of this card.
- getBannedDraftCards() - Static method in class net.demilich.metastone.game.cards.CardCatalogue
- getBaseAttack() - Method in class net.demilich.metastone.game.cards.Card
- getBaseAttack() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
-
The base attack of the minion.
- getBaseAttack() - Method in class net.demilich.metastone.game.entities.Actor
- getBaseClasses(DeckFormat) - Static method in class net.demilich.metastone.game.cards.CardCatalogue
-
Retrieves the
HeroClass
strings that correspond to the classes in the specified format. - getBaseClasses(DeckFormat) - Static method in class net.demilich.metastone.game.entities.heroes.HeroClass
-
Gets all the classes (a list of strings) in the card catalogue.
- getBaseDamage() - Method in class net.demilich.metastone.game.cards.Card
- getBaseDurability() - Method in class net.demilich.metastone.game.cards.Card
- getBaseDurability() - Method in class net.demilich.metastone.game.entities.weapons.Weapon
- getBaseHp() - Method in class net.demilich.metastone.game.cards.Card
- getBaseHp() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
-
The base HP of the minion.
- getBaseHp() - Method in class net.demilich.metastone.game.entities.Actor
- getBaseManaCost() - Method in class net.demilich.metastone.game.cards.Card
-
The base mana cost of a card.
- getBaseManaCost() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
-
The base mana cost of the card.
- getBattlecry() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
-
Specifies the minion, hero or weapon's battlecry.
- getBattlecryDescription(int) - Method in class net.demilich.metastone.game.cards.Card
- getBattlecryName(int) - Method in class net.demilich.metastone.game.cards.Card
- getBehaviour() - Method in class com.hiddenswitch.spellsource.draft.DraftContext
-
Gets the behaviour to which draft requests are delegated.
- getBehaviours() - Method in class net.demilich.metastone.game.GameContext
- getBehaviourSuppliers(Map<String, Class<? extends Behaviour>>, List<String>) - Static method in class com.hiddenswitch.spellsource.util.Simulation
- getBestAction() - Method in class net.demilich.metastone.game.behaviour.mcts.Node
- getBoardPosition(GameContext, Player, SpellDesc, Entity) - Static method in class net.demilich.metastone.game.spells.SpellUtils
-
Interprets the
SpellArg.BOARD_POSITION_ABSOLUTE
orSpellArg.BOARD_POSITION_RELATIVE
in adesc
given thesource
entity. - getBonusAttack() - Method in class net.demilich.metastone.game.cards.Card
- getBonusDamage() - Method in class net.demilich.metastone.game.cards.Card
- getBonusDurability() - Method in class net.demilich.metastone.game.cards.Card
- getBonusesFromAura(GameContext, int, Class<? extends Aura>, Entity, Entity) - Static method in class net.demilich.metastone.game.spells.SpellUtils
-
Retrieves an array of spells corresponding to the
AuraArg.APPLY_EFFECT
field on an aura whose condition is null or fulfilled for the givensource
andtarget
. - getBonusHp() - Method in class net.demilich.metastone.game.cards.Card
- getBool(T) - Method in class net.demilich.metastone.game.cards.desc.Desc
- getCanAffordCondition() - Method in class net.demilich.metastone.game.spells.aura.CardCostInsteadAura
- getCard() - Method in class net.demilich.metastone.game.actions.DiscoverAction
-
Gets a reference to the card this discover action corresponds to.
- getCard() - Method in class net.demilich.metastone.game.cards.CardAttributeMap
- getCard(GameContext, SpellDesc) - Static method in class net.demilich.metastone.game.spells.SpellUtils
-
Gets a card out of a
SpellDesc
. - getCardById(String) - Static method in class net.demilich.metastone.game.cards.CardCatalogue
-
Gets a card from the card database by a specific ID.
- getCardById(String) - Method in class net.demilich.metastone.game.GameContext
-
Gets a card by ID, checking both the catalogue and the cards in
GameContext.getTempCards()
. - getCardByName(String) - Static method in class net.demilich.metastone.game.cards.CardCatalogue
- getCardByName(String, String) - Static method in class net.demilich.metastone.game.cards.CardCatalogue
- getCardChoices() - Method in class com.hiddenswitch.spellsource.draft.DraftLogic
-
Gets a list of card choices currently available to the player.
- getCardCostModifier() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
-
A card cost modifier that is active whenever the actor is in play.
- getCardEnchantmentAttributes() - Static method in enum class net.demilich.metastone.game.cards.Attribute
-
Contains the list of attributes that enchant cards as opposed to actors.
- getCardFilter() - Method in class net.demilich.metastone.game.spells.desc.SpellDesc
- getCardFromContextOrDiscover(GameContext, String) - Static method in class net.demilich.metastone.game.spells.SpellUtils
-
Retrieves a reference to a newly generated card currently in the
Spellsource.ZonesMessage.Zones.DISCOVER
if the givencardId
can be found there. - getCardId() - Method in class net.demilich.metastone.game.cards.Card
-
Gets the card's ID as it corresponds to the card catalogue.
- getCardId() - Method in class net.demilich.metastone.game.environment.EnvironmentAftermathTriggeredList.EnvironmentAftermathTriggeredItem
-
The exact card id of the source at the time the aftermath was triggered
- getCardIds() - Method in class net.demilich.metastone.game.decks.DeckCreateRequest
- getCardIds() - Method in class net.demilich.metastone.game.logic.DeckTrace
- getCardInventoryId() - Method in class net.demilich.metastone.game.entities.Actor
- getCardInventoryId() - Method in class net.demilich.metastone.game.entities.Entity
-
Gets the card's inventory ID (unique instance of the card).
- getCardOrCards() - Method in class net.demilich.metastone.game.spells.desc.filter.EntityFilterDesc
- getCards() - Method in class com.hiddenswitch.spellsource.draft.PrivateDraftState
-
The
DraftLogic.ROUNDS
worth ofDraftLogic.CARDS_PER_ROUND
card choices this player will have. - getCards() - Static method in class net.demilich.metastone.game.cards.CardCatalogue
-
Returns a mutable reference to the cards loaded into this catalogue.
- getCards() - Method in class net.demilich.metastone.game.decks.GameDeck
- getCards() - Method in class net.demilich.metastone.game.spells.desc.SpellDesc
- getCards(CardList, Predicate<Card>) - Static method in class net.demilich.metastone.game.spells.SpellUtils
-
Filters a card list.
- getCards(GameContext, Entity) - Method in class net.demilich.metastone.game.spells.custom.EnvironmentEntityList
-
Retrieves a read-only view of a list of cards from this list.
- getCards(GameContext, Entity, Player) - Method in class net.demilich.metastone.game.spells.desc.source.CardSource
- getCards(GameContext, Player, Entity, Entity, SpellDesc) - Static method in class net.demilich.metastone.game.spells.SpellUtils
-
Retrieves the cards specified in the
SpellDesc
, either in theSpellArg.CARD
orSpellArg.CARDS
properties or as specified by aCardSource
andCardFilter
. - getCards(GameContext, Player, Entity, Entity, SpellDesc, int) - Static method in class net.demilich.metastone.game.spells.SpellUtils
-
Retrieves the cards specified in the
SpellDesc
, either in theSpellArg.CARD
orSpellArg.CARDS
properties or as specified by aCardSource
andCardFilter
. - getCards(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.CastSpellCopySpell
- getCards(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.PlayCardsRandomlySpell
- getCards(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.PlayLastCardsRandomlySpell
- getCards(GameContext, SpellDesc) - Static method in class net.demilich.metastone.game.spells.SpellUtils
-
Retrieves the cards specified inside the
SpellArg.CARD
andSpellArg.CARDS
arguments. - getCardsCopy() - Method in class net.demilich.metastone.game.decks.GameDeck
- getCardSet() - Method in class net.demilich.metastone.game.cards.Card
-
Gets the set that the card belongs to.
- getCardSets() - Method in class net.demilich.metastone.game.cards.Card
-
Gets the sets that this card lists.
- getCardSets() - Method in class net.demilich.metastone.game.decks.DeckFormat
- getCardSource() - Method in class net.demilich.metastone.game.spells.desc.SpellDesc
- getCardsPlayed() - Method in class net.demilich.metastone.game.statistics.GameStatistics
- getCardsRemaining() - Method in class com.hiddenswitch.spellsource.draft.PublicDraftState
-
Gets how many cards remain to be chosen.
- getCardType() - Method in class net.demilich.metastone.game.cards.Card
-
Gets the card type, like Hero, Secret, Spell or Minion.
- getCardType() - Method in class net.demilich.metastone.game.cards.costmodifier.CardCostModifier
- getCastingPlayer() - Method in class net.demilich.metastone.game.spells.SpellUtils.DetermineCastingPlayer
- getCatalogueVersion() - Method in class net.demilich.metastone.game.logic.Trace
- getChildren() - Method in class net.demilich.metastone.game.behaviour.mcts.Node
- getChoiceCardId() - Method in interface net.demilich.metastone.game.actions.HasChoiceCard
- getChoiceCardId() - Method in class net.demilich.metastone.game.actions.HeroPowerAction
- getChoiceCardId() - Method in class net.demilich.metastone.game.actions.PlayChooseOneCardAction
- getChoiceIndex() - Method in exception class com.hiddenswitch.spellsource.draft.InvalidDraftCardSelectionException
-
The invalid choice index that was made
- getChooseBothBattlecry() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
-
Indicates the battlecry that will be played when Fandral Staghelm is in play, if this
Spellsource.CardTypeMessage.CardType.MINION
hasCardDesc.chooseOneBattlecries
specified. - getChooseBothCardId() - Method in class net.demilich.metastone.game.cards.Card
-
Gets the card ID of the card that executes both choose one effects for this choose one card.
- getChooseBothCardId() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
-
Indicates the spell card that will be cast when Fandral Staghelm is in play, if this is a
Spellsource.CardTypeMessage.CardType.CHOOSE_ONE
card. - getChooseOneAuraOverrides(Player, Card) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Finds
ChooseOneOverrideAura
auras that affect thecard
and indicates what choose one override is specified. - getChooseOneBattlecries() - Method in class net.demilich.metastone.game.cards.Card
-
Retreives the battlecries of the choices corresponding to this choose one actor.
- getChooseOneBattlecries() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
-
Whenever a
Spellsource.CardTypeMessage.CardType.MINION
has choose one battlecries, the player will be given an option of which battlecry will be played for the minion. - getChooseOneCardIds() - Method in class net.demilich.metastone.game.cards.Card
-
Retrieves the card IDs of the choices corresponding to this choose one spell.
- getChooseOneCardIds() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
-
Whenever the card is a
Spellsource.CardTypeMessage.CardType.CHOOSE_ONE
and this field is specified, the player will get to choose between these two cards for their effects. - GetChooseOneChoicesSpell - Class in net.demilich.metastone.game.spells.custom
- GetChooseOneChoicesSpell() - Constructor for class net.demilich.metastone.game.spells.custom.GetChooseOneChoicesSpell
- getChooseOneOptionIndex() - Method in class net.demilich.metastone.game.actions.GameAction
- getChooseOneOverride() - Method in class net.demilich.metastone.game.spells.aura.ChooseOneOverrideAura
- getClassArg() - Method in class net.demilich.metastone.game.cards.desc.Desc
- getClassArg() - Method in class net.demilich.metastone.game.cards.dynamicdescription.DynamicDescriptionDesc
- getClassArg() - Method in class net.demilich.metastone.game.spells.desc.aura.AuraDesc
- getClassArg() - Method in class net.demilich.metastone.game.spells.desc.condition.ConditionDesc
- getClassArg() - Method in class net.demilich.metastone.game.spells.desc.filter.EntityFilterDesc
- getClassArg() - Method in class net.demilich.metastone.game.spells.desc.manamodifier.CardCostModifierDesc
- getClassArg() - Method in class net.demilich.metastone.game.spells.desc.source.CardSourceDesc
- getClassArg() - Method in class net.demilich.metastone.game.spells.desc.SpellDesc
- getClassArg() - Method in class net.demilich.metastone.game.spells.desc.trigger.EventTriggerDesc
- getClassArg() - Method in class net.demilich.metastone.game.spells.desc.valueprovider.ValueProviderDesc
- getClassCard(String) - Static method in class net.demilich.metastone.game.entities.heroes.HeroClass
-
Retrieves the class card for a specified hero class.
- getClassCards(DeckFormat) - Static method in class net.demilich.metastone.game.cards.CardCatalogue
-
Retrieves all the "class_"
Spellsource.CardTypeMessage.CardType.CLASS
cards that specify a hero card, color, heroClass string, etc. - getClassCards(DeckFormat) - Static method in class net.demilich.metastone.game.entities.heroes.HeroClass
-
Gets a list of cards that define a class (a champion, a color and additional description or key information).
- getClone(GameContext) - Method in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
-
Returns a clone of the game context, assuming the opponent is a
GameStateValueBehaviour
too. - getCollectible() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- getCombinations(boolean, Map<String, GameDeck>, boolean) - Static method in class com.hiddenswitch.spellsource.util.Simulation
- getCondition() - Method in class net.demilich.metastone.game.actions.OpenerAction
- getCondition() - Method in class net.demilich.metastone.game.cards.Card
-
Gets the condition written on this card.
- getCondition() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
-
The
Condition
that must be met in order for thisSpellsource.CardTypeMessage.CardType.SPELL
to be playable. - getCondition() - Method in class net.demilich.metastone.game.spells.aura.Aura
- getCondition() - Method in class net.demilich.metastone.game.spells.aura.EnrageAura
-
Deprecated.
- getCondition() - Method in class net.demilich.metastone.game.spells.desc.aura.AuraDesc
- getCondition() - Method in class net.demilich.metastone.game.spells.desc.OpenerDesc
-
The condition to evaluate if the player will be prompted to make a battlecry action.
- getContext() - Method in class com.hiddenswitch.spellsource.draft.DraftLogic
-
Gets a reference to the draft context.
- getCopy() - Method in class net.demilich.metastone.game.cards.Card
-
Gets a copy of the card with some attributes like its attack or HP bonuses and mana cost modifiers removed.
- getCopy() - Method in interface net.demilich.metastone.game.cards.CardList
-
Copies all the cards in this list and returns a new
CardList
(possibly of a different implementation) containing those copies. - getCopy() - Method in class net.demilich.metastone.game.entities.Actor
- getCopy() - Method in class net.demilich.metastone.game.entities.Entity
- getCopy() - Method in class net.demilich.metastone.game.entities.minions.Minion
- getCopy() - Method in class net.demilich.metastone.game.environment.EnvironmentAftermathTriggeredList
- getCopy() - Method in class net.demilich.metastone.game.environment.EnvironmentDeque
- getCopy() - Method in class net.demilich.metastone.game.environment.EnvironmentMap
- getCopy() - Method in interface net.demilich.metastone.game.environment.EnvironmentValue
- getCopy() - Method in class net.demilich.metastone.game.Player
-
Clones this player.
- getCopy() - Method in class net.demilich.metastone.game.spells.aura.Aura
- getCopy() - Method in class net.demilich.metastone.game.spells.custom.EnvironmentEntityList
- getCopy() - Method in class net.demilich.metastone.game.spells.trigger.Enchantment
- getCopySource() - Method in class net.demilich.metastone.game.entities.Entity
-
Gets a reference to the entity that this entity was potentially copied from.
- getCount() - Method in class net.demilich.metastone.game.cards.CardArrayList
- getCount() - Method in interface net.demilich.metastone.game.cards.CardList
-
Gets the size of this list.
- getCount() - Method in class net.demilich.metastone.game.cards.CardZone
- getCountForPlayer(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.condition.CardCountCondition
- getCountForPlayer(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.condition.CountCondition
- getCountForPlayer(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.condition.GraveyardCountCondition
- getCountForPlayer(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.condition.MinionCountCondition
- getCountUntilCast() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
-
Indicates the number of times the
CardDesc.quest
trigger needs to fire until this quest'sCardDesc.spell
is cast. - getCountUntilCast() - Method in class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDesc
-
The number of times an
Enchantment
fires until it actually casts its spell. - getCountUntilCast() - Method in class net.demilich.metastone.game.spells.trigger.Enchantment
- getCurrentAction() - Method in class net.demilich.metastone.game.GameContext
- getCurrentCardChoices() - Method in class com.hiddenswitch.spellsource.draft.PublicDraftState
-
Gets the current card choices for the current round of the draft, or an empty list if there are no choices, the draft is over or otherwise the state is not valid for choosing cards.
- getCurrentId() - Method in class com.hiddenswitch.spellsource.common.GameState
-
The next ID to generate in an
IdFactoryImpl
/ - getDamage() - Method in class net.demilich.metastone.game.cards.Card
- getDamage() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
-
Indicates the amount of damage this
Spellsource.CardTypeMessage.CardType.WEAPON
will deal (add to the attack of the equippingHero
). - getDamage(GameContext, Player, SpellDesc, Entity, Entity) - Static method in class net.demilich.metastone.game.spells.DamageSpell
- getDamage(GameContext, Player, SpellDesc, Entity, Entity) - Static method in class net.demilich.metastone.game.spells.DecaySpell
- getDamageDealt() - Method in class net.demilich.metastone.game.events.PhysicalAttackEvent
- getDamageStack() - Method in class net.demilich.metastone.game.GameContext
-
Retrieves all the damage values that are supposed to be applied.
- getDamageType() - Method in class net.demilich.metastone.game.events.AbstractDamageEvent
- getDamageType(GameContext, Player, Entity) - Method in class net.demilich.metastone.game.spells.DamageIgnoringArmorSpell
- getDamageType(GameContext, Player, Entity) - Method in class net.demilich.metastone.game.spells.DamageSpell
- getDamageType(GameContext, Player, Entity) - Method in class net.demilich.metastone.game.spells.SplashDamageSpell
- getDeathrattle() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
-
Specifies the minion, hero or weapon's deathrattle.
- getDeathrattleEnchantments() - Method in interface net.demilich.metastone.game.cards.HasDeathrattleEnchantments
- getDeck() - Method in class net.demilich.metastone.game.Player
-
Retrieves the deck for this player as it is in game.
- getDeck(Player, String) - Method in class net.demilich.metastone.game.GameContext
-
Returns
null
, because by defaultGameContext
are not networked and have no sense of inventory. - getDeck(Player, String) - Method in interface net.demilich.metastone.game.services.Inventory
-
Retrieves a deck of the specified name for the given player.
- getDeckCardIds() - Method in class net.demilich.metastone.game.logic.Trace
- getDeckCombinations(List<String>) - Static method in class net.demilich.metastone.game.GameContext
-
Creates all the possible combinations of decks given a list of decks
- getDeckCombinations(List<GameDeck>, boolean) - Static method in class net.demilich.metastone.game.GameContext
- getDeckFormat() - Method in class com.hiddenswitch.spellsource.common.GameState
-
The deck format of this game.
- getDeckFormat() - Method in class net.demilich.metastone.game.GameContext
-
Gets the
DeckFormat
of this context, or the currently legal cards in terms ofCardSet
objects. - getDeckFormatName() - Method in class net.demilich.metastone.game.logic.Trace
- getDeckFormatSets() - Method in class net.demilich.metastone.game.logic.Trace
- getDeckId() - Method in class com.hiddenswitch.spellsource.draft.PublicDraftState
-
Gets the
CollectionRecord
that corresponds to this draft's deck in thenet
services for Spellsource. - getDeckId() - Method in class net.demilich.metastone.game.decks.CollectionDeck
- getDeckId() - Method in interface net.demilich.metastone.game.decks.Deck
- getDeckId() - Method in class net.demilich.metastone.game.decks.GameDeck
- getDeckList() - Method in exception class net.demilich.metastone.game.decks.DeckListParsingException
- getDecks(List<String>) - Static method in class com.hiddenswitch.spellsource.util.Simulation
- getDeckTrigger() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
-
Indiciates an
Enchantment
that is active while the card is in the player'sSpellsource.ZonesMessage.Zones.DECK
. - getDeckTriggers() - Method in class net.demilich.metastone.game.cards.Card
-
Returns the triggers that are active when the card is in the deck.
- getDeckTriggers() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- getDefault() - Static method in class net.demilich.metastone.game.behaviour.heuristic.FeatureVector
- getDefaultActiveTriggerZones() - Method in class net.demilich.metastone.game.entities.Actor
-
Gets the zones where the
CardDesc.getTrigger()
andCardDesc.getTriggers()
are active by default. - getDefaultActiveTriggerZones() - Method in class net.demilich.metastone.game.entities.heroes.Hero
- getDefaultActiveTriggerZones() - Method in class net.demilich.metastone.game.entities.minions.Minion
- getDefaultActiveTriggerZones() - Method in class net.demilich.metastone.game.entities.weapons.Weapon
- getDefaultBattlefieldZones() - Static method in class net.demilich.metastone.game.spells.trigger.Enchantment
- getDefaultBattlefieldZonesSet() - Static method in class net.demilich.metastone.game.spells.trigger.Enchantment
- getDefaultDeckZones() - Static method in class net.demilich.metastone.game.spells.trigger.Enchantment
- getDefaultGameZones() - Static method in class net.demilich.metastone.game.spells.trigger.Enchantment
- getDefaultPassiveZones() - Static method in class net.demilich.metastone.game.spells.trigger.Enchantment
- getDefaultTriggers() - Method in class net.demilich.metastone.game.cards.costmodifier.CardCostModifier
- getDefaultTriggers() - Method in class net.demilich.metastone.game.spells.aura.Aura
- getDefaultTriggers() - Method in class net.demilich.metastone.game.spells.aura.EnrageAura
-
Deprecated.
- getDefaultTriggers() - Method in class net.demilich.metastone.game.spells.aura.NoggenfoggerAura
- getDefaultTriggers() - Method in class net.demilich.metastone.game.spells.trigger.Aftermath
- getDefaultTriggers() - Method in class net.demilich.metastone.game.spells.trigger.Enchantment
- getDefaultZones() - Method in class net.demilich.metastone.game.cards.costmodifier.CardCostModifier
- getDefaultZones() - Method in class net.demilich.metastone.game.spells.trigger.Enchantment
- getDefender() - Method in class net.demilich.metastone.game.events.PhysicalAttackEvent
- getDeferredTriggersQueue() - Method in class net.demilich.metastone.game.GameContext
- getDepth() - Method in class net.demilich.metastone.game.cards.desc.HasEntrySet.BfsNode
- getDesc() - Method in class net.demilich.metastone.game.cards.Card
-
Gets the original
CardDesc
that was used to create this card or the desc of the card described by theCardAttributeMap.getOverrideCardId()
overridden card ID. - getDesc() - Method in class net.demilich.metastone.game.cards.CardCatalogueRecord
- getDesc() - Method in class net.demilich.metastone.game.cards.costmodifier.CardCostModifier
- getDesc() - Method in class net.demilich.metastone.game.cards.desc.Desc
- getDesc() - Method in interface net.demilich.metastone.game.cards.desc.HasDesc
- getDesc() - Method in class net.demilich.metastone.game.cards.dynamicdescription.DynamicDescription
- getDesc() - Method in class net.demilich.metastone.game.spells.aura.Aura
- getDesc() - Method in class net.demilich.metastone.game.spells.desc.condition.Condition
- getDesc() - Method in class net.demilich.metastone.game.spells.desc.filter.EntityFilter
- getDesc() - Method in class net.demilich.metastone.game.spells.desc.source.CardSource
- getDesc() - Method in class net.demilich.metastone.game.spells.desc.valueprovider.ValueProvider
- getDesc() - Method in class net.demilich.metastone.game.spells.Spell
- getDesc() - Method in class net.demilich.metastone.game.spells.trigger.EventTrigger
- getDescClass() - Method in class net.demilich.metastone.game.cards.desc.Desc
- getDescImplClass() - Method in class net.demilich.metastone.game.cards.desc.Desc
- getDescImplClass() - Method in class net.demilich.metastone.game.cards.dynamicdescription.DynamicDescriptionDesc
- getDescImplClass() - Method in class net.demilich.metastone.game.spells.desc.aura.AuraDesc
- getDescImplClass() - Method in class net.demilich.metastone.game.spells.desc.condition.ConditionDesc
- getDescImplClass() - Method in class net.demilich.metastone.game.spells.desc.filter.EntityFilterDesc
- getDescImplClass() - Method in class net.demilich.metastone.game.spells.desc.manamodifier.CardCostModifierDesc
- getDescImplClass() - Method in class net.demilich.metastone.game.spells.desc.source.CardSourceDesc
- getDescImplClass() - Method in class net.demilich.metastone.game.spells.desc.SpellDesc
- getDescImplClass() - Method in class net.demilich.metastone.game.spells.desc.trigger.EventTriggerDesc
- getDescImplClass() - Method in class net.demilich.metastone.game.spells.desc.valueprovider.ValueProviderDesc
- getDescription() - Method in class net.demilich.metastone.game.cards.Card
-
Gets a cleaned up description of the card.
- getDescription() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
-
A description of the card that should be rendered in the client.
- getDescription() - Method in class net.demilich.metastone.game.decks.GameDeck
- getDescription() - Method in class net.demilich.metastone.game.entities.Entity
-
Gets the possibly modified description of the entity to render to the end user.
- getDescription() - Method in class net.demilich.metastone.game.spells.aura.Aura
- getDescription() - Method in class net.demilich.metastone.game.spells.desc.OpenerDesc
-
A description used to render a card representing the battlecry.
- getDescription() - Method in class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDesc
-
A description field to use when rendering the enchantment on the client.
- getDescription(GameContext, int) - Method in class net.demilich.metastone.game.actions.DiscoverAction
- getDescription(GameContext, int) - Method in class net.demilich.metastone.game.actions.EndTurnAction
- getDescription(GameContext, int) - Method in class net.demilich.metastone.game.actions.GameAction
- getDescription(GameContext, int) - Method in class net.demilich.metastone.game.actions.OpenerAction
-
Creates a formatted description for the battlecry given its target.
- getDescription(GameContext, int) - Method in class net.demilich.metastone.game.actions.PhysicalAttackAction
- getDescription(GameContext, int) - Method in class net.demilich.metastone.game.actions.PlayCardAction
- getDescription(GameContext, int) - Method in class net.demilich.metastone.game.actions.PlaySpellCardAction
- getDescription(GameContext, int) - Method in class net.demilich.metastone.game.events.DestroyWillQueue
- getDescription(GameContext, int) - Method in class net.demilich.metastone.game.events.DiscardEvent
- getDescription(GameContext, int) - Method in class net.demilich.metastone.game.events.FatigueEvent
- getDescription(GameContext, int) - Method in class net.demilich.metastone.game.events.GameEvent
- getDescription(GameContext, int) - Method in interface net.demilich.metastone.game.events.Notification
-
A user-renderable description of what occurred in this notification.
- getDescription(GameContext, int) - Method in class net.demilich.metastone.game.events.RoastEvent
- getDescription(GameContext, int) - Method in class net.demilich.metastone.game.events.SecretPlayedEvent
- getDescription(GameContext, int) - Method in class net.demilich.metastone.game.events.SecretRevealedEvent
- getDescription(GameContext, int) - Method in class net.demilich.metastone.game.events.TouchingNotification
- getDescription(GameContext, int) - Method in class net.demilich.metastone.game.events.TriggerFired
- getDescription(GameContext, Player) - Method in class net.demilich.metastone.game.entities.Entity
-
Gets an entity's description applying its
CardDesc.getDynamicDescription()
fields and parsing spell damage and health restoration. - getDestroys() - Method in class net.demilich.metastone.game.events.DestroyWillQueue
- getDirectoryPrefix() - Method in class com.hiddenswitch.spellsource.cards.base.BaseCardResources
- getDiscoverZone() - Method in class net.demilich.metastone.game.Player
-
Retrieves the cards the player is currently discovering.
- getDouble(Statistic) - Method in class net.demilich.metastone.game.statistics.GameStatistics
- getDraftIndex() - Method in class com.hiddenswitch.spellsource.draft.PublicDraftState
-
Returns the current round.
- getDurability() - Method in class net.demilich.metastone.game.cards.Card
- getDurability() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
-
Indicates the durability of this
Spellsource.CardTypeMessage.CardType.WEAPON
. - getDurability() - Method in class net.demilich.metastone.game.entities.weapons.Weapon
- getDuration() - Method in class net.demilich.metastone.game.statistics.SimulationResult
- getDynamicDescription() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- getDynamicDescription() - Method in class net.demilich.metastone.game.entities.Entity
- getDynamicDescription(DynamicDescriptionArg, GameContext, Player, Entity) - Method in class net.demilich.metastone.game.cards.dynamicdescription.DynamicDescriptionDesc
- getEffectiveHp() - Method in class net.demilich.metastone.game.entities.heroes.Hero
- getEffectSource() - Method in class net.demilich.metastone.game.entities.Entity
- getEnchantment() - Method in class net.demilich.metastone.game.events.TriggerFired
- getEnchantmentDescs() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- getEnchantmentLikeAttributes() - Static method in enum class net.demilich.metastone.game.cards.Attribute
- getEnchantmentSource() - Method in class net.demilich.metastone.game.spells.AddDeathrattleSpell.CardAftermathTuple
- getEntities() - Method in class com.hiddenswitch.spellsource.common.GameState
- getEntities() - Method in class net.demilich.metastone.game.GameContext
-
Gets all the entities in the game, aside from hidden ones, as a
Stream
. - getEntities(GameContext, Player, TargetSelection, boolean) - Method in class net.demilich.metastone.game.logic.TargetLogic
- getEntityFilter() - Method in class net.demilich.metastone.game.actions.OpenerAction
-
Returns the
SpellArg.FILTER
of the spell. - getEntityFilter() - Method in class net.demilich.metastone.game.spells.aura.Aura
- getEntityFilter() - Method in class net.demilich.metastone.game.spells.desc.SpellDesc
- getEntityIds() - Method in class net.demilich.metastone.game.logic.MulliganTrace
- getEntityLocation() - Method in class net.demilich.metastone.game.entities.Entity
-
Gets the
EntityLocation
of the entity, which includes itsEntityLocation.zone
,EntityLocation.player
andEntityLocation.index
. - getEntityReference() - Method in class net.demilich.metastone.game.events.TouchingNotification
- getEntityType() - Method in class net.demilich.metastone.game.cards.Card
- getEntityType() - Method in class net.demilich.metastone.game.entities.Entity
-
Gets the type of entity this is.
- getEntityType() - Method in class net.demilich.metastone.game.entities.heroes.Hero
- getEntityType() - Method in class net.demilich.metastone.game.entities.minions.Minion
- getEntityType() - Method in class net.demilich.metastone.game.entities.weapons.Weapon
- getEntityType() - Method in class net.demilich.metastone.game.Player
- getEntityType() - Method in class net.demilich.metastone.game.spells.trigger.Enchantment
- getEntityType() - Method in class net.demilich.metastone.game.spells.trigger.secrets.Quest
- getEntityType() - Method in class net.demilich.metastone.game.spells.trigger.secrets.Secret
- getEntrySet() - Method in class net.demilich.metastone.game.spells.trigger.Enchantment
- getEnumType() - Method in class net.demilich.metastone.game.cards.desc.AuraDescDeserializer
- getEnumType() - Method in class net.demilich.metastone.game.cards.desc.CardCostModifierDescDeserializer
- getEnumType() - Method in class net.demilich.metastone.game.cards.desc.CardSourceDescDeserializer
- getEnumType() - Method in class net.demilich.metastone.game.cards.desc.ConditionDescDeserializer
- getEnumType() - Method in class net.demilich.metastone.game.cards.desc.DescDeserializer
- getEnumType() - Method in class net.demilich.metastone.game.cards.desc.EntityFilterDescDeserializer
- getEnumType() - Method in class net.demilich.metastone.game.cards.desc.EventTriggerDescDeserializer
- getEnumType() - Method in class net.demilich.metastone.game.cards.desc.SpellDescDeserializer
- getEnumType() - Method in class net.demilich.metastone.game.cards.desc.ValueProviderDescDeserializer
- getEnumType() - Method in class net.demilich.metastone.game.cards.dynamicdescription.DynamicDescriptionDeserializer
- getEnvironment() - Method in class com.hiddenswitch.spellsource.common.GameState
-
Gets a reference to the game context's environment, a piece of game state that keeps tracks of which minions are currently being summoned, which targets are being targeted, how much damage is set to be dealt, etc.
- getEnvironment() - Method in class net.demilich.metastone.game.GameContext
-
Gets a reference to the game context's environment, a piece of game state that keeps tracks of which minions are currently being summoned, which targets are being targeted, how much damage is set to be dealt, etc.
- getEvent() - Method in class net.demilich.metastone.game.logic.GameLogic.QueuedTrigger
- getEventSourceStack() - Method in class net.demilich.metastone.game.GameContext
-
Retrieves the stack of event sources.
- getEventTargetStack() - Method in class net.demilich.metastone.game.GameContext
-
Gets the current event target stack.
- getEventTrigger() - Method in class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDesc
-
The description of which "event trigger" (reacting to which event) this trigger will react to
- getEventType() - Method in class net.demilich.metastone.game.events.BasicGameEvent
- getEventType() - Method in class net.demilich.metastone.game.events.GameEvent
- getEventType() - Method in class net.demilich.metastone.game.events.JoustEvent
- getEventValue() - Method in class net.demilich.metastone.game.GameContext
- getEventValueStack() - Method in class net.demilich.metastone.game.GameContext
- getExceptionCount() - Method in class net.demilich.metastone.game.statistics.SimulationResult
- getExcess() - Method in class net.demilich.metastone.game.logic.HealingResult
- getExpected() - Method in exception class com.hiddenswitch.spellsource.draft.InvalidDraftStatusException
-
The expected status.
- getExpirationTriggers() - Method in class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDesc
-
When set, these triggers will expire this enchantment when fired.
- getExpirationTriggers() - Method in class net.demilich.metastone.game.spells.trigger.Enchantment
- getFileFormatVersion() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
-
Indicates the version of this card description.
- getFilter() - Method in class net.demilich.metastone.game.cards.costmodifier.CardCostModifier
-
Gets the filter to apply to the
CardCostModifierArg.TARGET
. - getFilter() - Method in class net.demilich.metastone.game.spells.desc.aura.AuraDesc
- getFilteredCards(GameContext, Player, Entity) - Method in class net.demilich.metastone.game.spells.desc.SpellDesc
-
Uses the
SpellArg.CARD_FILTER
andSpellArg.CARD_SOURCE
to generated a list of filtered cards. - getFires() - Method in class net.demilich.metastone.game.spells.trigger.Enchantment
- getFittest() - Static method in class net.demilich.metastone.game.behaviour.heuristic.FeatureVector
- getFlavor() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
-
Stores flavor text provided by the author.
- getFormat() - Method in class net.demilich.metastone.game.decks.DeckCreateRequest
- getFormat() - Method in class net.demilich.metastone.game.decks.GameDeck
- getFormat(String) - Static method in class net.demilich.metastone.game.decks.DeckFormat
- getFormatCard(String) - Static method in class net.demilich.metastone.game.cards.CardCatalogue
- getGameContext() - Method in class net.demilich.metastone.game.events.GameEvent
- getGameId() - Method in class net.demilich.metastone.game.GameContext
- getGameState() - Method in class net.demilich.metastone.game.GameContext
- getGameStateCopy() - Method in class net.demilich.metastone.game.GameContext
- getGameTriggers() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
-
Indicates an
Enchantment
that is active as soon as the game begins (just afterGameLogic.handleMulligan(Player, boolean, List)
, in theGameLogic.startGameForPlayer(Player)
phase. - getGameTriggers() - Method in class net.demilich.metastone.game.entities.Entity
-
Gets a list of triggers that are active as soon as the game starts.
- getGlowConditions() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
-
Iterates through the most important conditions on the card, heuristically.
- getGraveyard() - Method in class net.demilich.metastone.game.Player
-
Retrieves the player's graveyard.
- getGreatestAttributeValue(Player, Attribute) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Return the greatest value of an attribute from all
Actor
s of a player. - getGroup() - Method in class net.demilich.metastone.game.cards.Card
- getGroup() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
-
Indicates the subspells/subcards of this
Spellsource.CardTypeMessage.CardType.GROUP
. - getHand() - Method in class net.demilich.metastone.game.Player
-
Retrieves the player's hand.
- getHardRemovalCardIds() - Static method in class net.demilich.metastone.game.cards.CardCatalogue
- getHealing() - Method in class net.demilich.metastone.game.logic.HealingResult
- getHealing(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.HealSpell
- getHero() - Method in class net.demilich.metastone.game.cards.Card
-
For a
Spellsource.CardTypeMessage.CardType.CLASS
, specifies the default hero (champion). - getHero() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- getHero() - Method in class net.demilich.metastone.game.Player
-
Retrieves the hero specified inside the
Player.heroZone
field, anEntityZone
that typically holds just one hero object for the player. - getHeroCard() - Method in class net.demilich.metastone.game.decks.GameDeck
- getHeroCard(String) - Static method in class net.demilich.metastone.game.cards.CardCatalogue
- getHeroCard(String) - Static method in class net.demilich.metastone.game.entities.heroes.HeroClass
-
Retrieves the hero card for a specified hero class.
- getHeroCardId() - Method in class net.demilich.metastone.game.decks.DeckCreateRequest
- getHeroClass() - Method in class com.hiddenswitch.spellsource.draft.PublicDraftState
-
Gets the chosen hero class or
null
if one has not been chosen yet. - getHeroClass() - Method in class net.demilich.metastone.game.cards.Card
-
Gets the hero class that this card belongs to.
- getHeroClass() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
-
The hero class this card belongs to.
- getHeroClass() - Method in class net.demilich.metastone.game.decks.DeckCreateRequest
- getHeroClass() - Method in class net.demilich.metastone.game.decks.GameDeck
- getHeroClass() - Method in class net.demilich.metastone.game.entities.Actor
- getHeroClass() - Method in class net.demilich.metastone.game.entities.heroes.Hero
- getHeroClassChoices() - Method in class com.hiddenswitch.spellsource.draft.PublicDraftState
-
Returns the hero class choices if the draft state is
DraftStatus.SELECT_HERO
, or an empty list if there are no choices, the choice has already been made, or the state is not valid for choosing heroes. - getHeroClasses() - Method in class net.demilich.metastone.game.cards.Card
-
Some cards have multiple hero classes.
- getHeroClasses() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
-
For tri-class cards from the MSOG Hearthstone expansion, this field contains their three classes.
- getHeroClasses() - Method in class net.demilich.metastone.game.logic.Trace
- getHeroPower() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
-
Indicates a
Spellsource.CardTypeMessage.CardType.HERO_POWER
that thisSpellsource.CardTypeMessage.CardType.HERO
should put into play for the player. - getHeroPowerZone() - Method in class net.demilich.metastone.game.Player
-
Retrieves the hero power zone stored inside the hero entity.
- getHeroZone() - Method in class net.demilich.metastone.game.Player
-
Retrieves the hero zone.
- getHostReference() - Method in class net.demilich.metastone.game.spells.trigger.Enchantment
- getHostReference() - Method in interface net.demilich.metastone.game.spells.trigger.Trigger
-
Gets a reference to the
Entity
that is "hosting," or owning, the trigger. - getHp() - Method in class net.demilich.metastone.game.cards.Card
- getHp() - Method in class net.demilich.metastone.game.entities.Actor
-
The current number of hitpoints this actor has.
- getHp() - Method in class net.demilich.metastone.game.entities.weapons.Weapon
- getId() - Method in class net.demilich.metastone.game.actions.GameAction
- getId() - Method in class net.demilich.metastone.game.cards.CardCatalogueRecord
-
An ID that corresponds to the file name, less the
.json
extension. - getId() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
-
The ID of the card when referred to by other cards and other places in the game engine.
- getId() - Method in class net.demilich.metastone.game.entities.Entity
-
The entity's ID in the match.
- getId() - Method in class net.demilich.metastone.game.logic.Trace
- getId() - Method in class net.demilich.metastone.game.targeting.EntityReference
- getIdFactory() - Method in class net.demilich.metastone.game.logic.GameLogic
- getIgnoreEvents() - Method in class net.demilich.metastone.game.GameContext
-
When true, the game logic doesn't handle an events being raised.
- getIndex() - Method in class net.demilich.metastone.game.entities.Entity
-
The entity's index in its zone.
- getIndex() - Method in class net.demilich.metastone.game.entities.EntityLocation
-
Gets the index in the
EntityZone
for this location. - getIndexPlan() - Method in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
-
The index plan is a sequence of indices into
GameContext.getValidActions()
that the bot can perform to go towards a previously-computed highest-scoring game state. - getInnerExceptions() - Method in exception class net.demilich.metastone.game.decks.DeckListParsingException
- getInt(String) - Method in class net.demilich.metastone.game.GameContext
-
Gets the value of the named integer in the context's cloneable storage.
- getInt(SpellArg, int) - Method in class net.demilich.metastone.game.spells.desc.SpellDesc
- getInt(T) - Method in class net.demilich.metastone.game.cards.desc.Desc
- getInternalId() - Method in class net.demilich.metastone.game.logic.GameLogic
- getInternalId() - Method in class net.demilich.metastone.game.targeting.IdFactoryImpl
- getInventoryIds() - Method in class net.demilich.metastone.game.decks.DeckCreateRequest
- getKey() - Method in class net.demilich.metastone.game.cards.desc.HasEntrySet.BfsNode
- getLastCardPlayed() - Method in class net.demilich.metastone.game.GameContext
- getLastCardPlayed(int) - Method in class net.demilich.metastone.game.GameContext
- getLastCardPlayedBeforeCurrentSequence() - Method in class net.demilich.metastone.game.GameContext
- getLastCardPlayedBeforeCurrentSequence(int) - Method in class net.demilich.metastone.game.GameContext
- getLastCardPlayedBeforeCurrentSequenceMap() - Method in class net.demilich.metastone.game.GameContext
- getLastCardPlayedMap() - Method in class net.demilich.metastone.game.GameContext
- getLastSpellPlayedThisTurnMap() - Method in class net.demilich.metastone.game.GameContext
- getLastTurn() - Method in class net.demilich.metastone.game.statistics.GameStatistics
-
The last turn the player took, or
-1L
if the player has not taken a turn yet. - getLeftMinions(EntityReference) - Method in class net.demilich.metastone.game.GameContext
-
Gets the minions to the left on the battlefield of the given minion.
- getLegacy() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
-
Indicates whether this card will participate in the determination of legacy mechanics, the storing of data about cards across all matches.
- getLethalTimeout() - Method in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
-
Indicates the amount of time available to this instance to find lethal, when lethal is probably on the board.
- getList(GameContext) - Static method in class net.demilich.metastone.game.spells.custom.EnvironmentEntityList
- getList(GameContext, Environment) - Static method in class net.demilich.metastone.game.spells.custom.EnvironmentEntityList
- getLockedMana() - Method in class net.demilich.metastone.game.Player
-
Gets the player's mana locked by the Overload mechanic.
- getLogger() - Method in class net.demilich.metastone.game.GameContext
- getLogic() - Method in class com.hiddenswitch.spellsource.draft.DraftContext
-
Gets the draft logic.
- getLogic() - Method in class net.demilich.metastone.game.GameContext
-
Gets a reference to the game logic associated with this context.
- getLong(Statistic) - Method in class net.demilich.metastone.game.statistics.GameStatistics
- getLookup() - Method in class net.demilich.metastone.game.Player
- getLosses() - Method in class com.hiddenswitch.spellsource.draft.PublicDraftState
-
Gets the number of losses the player has had with the currently drafted deck.
- getMana() - Method in class net.demilich.metastone.game.Player
-
Retrieves the current amount of mana the player has to spend this turn.
- getManaCost(GameContext, Player) - Method in class net.demilich.metastone.game.cards.Card
-
Gets the mana cost of this card from the point of view of the specified card, player and a given context.
- getManaCost(GameContext, Player, Entity) - Method in class net.demilich.metastone.game.spells.desc.filter.EvenCostFilter
- getManaCost(GameContext, Player, Entity) - Method in class net.demilich.metastone.game.spells.desc.filter.ManaCostFilter
- getManaCost(GameContext, Player, Entity) - Method in class net.demilich.metastone.game.spells.desc.filter.OddCostFilter
- getManaCostComparator() - Static method in class net.demilich.metastone.game.entities.EntityZone
- getManaCostModification(GameContext, Player) - Method in class net.demilich.metastone.game.cards.Card
-
Computes the modificatation of this card's built in mana cost modifier for a given context / player.
- getManaCostModifier() - Method in class net.demilich.metastone.game.cards.Card
- getManaCostModifier() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
-
Indicates an amount the card's cost should be subtracted by while the card is in the player's hand.
- getMap() - Method in class com.hiddenswitch.spellsource.common.GameState
-
Gets a map containing all the
EntityLocation
objects in this game state. - getMatchResult(Player, Player) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Gets the current status of a match.
- getMaxDepth() - Method in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
-
Indicates the maximum depth of breadth-first-searched nodes that should be expanded in order to find the highest scoring game state.
- getMaxDurability() - Method in class net.demilich.metastone.game.entities.weapons.Weapon
- getMaxFires() - Method in class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDesc
-
The maximum number of times this trigger can fire until it expires.
- getMaxFires() - Method in class net.demilich.metastone.game.spells.trigger.Enchantment
- getMaxFiresPerSequence() - Method in class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDesc
-
The maximum number of times this trigger can fire per sequence.
- getMaxFiresPerSequence() - Method in class net.demilich.metastone.game.spells.trigger.Enchantment
- getMaxHp() - Method in class net.demilich.metastone.game.entities.Actor
-
Returns the maximum amount of hitpoints this actor can have, considering all of its bonuses from effects and
Aura
s. - getMaxMana() - Method in class net.demilich.metastone.game.Player
-
The maximum amount of mana the player can currently have.
- getMaxNumberOfAttacks() - Method in class net.demilich.metastone.game.entities.Entity
- getMessage() - Method in exception class net.demilich.metastone.game.decks.DeckListParsingException
- getMillisRemaining() - Method in class com.hiddenswitch.spellsource.common.GameState
-
The amount of time left in a timer, such as an end of turn or mulligan timer, until the player's actions are automatically terminated.
- getMillisRemaining() - Method in class net.demilich.metastone.game.GameContext
-
The number of milliseconds remaining until the active player is automatically changed.
- getMinFreeMemory() - Method in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
-
Gets the minimum observed free memory recorded during the execution of this instance.
- getMinionCount(Player) - Method in class net.demilich.metastone.game.GameContext
-
Gets the number of minions a player has.
- getMinions() - Method in class net.demilich.metastone.game.Player
-
Gets the minions on this player's side of the battlefield.
- getMinionsSummoned() - Method in class net.demilich.metastone.game.statistics.GameStatistics
- getMinValue() - Method in class net.demilich.metastone.game.cards.costmodifier.CardCostModifier
- getModifiedHealing(Player, int, Entity, boolean) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Compute the amount of healing given a specified base healing.
- getModifiedManaCost(Player, Card) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Gets the mana cost of a card considering any
CardCostModifier
objects that may apply to it. - getMonitor(AtomicInteger, int) - Static method in class com.hiddenswitch.spellsource.util.Simulation
- getMulligans() - Method in class net.demilich.metastone.game.logic.Trace
- getMulliganTimeMillis() - Method in class net.demilich.metastone.game.logic.GameLogic
-
Get the amount of time the player has to mulligan, in milliseconds.
- getName() - Method in interface net.demilich.metastone.game.behaviour.Behaviour
-
Gets a name for the behaviour.
- getName() - Method in class net.demilich.metastone.game.behaviour.ChooseLastBehaviour
- getName() - Method in class net.demilich.metastone.game.behaviour.FlatMonteCarloBehaviour
- getName() - Method in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
- getName() - Method in class net.demilich.metastone.game.behaviour.GreedyOptimizeTurn
- getName() - Method in class net.demilich.metastone.game.behaviour.mcts.MonteCarloTreeSearchBehaviour
- getName() - Method in class net.demilich.metastone.game.behaviour.PlayGameLogicRandomBehaviour
- getName() - Method in class net.demilich.metastone.game.behaviour.PlayRandomBehaviour
- getName() - Method in class net.demilich.metastone.game.behaviour.RequestActionFunction
- getName() - Method in class net.demilich.metastone.game.cards.Card
-
Determines how this card should be named.
- getName() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
-
The name of the card that should be rendered in the client.
- getName() - Method in class net.demilich.metastone.game.decks.DeckCreateRequest
- getName() - Method in class net.demilich.metastone.game.decks.DeckFormat
- getName() - Method in class net.demilich.metastone.game.decks.GameDeck
- getName() - Method in class net.demilich.metastone.game.entities.Entity
-
Gets the name of the entity (typically the name of the card that created this entity).
- getName() - Method in class net.demilich.metastone.game.spells.aura.Aura
- getName() - Method in class net.demilich.metastone.game.spells.desc.OpenerDesc
-
A name used to render a card representing the battlecry.
- getName() - Method in class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDesc
-
A name field to use when rendering the enchantment on the client
- getName() - Method in class net.demilich.metastone.game.spells.trigger.secrets.Secret
- getNeutralHero() - Static method in class net.demilich.metastone.game.cards.CardCatalogue
- getNextActivePlayerId() - Method in class net.demilich.metastone.game.logic.GameLogic
-
Gets the player ID of the player who is going to take the next turn.
- getNonActivePlayer() - Method in class net.demilich.metastone.game.GameContext
- getNonActivePlayerId() - Method in class net.demilich.metastone.game.GameContext
- getNonOverriddenDesc() - Method in class net.demilich.metastone.game.cards.Card
- getNumberOfGames() - Method in class net.demilich.metastone.game.statistics.SimulationResult
- getNumbersIncrease() - Method in class net.demilich.metastone.game.spells.aura.GatekeeperShaAura
-
The numbers increase specified on this card.
- getOneOneNeutralMinionCardId() - Static method in class net.demilich.metastone.game.cards.CardCatalogue
- getOnEquip() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
-
Indicates a spell that should be cast when the weapon enters the battlefield/an in-play zone, regardless of how it is put into play (i.e., unlike a battlecry, which is only activated by cards played from the hand).
- getOneTurn() - Method in class net.demilich.metastone.game.spells.trigger.Enchantment
- getOnUnequip() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
-
Indicates a spell taht shoudl be cast when the weapon exits the battlefield/an in-play zone, regardless of how it is removed.
- getOpener() - Method in interface net.demilich.metastone.game.actions.OpenerOverridable
-
Gets a battlecry description for this object.
- getOpener() - Method in class net.demilich.metastone.game.actions.PlayHeroCardAction
- getOpener() - Method in class net.demilich.metastone.game.actions.PlayMinionCardAction
- getOpener() - Method in class net.demilich.metastone.game.actions.PlayWeaponCardAction
- getOpenerActions() - Method in class net.demilich.metastone.game.events.SummonEvent
- getOpenerDesc() - Method in class net.demilich.metastone.game.spells.trigger.Opener
- getOpponent(Player) - Method in class net.demilich.metastone.game.GameContext
-
Gets the opponent from the point of view of the given player.
- getOpponentCard() - Method in class net.demilich.metastone.game.events.JoustEvent
- getOppositeMinions(EntityReference) - Method in class net.demilich.metastone.game.GameContext
-
Gets the
Actor
entities geometrically opposite of the givenminionReference
on theSpellsource.ZonesMessage.Zones.BATTLEFIELD
. - getOriginalCardId() - Method in class net.demilich.metastone.game.cards.Card
-
Gets the card ID of the
CardDesc
that was originally used to create this instance. - getOutputCard() - Method in class net.demilich.metastone.game.GameContext
-
Gets the current output card.
- getOutputStack() - Method in class net.demilich.metastone.game.GameContext
- getOwnCard() - Method in class net.demilich.metastone.game.events.JoustEvent
- getOwner() - Method in class net.demilich.metastone.game.entities.Entity
-
Gets the owner of this entity, or
IdFactory.UNASSIGNED
if it has no owner. - getOwner() - Method in class net.demilich.metastone.game.Player
- getOwner() - Method in interface net.demilich.metastone.game.spells.trigger.Trigger
-
Gets the player who owns this trigger.
- getParent() - Method in class net.demilich.metastone.game.cards.desc.HasEntrySet.BfsNode
- getPassiveTrigger() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
-
Describes an
Enchantment
that is active while the card is in the player'sSpellsource.ZonesMessage.Zones.HAND
. - getPassiveTriggers() - Method in class net.demilich.metastone.game.cards.Card
-
Retrieves the card's triggers that are active while the card is in the
Spellsource.ZonesMessage.Zones.HAND
orSpellsource.ZonesMessage.Zones.HERO_POWER
. - getPassiveTriggers() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
-
Describes an array of
Enchantment
s that are active while the card is in the player'sSpellsource.ZonesMessage.Zones.HAND
. - getPayEffect() - Method in class net.demilich.metastone.game.spells.aura.CardCostInsteadAura
- getPlayer() - Method in class net.demilich.metastone.game.behaviour.mcts.Node
- getPlayer() - Method in class net.demilich.metastone.game.entities.EntityLocation
-
Gets the index of the player for this location, or
Entity.NO_OWNER
if it has not yet been assigned. - getPlayer() - Method in class net.demilich.metastone.game.entities.EntityZone
- getPlayer(int) - Method in class net.demilich.metastone.game.GameContext
-
Gets the player at the given index.
- getPlayer1() - Method in class com.hiddenswitch.spellsource.common.GameState
-
A player object corresponding to the arbitrarily-decided first player of the game.
- getPlayer1() - Method in class net.demilich.metastone.game.GameContext
-
Gets the first player.
- getPlayer1Stats() - Method in class net.demilich.metastone.game.statistics.SimulationResult
- getPlayer2() - Method in class com.hiddenswitch.spellsource.common.GameState
-
A player object corresponding to the arbitrarily-decided second player of the game.
- getPlayer2() - Method in class net.demilich.metastone.game.GameContext
-
Gets the second player.
- getPlayer2Stats() - Method in class net.demilich.metastone.game.statistics.SimulationResult
- getPlayerAttributes() - Method in class net.demilich.metastone.game.decks.GameDeck
- getPlayerId() - Method in class net.demilich.metastone.game.environment.EnvironmentAftermathTriggeredList.EnvironmentAftermathTriggeredItem
-
The player from whose point of view the aftermath was triggered
- getPlayerId() - Method in class net.demilich.metastone.game.events.TouchingNotification
- getPlayerId() - Method in class net.demilich.metastone.game.logic.DeckTrace
- getPlayerId() - Method in class net.demilich.metastone.game.logic.MulliganTrace
- getPlayers() - Method in class net.demilich.metastone.game.GameContext
-
Each player holds the player's
AbstractBehaviour
and all of theEntity
objects in the game. - getPredefinedSpellTargetOrUserTarget() - Method in class net.demilich.metastone.game.actions.OpenerAction
-
Returns either the target chosen by the user or the predefined target (possible a group reference /
EntityReference.isTargetGroup()
) written on theSpellDesc
of the spell. - getPrivateState() - Method in class com.hiddenswitch.spellsource.draft.DraftContext
-
Gets the private draft state.
- getPrivateState() - Method in exception class com.hiddenswitch.spellsource.draft.InvalidDraftCardSelectionException
-
The current private state of the draft
- getProcessingTriggers() - Method in class net.demilich.metastone.game.GameContext
- getPublicState() - Method in class com.hiddenswitch.spellsource.draft.DraftContext
-
Gets the public draft state.
- getQuest() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
-
Indicates the
EventTrigger
that will increase the number of fires of the quest by one. - getQuest() - Method in class net.demilich.metastone.game.events.AbstractQuestEvent
- getQuests() - Method in class net.demilich.metastone.game.Player
-
Gets the
Quest
entities that are in play from this player. - getRace() - Method in class net.demilich.metastone.game.cards.Card
-
Gets the race of a card.
- getRace() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
-
The actor's race, or "tribe."
- getRace() - Method in class net.demilich.metastone.game.entities.Entity
- getRaces() - Method in class net.demilich.metastone.game.spells.aura.MenagerieMogulAura
- getRandom() - Method in class com.hiddenswitch.spellsource.draft.PrivateDraftState
-
Returns the random instance used for this draft.
- getRandom() - Method in class net.demilich.metastone.game.logic.GameLogic
- getRandom(List<T>) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Choose a random item from a list of options.
- getRandom(GameContext) - Method in class net.demilich.metastone.game.behaviour.PlayGameLogicRandomBehaviour
- getRandom(GameContext) - Method in class net.demilich.metastone.game.behaviour.PlayRandomBehaviour
- getRandomTarget(GameContext, List<Entity>) - Method in class net.demilich.metastone.game.spells.custom.FormlessAgonyMissilesSpell
- getRandomTarget(GameContext, List<Entity>) - Method in class net.demilich.metastone.game.spells.MissilesSpell
- getRarity() - Method in class net.demilich.metastone.game.cards.Card
-
A rarity of the card.
- getRarity() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
-
The rarity of the card.
- getRawActions() - Method in class net.demilich.metastone.game.logic.Trace
- getRecords() - Static method in class net.demilich.metastone.game.cards.CardCatalogue
-
Gets all the
CardCatalogueRecord
objects specified in thecards
module. - getReference() - Method in class net.demilich.metastone.game.entities.Entity
-
Gets an
EntityReference
that points to this entity. - getReference() - Method in exception class net.demilich.metastone.game.targeting.TargetNotFoundException
-
The reference that was failed to be found in the game state.
- getReferences(Entity) - Method in class net.demilich.metastone.game.spells.custom.EnvironmentEntityList
-
Gets a list of referenced cards.
- getRemoveAuraEffect() - Method in class net.demilich.metastone.game.spells.aura.Aura
- getRemoveAuraEffect() - Method in class net.demilich.metastone.game.spells.aura.EffectlessAura
- getRemoveAuraEffect() - Method in class net.demilich.metastone.game.spells.aura.SpellAura
- getRemovedFromPlay() - Method in class net.demilich.metastone.game.Player
-
Retrieves entities that are removed from play.
- getRemoveEffect() - Method in class net.demilich.metastone.game.spells.desc.aura.AuraDesc
- getRequestActionStartTime() - Method in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
-
Records a call to
System.currentTimeMillis()
at the start of a call toGameStateValueBehaviour.requestAction(GameContext, Player, List)
. - getRequiredAttribute() - Method in class net.demilich.metastone.game.cards.costmodifier.CardCostModifier
- getRequiredRace() - Method in class net.demilich.metastone.game.cards.costmodifier.CardCostModifier
- getResolveOpener() - Method in interface net.demilich.metastone.game.actions.OpenerOverridable
- getResolveOpener() - Method in class net.demilich.metastone.game.actions.PlayHeroCardAction
- getResolveOpener() - Method in class net.demilich.metastone.game.actions.PlayMinionCardAction
- getResolveOpener() - Method in class net.demilich.metastone.game.actions.PlayWeaponCardAction
- getResults(Supplier<Behaviour>, Supplier<Behaviour>, int, Map<String, GameDeck>, List<String[]>, AtomicInteger) - Static method in class com.hiddenswitch.spellsource.util.Simulation
- getReverseSpell(GameContext, Player, Entity, SpellDesc, EntityReference) - Method in class net.demilich.metastone.game.spells.AddAttributeSpell
- getReverseSpell(GameContext, Player, Entity, SpellDesc, EntityReference) - Method in class net.demilich.metastone.game.spells.BuffSpell
- getReverseSpell(GameContext, Player, Entity, SpellDesc, EntityReference) - Method in class net.demilich.metastone.game.spells.ModifyAttributeSpell
- getReverseSpell(GameContext, Player, Entity, SpellDesc, EntityReference) - Method in class net.demilich.metastone.game.spells.RemoveAttributeSpell
- getReverseSpell(GameContext, Player, Entity, SpellDesc, EntityReference) - Method in class net.demilich.metastone.game.spells.RevertableSpell
- getReverseSpell(GameContext, Player, Entity, SpellDesc, EntityReference) - Method in class net.demilich.metastone.game.spells.SetCardSpell
- getRevertTrigger() - Method in class net.demilich.metastone.game.spells.desc.aura.AuraDesc
- getRightMinions(EntityReference) - Method in class net.demilich.metastone.game.GameContext
-
Gets minions geometrically right of the given
minionReference
on theSpellsource.ZonesMessage.Zones.BATTLEFIELD
that belongs to the specified player. - getScore() - Method in class net.demilich.metastone.game.behaviour.mcts.Node
- getScore(GameContext) - Method in class net.demilich.metastone.game.behaviour.TranspositionTable
- getScore(GameContext, int) - Method in interface net.demilich.metastone.game.behaviour.heuristic.Heuristic
-
A scoring function mapping from game state to a double representing the strength of that game state.
- getScore(GameContext, int) - Method in class net.demilich.metastone.game.behaviour.heuristic.ThreatBasedHeuristic
- getSecondaryTarget() - Method in class net.demilich.metastone.game.spells.aura.Aura
- getSecondaryTarget() - Method in class net.demilich.metastone.game.spells.desc.aura.AuraDesc
- getSecondaryTarget() - Method in class net.demilich.metastone.game.spells.desc.SpellDesc
- getSecondaryTrigger() - Method in class net.demilich.metastone.game.spells.desc.aura.AuraDesc
-
Deprecated.
- getSecondPlayerBonusCards() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- getSecondPlayerBonusCards() - Method in class net.demilich.metastone.game.decks.DeckFormat
- getSecondPlayerBonusCards() - Method in class net.demilich.metastone.game.logic.Trace
- getSecondPlayerBonusStarterCards() - Method in class net.demilich.metastone.game.logic.GameLogic
- getSecret() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
-
Indicates the
EventTrigger
for this secret. - getSecretCardIds() - Method in class net.demilich.metastone.game.Player
-
Retrieves the card IDs of the secrets owned by this player.
- getSecrets() - Method in class net.demilich.metastone.game.Player
-
Retrieves the secrets owned by this player.
- getSeed() - Method in class net.demilich.metastone.game.logic.GameLogic
- getSeed() - Method in class net.demilich.metastone.game.logic.Trace
- getSelectedCards() - Method in class com.hiddenswitch.spellsource.draft.PublicDraftState
-
Gets a list of card IDs the player has chosen so far.
- getSerialVersionUID() - Static method in class com.hiddenswitch.spellsource.common.GameState
- getSet() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
-
The set this card belongs to.
- getSetAsideZone() - Method in class net.demilich.metastone.game.Player
-
Retrieves the set aside zone, or the location where cards are temporarily moved during complex interactions.
- getSets() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- getSmallestSupersetFormat(List<GameDeck>) - Static method in class net.demilich.metastone.game.decks.DeckFormat
- getSmallestSupersetFormat(Set<String>) - Static method in class net.demilich.metastone.game.decks.DeckFormat
- getSmallestSupersetFormat(GameDeck...) - Static method in class net.demilich.metastone.game.decks.DeckFormat
- getSource() - Method in class net.demilich.metastone.game.actions.GameAction
- getSource() - Method in class net.demilich.metastone.game.environment.EnvironmentAftermathTriggeredList.EnvironmentAftermathTriggeredItem
-
A reference to the source.
- getSource() - Method in class net.demilich.metastone.game.events.DestroyWillQueue.DestroyEvent
- getSource() - Method in class net.demilich.metastone.game.events.DestroyWillQueue
- getSource() - Method in class net.demilich.metastone.game.events.GameEvent
- getSource() - Method in interface net.demilich.metastone.game.events.Notification
-
For visualization purposes, what is the source of this notification?
- getSource() - Method in class net.demilich.metastone.game.events.TouchingNotification
- getSource() - Method in class net.demilich.metastone.game.events.TriggerFired
- getSource(GameContext) - Method in class net.demilich.metastone.game.actions.DiscoverAction
- getSource(GameContext) - Method in class net.demilich.metastone.game.actions.EndTurnAction
- getSource(GameContext) - Method in class net.demilich.metastone.game.actions.GameAction
- getSource(GameContext) - Method in class net.demilich.metastone.game.actions.OpenerAction
- getSource(GameContext) - Method in class net.demilich.metastone.game.actions.PlayCardAction
- getSource(GameContext) - Method in interface net.demilich.metastone.game.events.Notification
- getSource(GameContext) - Method in class net.demilich.metastone.game.events.TouchingNotification
- getSourceCard() - Method in class net.demilich.metastone.game.actions.DiscoverAction
- getSourceCard() - Method in class net.demilich.metastone.game.cards.Card
-
The card source of a card is itself.
- getSourceCard() - Method in class net.demilich.metastone.game.entities.Entity
- getSourceCard() - Method in interface net.demilich.metastone.game.entities.HasCard
- getSourceCard() - Method in class net.demilich.metastone.game.events.CardEvent
- getSourceCard() - Method in class net.demilich.metastone.game.events.JoustEvent
- getSourceCard() - Method in class net.demilich.metastone.game.events.SecretPlayedEvent
- getSourceCard() - Method in class net.demilich.metastone.game.Player
-
For a player entity, its source card corresponds to the hero's source card.
- getSourceCard() - Method in class net.demilich.metastone.game.spells.trigger.Enchantment
- getSourcePlayer() - Method in class net.demilich.metastone.game.spells.desc.trigger.EventTriggerDesc
- getSourcePlayerId() - Method in class net.demilich.metastone.game.events.GameEvent
- getSourceReference() - Method in class net.demilich.metastone.game.actions.GameAction
- getSourceReference() - Method in class net.demilich.metastone.game.actions.OpenerAsPlaySpellCardAction
- getSpanContext() - Method in class net.demilich.metastone.game.GameContext
-
Provides context for tracing in this context.
- getSpecialCards() - Static method in class net.demilich.metastone.game.spells.SpellUtils
-
Gets a list of special card IDs.
- getSpell() - Method in class net.demilich.metastone.game.actions.DiscoverAction
- getSpell() - Method in class net.demilich.metastone.game.actions.OpenerAction
- getSpell() - Method in class net.demilich.metastone.game.actions.PlayChooseOneCardAction
- getSpell() - Method in class net.demilich.metastone.game.actions.PlaySpellCardAction
- getSpell() - Method in class net.demilich.metastone.game.cards.Card
-
Retrieves the spell effects for this card.
- getSpell() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
-
Indicates the spell that this
Spellsource.CardTypeMessage.CardType.SPELL
orSpellsource.CardTypeMessage.CardType.HERO_POWER
should cast whenCard.play()
. - getSpell() - Method in class net.demilich.metastone.game.environment.EnvironmentAftermathTriggeredList.EnvironmentAftermathTriggeredItem
-
The spell, including its aftermath ID.
- getSpell() - Method in class net.demilich.metastone.game.spells.AddDeathrattleSpell.CardAftermathTuple
- getSpell() - Method in class net.demilich.metastone.game.spells.desc.aura.AuraDesc
- getSpell() - Method in class net.demilich.metastone.game.spells.desc.OpenerDesc
-
The spell to cast when this battlecry's
OpenerDesc.condition
is true (or always cast if no condition is specified and a valid target is available). - getSpell() - Method in class net.demilich.metastone.game.spells.desc.SpellDesc
- getSpell() - Method in class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDesc
-
The spell that will be cast by an
Enchantment.process(int, SpellDesc, GameEvent)
invocation. - getSpell() - Method in class net.demilich.metastone.game.spells.trigger.Aftermath
- getSpell() - Method in class net.demilich.metastone.game.spells.trigger.Enchantment
- getSpellCondition() - Method in class net.demilich.metastone.game.spells.aura.SpellsCastThriceAura
- getSpellCondition() - Method in class net.demilich.metastone.game.spells.aura.SpellsCastTwiceAura
- getSpellDiscover(GameContext, Player, SpellDesc, List<SpellDesc>, Entity) - Static method in class net.demilich.metastone.game.spells.SpellUtils
-
Requests that the player chooses from a selection of cards, then returns just the spell from the cards.
- getSpellTargetStack() - Method in class net.demilich.metastone.game.GameContext
- getSpellValueStack() - Method in class net.demilich.metastone.game.GameContext
-
Returns the spell values calculated so far by
MetaSpell
spells. - getStarterCards() - Method in class net.demilich.metastone.game.logic.GameLogic
- getState() - Method in class net.demilich.metastone.game.behaviour.mcts.Node
- getState() - Method in class net.demilich.metastone.game.logic.XORShiftRandom
- getStatistics() - Method in class net.demilich.metastone.game.Player
-
Retrieves statistics collected about this player in the current game.
- getStats() - Method in class net.demilich.metastone.game.statistics.GameStatistics
- getStatus() - Method in exception class com.hiddenswitch.spellsource.draft.InvalidDraftStatusException
-
The status at the time the exception was thrown.
- getStatus() - Method in class com.hiddenswitch.spellsource.draft.PublicDraftState
-
Returns the current status of the draft.
- getStatus() - Method in class net.demilich.metastone.game.GameContext
- getStoresTurnNumberAttributes() - Static method in enum class net.demilich.metastone.game.cards.Attribute
-
Contains the set of attributes that store turn numbers.
- getStrictPlan() - Method in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
-
A strict plan is a cache of a computed path (sequence of actions) to a gamestate stored as the actions themselves.
- getString(T) - Method in class net.demilich.metastone.game.cards.desc.Desc
- getSummonReferenceStack() - Method in class net.demilich.metastone.game.GameContext
-
Gets the minions whose summoning is currently being processed.
- getTarget() - Method in class net.demilich.metastone.game.events.DestroyWillQueue.DestroyEvent
- getTarget() - Method in class net.demilich.metastone.game.events.GameEvent
- getTarget() - Method in class net.demilich.metastone.game.spells.desc.aura.AuraDesc
- getTarget() - Method in class net.demilich.metastone.game.spells.desc.SpellDesc
- getTarget() - Method in class net.demilich.metastone.game.spells.desc.valueprovider.ValueProviderDesc
- getTargetContextStackSize() - Method in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
-
When pruning with
GameStateValueBehaviour.isPruneContextStack()
, sets the maximum size of the context stack (the number of game states left to expand). - getTargetedEntities(GameContext, Player, Entity) - Method in class net.demilich.metastone.game.spells.desc.filter.EntityFilter
- getTargetedOpenerActions(OpenerAction, Player) - Method in class net.demilich.metastone.game.logic.GameLogic
- getTargetLogic() - Method in class net.demilich.metastone.game.GameContext
- getTargetOverride(Player, Entity) - Method in class net.demilich.metastone.game.GameContext
-
Retrieves the current target override specified in the environment.
- getTargetPlayer() - Method in class net.demilich.metastone.game.cards.costmodifier.CardCostModifier
-
Gets the target player of the given card cost modifier.
- getTargetPlayer() - Method in class net.demilich.metastone.game.spells.desc.source.CardSource
- getTargetPlayer() - Method in class net.demilich.metastone.game.spells.desc.SpellDesc
- getTargetPlayer() - Method in class net.demilich.metastone.game.spells.desc.trigger.EventTriggerDesc
- getTargetPlayerForOwner(int) - Static method in enum class net.demilich.metastone.game.spells.TargetPlayer
-
Returns a target player specific to the specified owner.
- getTargetPlayerId() - Method in class net.demilich.metastone.game.events.GameEvent
- getTargetReference() - Method in class net.demilich.metastone.game.actions.GameAction
- getTargetRequirement() - Method in class net.demilich.metastone.game.actions.GameAction
- getTargets() - Method in class net.demilich.metastone.game.logic.GameLogic.TargetResolution
-
The actual targets.
- getTargets() - Method in class net.demilich.metastone.game.spells.aura.AbstractFriendlyCardAura
- getTargets() - Method in class net.demilich.metastone.game.spells.aura.Aura
- getTargets() - Method in class net.demilich.metastone.game.spells.aura.HeroPowerBonusAura
- getTargets() - Method in class net.demilich.metastone.game.spells.aura.SecretsTriggerTwiceAura
- getTargets(GameContext, int) - Method in class net.demilich.metastone.game.actions.DiscoverAction
- getTargets(GameContext, int) - Method in class net.demilich.metastone.game.actions.EndTurnAction
- getTargets(GameContext, int) - Method in class net.demilich.metastone.game.actions.GameAction
- getTargets(GameContext, int) - Method in class net.demilich.metastone.game.actions.OpenerAction
- getTargets(GameContext, int) - Method in class net.demilich.metastone.game.actions.PlayCardAction
- getTargets(GameContext, int) - Method in class net.demilich.metastone.game.events.DestroyWillQueue
- getTargets(GameContext, int) - Method in class net.demilich.metastone.game.events.GameEvent
- getTargets(GameContext, int) - Method in class net.demilich.metastone.game.events.MissileFired
- getTargets(GameContext, int) - Method in interface net.demilich.metastone.game.events.Notification
-
For visualization purposes, what are the targets of this notification?
- getTargets(GameContext, int) - Method in class net.demilich.metastone.game.events.TouchingNotification
- getTargets(GameContext, int) - Method in class net.demilich.metastone.game.events.TriggerFired
- getTargetSelection() - Method in class net.demilich.metastone.game.cards.Card
-
Retrieves the card's target requirements.
- getTargetSelection() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
-
Indicates what kind of target selection this
Spellsource.CardTypeMessage.CardType.SPELL
orSpellsource.CardTypeMessage.CardType.HERO_POWER
has. - getTargetSelection() - Method in class net.demilich.metastone.game.spells.aura.TargetSelectionOverrideAura
- getTargetSelection() - Method in class net.demilich.metastone.game.spells.desc.OpenerDesc
-
The targets the battlecry can choose from.
- getTargetSelectionCondition() - Method in class net.demilich.metastone.game.actions.OpenerAction
- getTargetSelectionCondition() - Method in class net.demilich.metastone.game.cards.Card
- getTargetSelectionCondition() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- getTargetSelectionCondition() - Method in class net.demilich.metastone.game.spells.desc.OpenerDesc
- getTargetSelectionOverride() - Method in class net.demilich.metastone.game.actions.OpenerAction
- getTargetSelectionOverride() - Method in class net.demilich.metastone.game.cards.Card
- getTargetSelectionOverride() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- getTargetSelectionOverride() - Method in class net.demilich.metastone.game.spells.desc.OpenerDesc
- getTempCard(GameContext, SpellDesc, Card) - Method in class net.demilich.metastone.game.spells.ChooseOneOptionSpell
- getTempCard(GameContext, SpellDesc, Card) - Method in class net.demilich.metastone.game.spells.ChooseOneSpell
-
Generates a temporary card.
- getTempCard(GameContext, SpellDesc, Card) - Method in class net.demilich.metastone.game.spells.InvokeOptionSpell
- getTempCard(GameContext, SpellDesc, Card) - Method in class net.demilich.metastone.game.spells.InvokeSpell
- getTempCard(GameContext, SpellDesc, Card, String) - Static method in class net.demilich.metastone.game.spells.ChooseOneOptionSpell
-
Gets or create the temporary card representing the option.
- getTempCards() - Method in class com.hiddenswitch.spellsource.common.GameState
-
A
CardList
of cards that are temporarily created in this game. - getTempCards() - Method in class net.demilich.metastone.game.GameContext
- getThread() - Method in class net.demilich.metastone.game.GameContext
- getTimeout() - Method in class net.demilich.metastone.game.behaviour.FlatMonteCarloBehaviour
- getTimeout() - Method in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
-
Just below the maximum amount of time in milliseconds the bot will spend per call to
GameStateValueBehaviour.requestAction(GameContext, Player, List)
to determine its sequence of actions. - getTimestamp() - Method in class com.hiddenswitch.spellsource.common.GameState
-
The timestamp of when this
GameState
was accessed. - getTooltips() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
-
Specifies tooltips for this card.
- getTotalMinionCount() - Method in class net.demilich.metastone.game.GameContext
-
Gets the total number of minions on both player's
Spellsource.ZonesMessage.Zones.BATTLEFIELD
. - getTrace() - Method in class net.demilich.metastone.game.GameContext
-
Retrieves a trace of this game's actions.
- getTrigger() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
-
Specifies the minion, hero, or weapon's
Enchantment
that become active when the actor goes into an in-play zone (Spellsource.ZonesMessage.Zones.BATTLEFIELD
,Spellsource.ZonesMessage.Zones.WEAPON
,Spellsource.ZonesMessage.Zones.HERO
). - getTrigger() - Method in class net.demilich.metastone.game.logic.GameLogic.QueuedTrigger
- getTriggerHostStack() - Method in class net.demilich.metastone.game.GameContext
-
Retrieves the stack of hosts of the currently firing trigger.
- getTriggers() - Method in class com.hiddenswitch.spellsource.common.GameState
- getTriggers() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
-
Multiple
CardDesc.trigger
objects that should come into play whenever the actor comes into an in-play zone. - getTriggers() - Method in class net.demilich.metastone.game.GameContext
- getTriggers() - Method in class net.demilich.metastone.game.spells.trigger.Enchantment
-
Get the triggers that fire this enchantment.
- getTurn() - Method in class net.demilich.metastone.game.GameContext
-
Gets the current turn.
- getTurnNumber() - Method in class com.hiddenswitch.spellsource.common.GameState
-
The current turn number.
- getTurnsTaken() - Method in class net.demilich.metastone.game.statistics.GameStatistics
- getTurnState() - Method in class com.hiddenswitch.spellsource.common.GameState
-
The current
TurnState
of the game. - getTurnState() - Method in class net.demilich.metastone.game.GameContext
-
Gets the current
TurnState
- getTurnTimeMillis(int) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Compute the turn time in milliseconds for the specified player.
- getType() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
-
The type of card this instance describes.
- getUserId() - Method in class net.demilich.metastone.game.decks.DeckCreateRequest
- getUserId() - Method in class net.demilich.metastone.game.entities.Entity
-
Gets the user ID of the owner of this card.
- getUsesSpellTrigger() - Method in class net.demilich.metastone.game.spells.trigger.Enchantment
- getValidActions() - Method in class net.demilich.metastone.game.GameContext
- getValidActions(int) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Computes all the valid actions a player can currently take.
- getValidActions(GameContext, Player) - Method in class net.demilich.metastone.game.logic.ActionLogic
-
Iterates through the cards and minions belonging to the player, and determines what actions are available.
- getValidDeckCondition() - Method in class net.demilich.metastone.game.decks.DeckFormat
- getValidTargets(int, GameAction) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Gets the list of valid targets for an action.
- getValidTargets(GameContext, TargetAcquisitionEvent) - Method in class net.demilich.metastone.game.spells.aura.CaptnCookishAura
- getValidTargets(GameContext, TargetAcquisitionEvent) - Method in class net.demilich.metastone.game.spells.aura.NoggenfoggerAura
-
Based on the specified target acquisition event, override the target to a random one from the list returned by this method.
- getValidTargets(GameContext, Player, List<Entity>, EntityFilter, Entity) - Static method in class net.demilich.metastone.game.spells.SpellUtils
-
Filters a list of targets.
- getValidTargets(GameContext, Player, GameAction) - Method in class net.demilich.metastone.game.logic.TargetLogic
- getValue() - Method in class net.demilich.metastone.game.cards.desc.HasEntrySet.BfsNode
- getValue() - Method in interface net.demilich.metastone.game.events.HasValue
-
Gets the value associated with the event.
- getValue() - Method in class net.demilich.metastone.game.events.InvokedEvent
- getValue() - Method in class net.demilich.metastone.game.events.ValueEvent
- getValue() - Method in class net.demilich.metastone.game.logic.HealingResult
- getValue() - Method in class net.demilich.metastone.game.spells.desc.aura.AuraDesc
- getValue(GameContext, Player, Entity) - Method in class net.demilich.metastone.game.cards.dynamicdescription.GatekeeperShaValueDescription
- getValue(GameContext, Player, Entity) - Method in class net.demilich.metastone.game.cards.dynamicdescription.ValueDescription
- getValue(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.valueprovider.ValueProvider
- getValue(T, GameContext, Player, Entity, Entity, int) - Method in class net.demilich.metastone.game.cards.desc.Desc
- getValues() - Method in class net.demilich.metastone.game.behaviour.heuristic.FeatureVector
- getVariables() - Method in class com.hiddenswitch.spellsource.common.GameState
-
Gets the variables in the game.
- getVariables() - Method in class net.demilich.metastone.game.GameContext
-
Returns a reference to the variables stored in the game context, used by spells to maintain correct space when a strand currently being executed is cloned.
- getVersion() - Static method in class net.demilich.metastone.game.cards.CardCatalogue
- getVersion() - Method in class net.demilich.metastone.game.logic.Trace
- getVisits() - Method in class net.demilich.metastone.game.behaviour.mcts.Node
- getWeapon() - Method in class net.demilich.metastone.game.cards.Card
-
Gets the weapon that is equipped as a side-effect of playing this actor from the hand, not the underlying weapon actor represented by playing this card.
- getWeapon() - Method in class net.demilich.metastone.game.Player
- getWeaponDamage() - Method in class net.demilich.metastone.game.entities.weapons.Weapon
- getWeaponZone() - Method in class net.demilich.metastone.game.Player
-
Retrieves the weapon zone belonging to this player's hero entity.
- getWeight(Player, Card) - Method in interface net.demilich.metastone.game.spells.desc.source.HasWeights
- getWeight(Player, Card) - Method in class net.demilich.metastone.game.spells.desc.source.UngoroPackRarityWeightedCardSource
-
Gets the weight for the Un'Goro pack that Elise the Trailblazer's token gives you.
- getWiki() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
-
Stores notes about the card's implementation or behaviour.
- getWinner() - Method in class net.demilich.metastone.game.GameContext
- getWinner(Player, Player) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Determines which player is the winner from the point of view of the given player.
- getWinningPlayerId() - Method in class net.demilich.metastone.game.GameContext
-
Gets the winning player's ID or
-1
if no player is the winner. - getWins() - Method in class com.hiddenswitch.spellsource.draft.PublicDraftState
-
Gets the number of wins the player has had with the currently drafted deck.
- getZone() - Method in class net.demilich.metastone.game.entities.Entity
-
Gets the current zone the entity is located in.
- getZone() - Method in class net.demilich.metastone.game.entities.EntityLocation
-
Gets the zone of this location.
- getZone() - Method in class net.demilich.metastone.game.entities.EntityZone
- getZone(int, Spellsource.ZonesMessage.Zones) - Method in interface net.demilich.metastone.game.entities.EntityZoneTable
-
Retrieves an
EntityZone
for the provided owner and zone. - getZone(int, Spellsource.ZonesMessage.Zones) - Method in class net.demilich.metastone.game.GameContext
- getZone(Spellsource.ZonesMessage.Zones) - Method in class net.demilich.metastone.game.Player
-
Retrieves a zone by key.
- getZone(Player) - Method in class net.demilich.metastone.game.spells.desc.filter.DeckContainsFilter
- getZone(Player) - Method in class net.demilich.metastone.game.spells.desc.filter.HandContainsFilter
- getZone(Player) - Method in class net.demilich.metastone.game.spells.desc.filter.SecretsContainsFilter
- getZone(Player) - Method in class net.demilich.metastone.game.spells.desc.filter.ZoneContainsFilter
- getZones() - Method in class net.demilich.metastone.game.spells.desc.aura.AuraDesc
- getZones() - Method in class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDesc
-
Zones where this enchantment is activated.
- getZones() - Method in class net.demilich.metastone.game.spells.trigger.Aftermath
- getZones() - Method in class net.demilich.metastone.game.spells.trigger.Enchantment
- getZones() - Method in class net.demilich.metastone.game.spells.trigger.secrets.Quest
- getZones() - Method in class net.demilich.metastone.game.spells.trigger.secrets.Secret
- GOBLINS_VS_GNOMES - Static variable in class net.demilich.metastone.game.cards.CardSet
- GOLD - Static variable in class net.demilich.metastone.game.entities.heroes.HeroClass
- GRAVEYARD - Static variable in class net.demilich.metastone.game.cards.CardSet
-
Indicates the card should no longer be in any user's collections or appear in any formats.
- GraveyardActorsSource - Class in net.demilich.metastone.game.spells.desc.source
-
Returns the source cards of the actors in the graveyard, including the minions, weapons and heroes.
- GraveyardActorsSource(CardSourceDesc) - Constructor for class net.demilich.metastone.game.spells.desc.source.GraveyardActorsSource
- GraveyardCardAndActorSourceCardSource - Class in net.demilich.metastone.game.spells.desc.source
-
Returns a list of cards in the player's graveyard, including minion's cards.
- GraveyardCardAndActorSourceCardSource(CardSourceDesc) - Constructor for class net.demilich.metastone.game.spells.desc.source.GraveyardCardAndActorSourceCardSource
- graveyardCards(GameContext, Player) - Static method in class net.demilich.metastone.game.spells.desc.source.GraveyardCardAndActorSourceCardSource
-
Gets the cards that properly belong in the player's
Spellsource.ZonesMessage.Zones.GRAVEYARD
, meaning they were played by the player or they are the card representing a token or minion that died (not peacefully) on the battlefield. - GraveyardCardsSource - Class in net.demilich.metastone.game.spells.desc.source
-
Returns a list of cards that are in the player's graveyard.
- GraveyardCardsSource(CardSourceDesc) - Constructor for class net.demilich.metastone.game.spells.desc.source.GraveyardCardsSource
- GraveyardContainsCondition - Class in net.demilich.metastone.game.spells.desc.condition
-
true
if the graveyard contains anActor
thatEntity.diedOnBattlefield()
with the card ID fromConditionArg.CARD
or thetarget
's source card. - GraveyardContainsCondition(ConditionDesc) - Constructor for class net.demilich.metastone.game.spells.desc.condition.GraveyardContainsCondition
- GraveyardCountCondition - Class in net.demilich.metastone.game.spells.desc.condition
-
Counts entities matching the
ConditionArg.FILTER
using the evaluation rules of theCountCondition
. - GraveyardCountCondition(ConditionDesc) - Constructor for class net.demilich.metastone.game.spells.desc.condition.GraveyardCountCondition
- GraveyardDiedMinionsSource - Class in net.demilich.metastone.game.spells.desc.source
-
Returns a copy of the source cards of minions that
Entity.diedOnBattlefield()
belonging to the castingplayer
. - GraveyardDiedMinionsSource(CardSourceDesc) - Constructor for class net.demilich.metastone.game.spells.desc.source.GraveyardDiedMinionsSource
- GraveyardMinionCountValueProvider - Class in net.demilich.metastone.game.spells.desc.valueprovider
-
Returns the number of minions (non permanent, not removed peacefully) that are in the casting
player
'sSpellsource.ZonesMessage.Zones.GRAVEYARD
. - GraveyardMinionCountValueProvider(ValueProviderDesc) - Constructor for class net.demilich.metastone.game.spells.desc.valueprovider.GraveyardMinionCountValueProvider
- GREATER - Enum constant in enum class net.demilich.metastone.game.spells.desc.filter.ComparisonOperation
- GREATER_OR_EQUAL - Enum constant in enum class net.demilich.metastone.game.spells.desc.filter.ComparisonOperation
- GreedyOptimizeTurn - Class in net.demilich.metastone.game.behaviour
- GreedyOptimizeTurn(Heuristic) - Constructor for class net.demilich.metastone.game.behaviour.GreedyOptimizeTurn
- GREEN - Static variable in class net.demilich.metastone.game.entities.heroes.HeroClass
- GROUP - Enum constant in enum class net.demilich.metastone.game.cards.desc.CardDescArg
- GROUP - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
For internal use only.
- GuessCardSpell - Class in net.demilich.metastone.game.spells.custom
-
Prompts the player to guess which card started in the opponent's deck in order to receive it.
- GuessCardSpell() - Constructor for class net.demilich.metastone.game.spells.custom.GuessCardSpell
H
- HALL_OF_FAME - Static variable in class net.demilich.metastone.game.cards.CardSet
- HAND_COUNT - Enum constant in enum class net.demilich.metastone.game.spells.PlayerAttribute
-
The number of cards in the player's hand.
- HAND_INDEX - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
- HandContainsFilter - Class in net.demilich.metastone.game.spells.desc.filter
- HandContainsFilter(EntityFilterDesc) - Constructor for class net.demilich.metastone.game.spells.desc.filter.HandContainsFilter
- handleAfterSpellCasted(int, List<Entity>, Card) - Method in class net.demilich.metastone.game.logic.GameLogic
- handleMulligan(Player, boolean, List<Card>) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Sets the cards that the player discarded during the mulligan phase.
- HandSource - Class in net.demilich.metastone.game.spells.desc.source
-
Returns a list of cards in the hand.
- HandSource(CardSourceDesc) - Constructor for class net.demilich.metastone.game.spells.desc.source.HandSource
- HARD_REMOVAL_VALUE - Enum constant in enum class net.demilich.metastone.game.behaviour.heuristic.WeightedFeature
- HAS - Enum constant in enum class net.demilich.metastone.game.spells.desc.filter.ComparisonOperation
- hasArg(EntityFilterArg) - Method in class net.demilich.metastone.game.spells.desc.filter.EntityFilter
- hasArg(CardSourceArg) - Method in class net.demilich.metastone.game.spells.desc.source.CardSource
- HasAttackedCondition - Class in net.demilich.metastone.game.spells.desc.condition
-
true
if any of theConditionArg.TARGET
ortarget
has attacked this turn according toAttribute.ATTACKS_THIS_TURN
. - HasAttackedCondition(ConditionDesc) - Constructor for class net.demilich.metastone.game.spells.desc.condition.HasAttackedCondition
- HasAttackedFilter - Class in net.demilich.metastone.game.spells.desc.filter
-
Filters for actors that have attacked this turn.
- HasAttackedFilter(EntityFilterDesc) - Constructor for class net.demilich.metastone.game.spells.desc.filter.HasAttackedFilter
- HasAttackedLastTurnFilter - Class in net.demilich.metastone.game.spells.desc.filter
- HasAttackedLastTurnFilter(EntityFilterDesc) - Constructor for class net.demilich.metastone.game.spells.desc.filter.HasAttackedLastTurnFilter
- hasAttribute(Attribute) - Method in class net.demilich.metastone.game.entities.Entity
- hasAttribute(Player, Attribute) - Method in class net.demilich.metastone.game.logic.GameLogic
- hasAura() - Method in class net.demilich.metastone.game.cards.Card
- hasAura(GameContext, int, Class<T>) - Static method in class net.demilich.metastone.game.spells.SpellUtils
-
Determines whether any of the
Entity.isInPlay()
entities belonging to theplayerId
host an unexpired, active instance of theauraClass
aura. - hasBattlecry() - Method in class net.demilich.metastone.game.cards.Card
- hasBeenUsed() - Method in class net.demilich.metastone.game.cards.Card
-
Indicates if this card was used.
- hasBothOptions() - Method in class net.demilich.metastone.game.cards.Card
-
Does this card have both choose one options?
- hasBothOptions() - Method in interface net.demilich.metastone.game.cards.HasChooseOneActions
- hasCard(Player, Card) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Checks whether a player has a card with the given card ID.
- HasCard - Interface in net.demilich.metastone.game.entities
- hasCardCostModifier() - Method in class net.demilich.metastone.game.cards.Card
- HasCardCreationSideEffects - Interface in net.demilich.metastone.game.spells.desc.source
-
Indicates that this object creates cards as a side effect of its methods.
- hasCardOfType(Spellsource.CardTypeMessage.CardType) - Method in interface net.demilich.metastone.game.cards.CardList
-
Checks if this instance contains a
Card
of the specified type. - HasChoiceCard - Interface in net.demilich.metastone.game.actions
-
Indicates this action specifies one of possibly many cards as the choice that the player made to play.
- hasChoices() - Method in class net.demilich.metastone.game.cards.Card
- HasChooseOneActions - Interface in net.demilich.metastone.game.cards
-
An interface that specifies that the object has choose one behaviour.
- HasDeathrattleEnchantments - Interface in net.demilich.metastone.game.cards
-
Indicates this entity or object contains deathrattles.
- HasDesc<T extends Desc<?,
?>> - Interface in net.demilich.metastone.game.cards.desc - HasDescSerializer - Class in net.demilich.metastone.game.cards.desc
- HasDescSerializer() - Constructor for class net.demilich.metastone.game.cards.desc.HasDescSerializer
- HasEffectsFilter - Class in net.demilich.metastone.game.spells.desc.filter
-
Matches an entity if it has an aura, battlecry, card cost modifier, deathrattle, any kind of trigger or is a spell.
- HasEffectsFilter(EntityFilterDesc) - Constructor for class net.demilich.metastone.game.spells.desc.filter.HasEffectsFilter
- HasEnchantmentFilter - Class in net.demilich.metastone.game.spells.desc.filter
- HasEnchantmentFilter(EntityFilterDesc) - Constructor for class net.demilich.metastone.game.spells.desc.filter.HasEnchantmentFilter
- HasEntitiesOnBoardCondition - Class in net.demilich.metastone.game.spells.desc.condition
-
true
if all theConditionArg.CARDS
are on the board. - HasEntitiesOnBoardCondition(ConditionDesc) - Constructor for class net.demilich.metastone.game.spells.desc.condition.HasEntitiesOnBoardCondition
- HasEntrySet<T extends Enum<T>,
V> - Interface in net.demilich.metastone.game.cards.desc -
Indicates the implementing class can be iterated through using its
HasEntrySet.entrySet()
method. - HasEntrySet.BfsEnum - Enum Class in net.demilich.metastone.game.cards.desc
- HasEntrySet.BfsNode<T extends Enum,
V> - Class in net.demilich.metastone.game.cards.desc - hashCode() - Method in class net.demilich.metastone.game.actions.DiscoverAction
- hashCode() - Method in class net.demilich.metastone.game.actions.GameAction
- hashCode() - Method in class net.demilich.metastone.game.actions.OpenerAction
- hashCode() - Method in class net.demilich.metastone.game.cards.desc.Desc
- hashCode() - Method in class net.demilich.metastone.game.decks.CollectionDeck
- hashCode() - Method in class net.demilich.metastone.game.decks.DeckFormat
- hashCode() - Method in class net.demilich.metastone.game.decks.FixedCardsDeckFormat
- hashCode() - Method in class net.demilich.metastone.game.entities.EntityLocation
- hashCode() - Method in class net.demilich.metastone.game.Player
- hashCode() - Method in class net.demilich.metastone.game.spells.desc.condition.Condition
- hashCode() - Method in class net.demilich.metastone.game.spells.desc.SpellDesc
- hashCode() - Method in class net.demilich.metastone.game.targeting.EntityReference
- hasHeroClass(String) - Method in class net.demilich.metastone.game.cards.Card
-
Checks if the hero class specified is in its list of hero classes when this card belongs to multiple hero classes.
- hasHeroClass(GameContext, Player, Card, String) - Static method in class net.demilich.metastone.game.entities.heroes.HeroClass
-
Checks if the specified card has the specified hero class, respecting a
HeroClass.SELF
and aHeroClass.OPPONENT
specs. - HasHeroPowerCondition - Class in net.demilich.metastone.game.spells.desc.condition
- HasHeroPowerCondition(ConditionDesc) - Constructor for class net.demilich.metastone.game.spells.desc.condition.HasHeroPowerCondition
- hasNonZeroAttack(GameContext) - Method in class net.demilich.metastone.game.entities.Actor
- hasNonZeroAttack(GameContext) - Method in class net.demilich.metastone.game.entities.heroes.Hero
- hasPersistentEffects() - Method in class net.demilich.metastone.game.cards.Card
-
Indicates the card has effects that need to be persisted to a database between matches.
- hasPersistentEffects() - Method in class net.demilich.metastone.game.entities.Entity
-
Entities with persistent effects need their events to be processed differently in order to record those persistent values to a database.
- hasPlayer(int) - Method in class net.demilich.metastone.game.GameContext
- hasPredefinedTarget() - Method in class net.demilich.metastone.game.spells.desc.SpellDesc
- hasRace(GameContext, Entity, String) - Static method in class net.demilich.metastone.game.entities.minions.Race
-
Returns
true
if the given race string is considered as having the racerhs
, accounting for whether or not the specification is"ALL"
,"NONE"
. - HasTextFilter - Class in net.demilich.metastone.game.spells.desc.filter
- HasTextFilter(EntityFilterDesc) - Constructor for class net.demilich.metastone.game.spells.desc.filter.HasTextFilter
- hasTooManyAftermaths(Entity) - Method in class net.demilich.metastone.game.logic.GameLogic
- hasTrigger() - Method in class net.demilich.metastone.game.cards.Card
- HasTurnEffectsFilter - Class in net.demilich.metastone.game.spells.desc.filter
-
Filters minions based on whether they have Start-of-turn/End-of-turn effects or not.
- HasTurnEffectsFilter(EntityFilterDesc) - Constructor for class net.demilich.metastone.game.spells.desc.filter.HasTurnEffectsFilter
- HasValue - Interface in net.demilich.metastone.game.events
-
Indicates an event has a value, typically the damage dealt or mana changed, etc.
- HasWeaponCondition - Class in net.demilich.metastone.game.spells.desc.condition
-
true
when theplayer
has a weapon that is not broken. - HasWeaponCondition(ConditionDesc) - Constructor for class net.demilich.metastone.game.spells.desc.condition.HasWeaponCondition
- HasWeights - Interface in net.demilich.metastone.game.spells.desc.source
- heal(int) - Method in class net.demilich.metastone.game.statistics.GameStatistics
- heal(Player, Actor, int, Entity) - Method in class net.demilich.metastone.game.logic.GameLogic
- heal(Player, Actor, int, Entity, boolean) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Heals (restores hitpoints to) a target.
- HEAL_AMPLIFY_MULTIPLIER - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
When any friendly
Entity
has this attribute, all friendly healing effects that useGameLogic.heal(Player, Actor, int, Entity)
are multiplied by this attribute's value. - HealAndBuffExcessAsDrainSpell - Class in net.demilich.metastone.game.spells.custom
-
Gets the
Attribute.LAST_HIT
last amount of damage dealt to thetarget
, and restores health in that amount to theSpellArg.SECONDARY_TARGET
. - HealAndBuffExcessAsDrainSpell() - Constructor for class net.demilich.metastone.game.spells.custom.HealAndBuffExcessAsDrainSpell
- HealedFilter - Class in net.demilich.metastone.game.spells.desc.filter
- HealedFilter(EntityFilterDesc) - Constructor for class net.demilich.metastone.game.spells.desc.filter.HealedFilter
- HealEvent - Class in net.demilich.metastone.game.events
-
The
EntityReference.EVENT_TARGET
was healed forEventValueProvider
healing. - HealEvent(GameContext, int, Entity, int) - Constructor for class net.demilich.metastone.game.events.HealEvent
- HEALING_BONUS - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
The additional amount of healing an
Entity
contributes. - HEALING_DONE - Enum constant in enum class net.demilich.metastone.game.spells.PlayerAttribute
-
The total healing done by friendly sources
- HEALING_DONE - Enum constant in enum class net.demilich.metastone.game.statistics.Statistic
- HEALING_THIS_TURN - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Every time an
Actor
is healed, increment this attribute with the amount of healing and set to zero at the end of the turn. - HealingMissilesSpell - Class in net.demilich.metastone.game.spells
-
Casts healing missiles.
- HealingMissilesSpell() - Constructor for class net.demilich.metastone.game.spells.HealingMissilesSpell
- HealingResult - Class in net.demilich.metastone.game.logic
-
Records the result of a heal.
- HealingResult(int, int) - Constructor for class net.demilich.metastone.game.logic.HealingResult
- HealingTrigger - Class in net.demilich.metastone.game.spells.trigger
-
Fires whenever a
target
is healed. - HealingTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.HealingTrigger
- HealSpell - Class in net.demilich.metastone.game.spells
-
Heals the specified
target
forSpellArg.VALUE
amount. - HealSpell() - Constructor for class net.demilich.metastone.game.spells.HealSpell
- hero() - Method in class net.demilich.metastone.game.cards.Card
-
Creates a hero entity from the text on the card.
- Hero - Class in net.demilich.metastone.game.entities.heroes
- Hero(Card) - Constructor for class net.demilich.metastone.game.entities.heroes.Hero
- HERO - Enum constant in enum class net.demilich.metastone.game.cards.desc.CardDescArg
- HERO_ATTRIBUTES - Static variable in class net.demilich.metastone.game.cards.Card
- HERO_CLASS - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Returns the
Card
'sCardDesc.heroClass
field. - HERO_CLASS - Enum constant in enum class net.demilich.metastone.game.cards.CardDescType
- HERO_CLASS - Enum constant in enum class net.demilich.metastone.game.cards.desc.CardDescArg
- HERO_CLASS - Enum constant in enum class net.demilich.metastone.game.spells.desc.condition.ConditionArg
- HERO_CLASS - Enum constant in enum class net.demilich.metastone.game.spells.desc.filter.EntityFilterArg
- HERO_CLASS - Enum constant in enum class net.demilich.metastone.game.spells.desc.source.CardSourceArg
- HERO_CLASSES - Enum constant in enum class net.demilich.metastone.game.cards.desc.CardDescArg
- HERO_CLASSES - Enum constant in enum class net.demilich.metastone.game.spells.desc.filter.EntityFilterArg
- HERO_POWER - Enum constant in enum class net.demilich.metastone.game.cards.desc.CardDescArg
- HERO_POWER_DAMAGE - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
An
Entity
with hero power damage contributes to the total hero power damage the player gets as a bonus to their base hero power damage. - HERO_POWER_DAMAGE_AMPLIFY_MULTIPLIER - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Applies a multiplier to the amount of hero damage the owning player's skill deals.
- HERO_POWER_DAMAGE_DEALT - Enum constant in enum class net.demilich.metastone.game.spells.PlayerAttribute
-
The total damage dealt by the player's hero power this game
- HERO_POWER_DAMAGE_DEALT - Enum constant in enum class net.demilich.metastone.game.statistics.Statistic
- HERO_POWER_FREEZES_TARGET - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Deprecated.
- HERO_POWER_HEAL_AMPLIFY_MULTIPLIER - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
- HERO_POWER_USAGES - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
This attribute indicates the maximum number of times a hero power can be used in a turn.
- HERO_POWER_USED - Enum constant in enum class net.demilich.metastone.game.spells.PlayerAttribute
-
The number of times the player's hero power has been used this turn.
- HERO_POWER_USED - Enum constant in enum class net.demilich.metastone.game.statistics.Statistic
- HERO_POWERS_DISABLED - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
When any
Entity
alive has this attribute, BOTH player's hero powers are disabled. - HeroClass - Class in net.demilich.metastone.game.entities.heroes
-
All the hero classes, including special hero class specifiers, in Spellsource.
- HeroClass() - Constructor for class net.demilich.metastone.game.entities.heroes.HeroClass
- HeroClassCondition - Class in net.demilich.metastone.game.spells.desc.condition
-
true
if the player's champion isConditionArg.HERO_CLASS
. - HeroClassCondition(ConditionDesc) - Constructor for class net.demilich.metastone.game.spells.desc.condition.HeroClassCondition
- HEROES - Enum constant in enum class net.demilich.metastone.game.targeting.TargetSelection
- HeroPowerAction - Class in net.demilich.metastone.game.actions
-
Indicates an action that is a hero power card.
- HeroPowerAction(SpellDesc, Card, TargetSelection) - Constructor for class net.demilich.metastone.game.actions.HeroPowerAction
- HeroPowerAction(SpellDesc, Card, TargetSelection, Card) - Constructor for class net.demilich.metastone.game.actions.HeroPowerAction
- HeroPowerBonusAura - Class in net.demilich.metastone.game.spells.aura
-
Gives spells decorated with
HeroPowerSpell
the given bonus affect inAuraArg.APPLY_EFFECT
. - HeroPowerBonusAura(AuraDesc) - Constructor for class net.demilich.metastone.game.spells.aura.HeroPowerBonusAura
- heroPowerDamage(int) - Method in class net.demilich.metastone.game.statistics.GameStatistics
- HeroPowerDamageValueProvider - Class in net.demilich.metastone.game.spells.desc.valueprovider
- HeroPowerDamageValueProvider(ValueProviderDesc) - Constructor for class net.demilich.metastone.game.spells.desc.valueprovider.HeroPowerDamageValueProvider
- heroPowersDisabled() - Method in class net.demilich.metastone.game.logic.GameLogic
-
Are hero powers disabled?
- HeroPowerSpell - Class in net.demilich.metastone.game.spells
-
Signifies that the subspells
SpellArg.SPELL
,SpellArg.SPELLS
, etc.) represent the "hero power effect" for cards that interact with the hero power. - HeroPowerSpell() - Constructor for class net.demilich.metastone.game.spells.HeroPowerSpell
- HeroPowerToSpellSpell - Class in net.demilich.metastone.game.spells.custom
-
Turns a hero power into a spell card.
- HeroPowerToSpellSpell() - Constructor for class net.demilich.metastone.game.spells.custom.HeroPowerToSpellSpell
- HeroPowerUsedEvent - Class in net.demilich.metastone.game.events
-
A skill was used.
- HeroPowerUsedEvent(GameContext, int, Card) - Constructor for class net.demilich.metastone.game.events.HeroPowerUsedEvent
- HeroPowerUsedTrigger - Class in net.demilich.metastone.game.spells.trigger
- HeroPowerUsedTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.HeroPowerUsedTrigger
- heuristic - Variable in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
- Heuristic - Interface in net.demilich.metastone.game.behaviour.heuristic
-
A heuristic is a function that takes a game state and returns a score from the given player's point of view.
- HighestAttributeFilter - Class in net.demilich.metastone.game.spells.desc.filter
-
Computes the highest value of the attribute in the specified list of
target
entities and returns all with that highest value. - HighestAttributeFilter(EntityFilterDesc) - Constructor for class net.demilich.metastone.game.spells.desc.filter.HighestAttributeFilter
- HighlanderDeckCondition - Class in net.demilich.metastone.game.spells.desc.condition
-
Evaluates to
true
when there is exactly one copy of each card in theEntityReference.FRIENDLY_DECK
. - HighlanderDeckCondition(ConditionDesc) - Constructor for class net.demilich.metastone.game.spells.desc.condition.HighlanderDeckCondition
- HighlanderHandCondition - Class in net.demilich.metastone.game.spells.desc.condition
-
true
if every card in the player's hand is distinct or if the hand is empty. - HighlanderHandCondition(ConditionDesc) - Constructor for class net.demilich.metastone.game.spells.desc.condition.HighlanderHandCondition
- hitShields(Player, int, Entity, Actor) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Processes a hit against possible shields on the
target
Actor
. - HoardingWhelpAura - Class in net.demilich.metastone.game.spells.aura
-
"Both players" now only affects the friendly player.
- HoardingWhelpAura(AuraDesc) - Constructor for class net.demilich.metastone.game.spells.aura.HoardingWhelpAura
- HoldsCardCondition - Class in net.demilich.metastone.game.spells.desc.condition
-
true
if the player is holding a card matching theConditionArg.CARD_FILTER
and their hand is not empty. - HoldsCardCondition(ConditionDesc) - Constructor for class net.demilich.metastone.game.spells.desc.condition.HoldsCardCondition
- HOST_TARGET_TYPE - Enum constant in enum class net.demilich.metastone.game.spells.desc.trigger.EventTriggerArg
- hostConditionMet(GameEvent, Entity) - Method in class net.demilich.metastone.game.spells.trigger.EventTrigger
- hostConditionMet(GameEvent, Entity) - Method in class net.demilich.metastone.game.spells.trigger.SupremacyTrigger
- hostReference - Variable in class net.demilich.metastone.game.spells.trigger.Enchantment
- HOW_MANY - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
For spells where
SpellArg.VALUE
has a separate interpretation from "copies" or "duplicates," this arg is typically used to indicate copies or duplicates. - howMany(GameContext, Entity, Player) - Method in class net.demilich.metastone.game.spells.desc.source.TopCardsOfDeckSource
- howMany(GameContext, Entity, Player) - Method in class net.demilich.metastone.game.spells.desc.source.TopThreeCardsOfDeckSource
- HP - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
The number of hit points the
Actor
currently has. - HP_BONUS - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
The amount of hitpoints added by all the
BuffSpell
effects on the entity. - HP_BONUS - Enum constant in enum class net.demilich.metastone.game.spells.desc.aura.AuraArg
- HP_BONUS - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
Used by
BuffSpell
to indicate how much additional full-healed health should be given to thetarget
as a buff.
I
- ID - Enum constant in enum class net.demilich.metastone.game.cards.desc.CardDescArg
- IdFactory - Interface in net.demilich.metastone.game.targeting
- IdFactoryImpl - Class in net.demilich.metastone.game.targeting
- IdFactoryImpl() - Constructor for class net.demilich.metastone.game.targeting.IdFactoryImpl
- IdFactoryImpl(int) - Constructor for class net.demilich.metastone.game.targeting.IdFactoryImpl
- IF_FALSE - Enum constant in enum class net.demilich.metastone.game.spells.desc.valueprovider.ValueProviderArg
- IF_TRUE - Enum constant in enum class net.demilich.metastone.game.spells.desc.valueprovider.ValueProviderArg
- IGNORE_AS_SOURCE - Enum constant in enum class net.demilich.metastone.game.targeting.TargetType
-
Indicates that the trigger doesn't fire if the
EntityReference.EVENT_SOURCE
is this trigger's host. - IGNORE_AS_SOURCE_CARD - Enum constant in enum class net.demilich.metastone.game.targeting.TargetType
-
Indicates that the trigger doesn't fire if the
EntityReference.EVENT_SOURCE
is this trigger's host's source card. - IGNORE_AS_TARGET - Enum constant in enum class net.demilich.metastone.game.targeting.TargetType
-
Indicates that the trigger doesn't fire if the
EntityReference.EVENT_TARGET
is this trigger's host. - IGNORE_AS_TARGET_CARD - Enum constant in enum class net.demilich.metastone.game.targeting.TargetType
-
Indicates that the trigger doesn't fire if the
EntityReference.EVENT_TARGET
is this trigger's host's source card. - IGNORE_OTHER_SOURCES - Enum constant in enum class net.demilich.metastone.game.targeting.TargetType
-
Indicates that the trigger fires only if the
EntityReference.EVENT_SOURCE
is this trigger's host. - IGNORE_OTHER_TARGET_CARDS - Enum constant in enum class net.demilich.metastone.game.targeting.TargetType
-
Indicates that the trigger fires only if the
EntityReference.EVENT_TARGET
is this trigger's host's source card. - IGNORE_OTHER_TARGETS - Enum constant in enum class net.demilich.metastone.game.targeting.TargetType
-
Indicates that the trigger fires only if the
EntityReference.EVENT_TARGET
is this trigger's host. - IGNORE_SPELL_DAMAGE - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
Used by the
DamageSpell
to indicate that even though this effect is written on a spell card, the amount of damage dealt (theSpellArg.VALUE
) should not be affected by spell damage. - IGNORED_MINION_ATTRIBUTES - Static variable in class net.demilich.metastone.game.cards.Card
- IMBUE - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Indicates that a card makes use of the Imbue keyword, specifically using up a charge
- IMMUNE - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
An immune
Actor
does not take any damage. - IMMUNE_TO_SILENCE - Static variable in class net.demilich.metastone.game.logic.GameLogic
- IMMUNE_WHILE_ATTACKING - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
An
Actor
with this attribute does not take damage from the targets of its physical attacks. - IN_PROGRESS - Enum constant in enum class com.hiddenswitch.spellsource.draft.DraftStatus
-
The draft is currently accepting choices for cards.
- INACTIVE - Enum constant in enum class net.demilich.metastone.game.spells.TargetPlayer
-
The player whose turn it is not.
- IncorruptibilityAura - Class in net.demilich.metastone.game.spells.aura
-
Entities affected by this aura are targetable by spells and skills but the effects of those spells and skills are neutralized.
- IncorruptibilityAura(AuraDesc) - Constructor for class net.demilich.metastone.game.spells.aura.IncorruptibilityAura
- incrementedDestroyedThisSequenceCount() - Method in class net.demilich.metastone.game.logic.GameLogic
-
Increments the number of actors that have been destroyed this sequence.
- INDEX - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Returns the index of the entity in its current zone.
- INDEX_FROM_END - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Returns the index of the entity from the end of its current zone.
- IndexInSourceValueProvider - Class in net.demilich.metastone.game.spells.desc.valueprovider
-
Returns the index of the first entity that matches the
ValueProviderArg.CARD_FILTER
in the specifiedValueProviderArg.CARD_SOURCE
. - IndexInSourceValueProvider(ValueProviderDesc) - Constructor for class net.demilich.metastone.game.spells.desc.valueprovider.IndexInSourceValueProvider
- indexOf(Object) - Method in class net.demilich.metastone.game.entities.EntityZone
- indexPlan - Variable in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
- INFINITE - Static variable in class net.demilich.metastone.game.logic.GameLogic
- INHERIT - Static variable in class net.demilich.metastone.game.entities.heroes.HeroClass
- init() - Method in class net.demilich.metastone.game.GameContext
-
Initializes a game.
- init(int) - Method in class net.demilich.metastone.game.GameContext
-
Initialized the game with the specified starting player.
- init(DescDeserializer.SerializationContext) - Method in class net.demilich.metastone.game.cards.dynamicdescription.DynamicDescriptionDeserializer
- init(DescDeserializer.SerializationContext) - Method in class net.demilich.metastone.game.cards.desc.AuraDescDeserializer
- init(DescDeserializer.SerializationContext) - Method in class net.demilich.metastone.game.cards.desc.ConditionDescDeserializer
- init(DescDeserializer.SerializationContext) - Method in class net.demilich.metastone.game.cards.desc.EntityFilterDescDeserializer
- init(DescDeserializer.SerializationContext) - Method in class net.demilich.metastone.game.cards.desc.CardCostModifierDescDeserializer
- init(DescDeserializer.SerializationContext) - Method in class net.demilich.metastone.game.cards.desc.CardSourceDescDeserializer
- init(DescDeserializer.SerializationContext) - Method in class net.demilich.metastone.game.cards.desc.SpellDescDeserializer
- init(DescDeserializer.SerializationContext) - Method in class net.demilich.metastone.game.cards.desc.EventTriggerDescDeserializer
- init(DescDeserializer.SerializationContext) - Method in class net.demilich.metastone.game.cards.desc.ValueProviderDescDeserializer
- init(DescDeserializer.SerializationContext) - Method in class net.demilich.metastone.game.cards.desc.DescDeserializer
-
Gives the implementing deserializer the opportunity to specify how a key in its enum should be deserialized.
- initializeDraft() - Method in class com.hiddenswitch.spellsource.draft.DraftLogic
-
Begins a draft, initializing the
PublicDraftState
on the context and notifying the behaviour that the state has changed. - initializePlayerAndMoveMulliganToSetAside(int, boolean) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Configures the player
Player
,Hero
, and deck & handCard
entities with the correct IDs,EntityZone
locations and owners. - initState(GameContext, List<GameAction>) - Method in class net.demilich.metastone.game.behaviour.mcts.Node
- innerChangeOwner(Entity, int) - Method in class net.demilich.metastone.game.logic.GameLogic
- innerDeserialize(DeserializationContext, JsonNode) - Method in class net.demilich.metastone.game.cards.desc.DescDeserializer
- innerExecute(GameContext, int) - Method in class net.demilich.metastone.game.actions.HeroPowerAction
- innerExecute(GameContext, int) - Method in class net.demilich.metastone.game.actions.PlayCardAction
-
Represents the consequences of playing a spell card, minion card, hero card, hero power card, etc.
- innerExecute(GameContext, int) - Method in class net.demilich.metastone.game.actions.PlayChooseOneCardAction
- innerExecute(GameContext, int) - Method in class net.demilich.metastone.game.actions.PlayHeroCardAction
- innerExecute(GameContext, int) - Method in class net.demilich.metastone.game.actions.PlayMinionCardAction
- innerExecute(GameContext, int) - Method in class net.demilich.metastone.game.actions.PlaySpellCardAction
- innerExecute(GameContext, int) - Method in class net.demilich.metastone.game.actions.PlayWeaponCardAction
- innerQueues(GameEvent, Entity) - Method in class net.demilich.metastone.game.spells.trigger.Enchantment
- innerQueues(GameEvent, Entity) - Method in class net.demilich.metastone.game.spells.trigger.Opener
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.AbstractCardTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.AbstractSummonTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.AfterDamagingSpellCastedTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.AfterSpellCastedTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.ArmorChangedTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.AttributeAppliedTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.BattlecryResolvedTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.BoardChangedTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.CardDrawnTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.CardReceivedTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.CavernsBelowTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.DamageCausedTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.DamageReceivedTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.DidEndSequenceTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.DiscardTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.DiscoverTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.DrainTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.EnrageChangedTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.EventTrigger
-
When an event this trigger is
EventTrigger.interestedIn()
occurs, this test indicates whether or not the trigger should enter the queue of effects that should be evaluated. - innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.ExcessHealingTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.FatalDamageTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.FatigueTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.GameStartTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.GameStateChangedTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.HealingTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.HeroPowerUsedTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.InspireTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.LoseDeflectTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.LoseDivineShieldTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.LoseStealthTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.MaxHpIncreasedTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.MaxManaChangedTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.MinionDeathTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.ModifyCurrentManaTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.NonDrainDamageReceivedTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.NonFatigueDamageCausedTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.NullTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.OverloadTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.PactPlayedTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.PhysicalAttackTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.PreDamageTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.PreDeflectDamageTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.PreGameStartTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.QuestPlayedTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.QuestSuccessTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.QuickDrawTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.ReturnToHandTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.SecretPlayedTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.SecretRevealedTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.ShuffledOnlyOriginalCopiesTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.SilenceTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.SpellCastedTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.SupremacyTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.TargetAcquisitionTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.TurnEndTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.TurnStartTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.WeaponDestroyedTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.WeaponEquippedTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.WeaponPlayedTrigger
- innerQueues(GameEvent, Enchantment, Entity) - Method in class net.demilich.metastone.game.spells.trigger.WillEndSequenceTrigger
- insertIntoDeck(Player, Card, int) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Inserts a card into the specified location in the player's deck.
- insertIntoDeck(Player, Card, int, boolean) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Inserts a card into the specified location in the player's deck.
- InspireTrigger - Class in net.demilich.metastone.game.spells.trigger
- InspireTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.InspireTrigger
- INSTANCE - Static variable in class net.demilich.metastone.game.spells.desc.condition.ComboCondition
- INTEGER - Enum constant in enum class net.demilich.metastone.game.cards.desc.ParseValueType
-
An integer value.
- INTEGER_ARRAY - Enum constant in enum class net.demilich.metastone.game.cards.desc.ParseValueType
-
An array of integers.
- IntelligentBehaviour - Class in net.demilich.metastone.game.behaviour
- IntelligentBehaviour() - Constructor for class net.demilich.metastone.game.behaviour.IntelligentBehaviour
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.AbstractSummonTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.AfterCardPlayedTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.AfterMinionSummonedTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.AfterPhysicalAttackTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.AfterSpellCastedTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.ArmorChangedTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.AttributeAppliedTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.BeforeMinionSummonedTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.BeforePhysicalAttackTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.BoardChangedTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.CardAddedToDeckTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.CardDrawnTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.CardPlayedTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.CardReceivedTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.CardRevealedTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.DamageCausedTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.DamageReceivedTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.DidEndSequenceTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.DiscardTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.DiscoverTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.DrainTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.EnrageChangedTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.EventTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.ExcessHealingTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.FatigueTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.GameStartTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.GameStateChangedTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.HealingTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.HeroPowerUsedTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.InspireTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.InvokedTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.LoseDeflectTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.LoseDivineShieldTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.LoseStealthTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.MaxHpIncreasedTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.MaxManaChangedTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.MinionDeathTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.MinionSummonedTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.ModifyCurrentManaTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.NullTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.OverloadTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.PhysicalAttackTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.PreDamageTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.PreGameStartTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.QuestPlayedTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.QuestSuccessTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.ReturnToHandTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.RoastTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.SecretPlayedTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.SecretRevealedTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.ShuffledTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.SilenceTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.SpellCastedTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.TargetAcquisitionTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.TurnEndTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.TurnStartTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.WeaponDestroyedTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.WeaponEquippedTrigger
- interestedIn() - Method in class net.demilich.metastone.game.spells.trigger.WillEndSequenceTrigger
- interestedIn(Spellsource.GameEventTypeMessage.GameEventType) - Method in class net.demilich.metastone.game.cards.costmodifier.ToggleCostModifier
- interestedIn(Spellsource.GameEventTypeMessage.GameEventType) - Method in class net.demilich.metastone.game.spells.trigger.Enchantment
- interestedIn(Spellsource.GameEventTypeMessage.GameEventType) - Method in interface net.demilich.metastone.game.spells.trigger.Trigger
-
Returns true if this trigger is a listener for the given
Spellsource.GameEventTypeMessage.GameEventType
. - internal - Variable in class net.demilich.metastone.game.entities.EntityZone
- InvalidDraftCardSelectionException - Exception Class in com.hiddenswitch.spellsource.draft
-
Indicates the end user made an invalid card selection (the index was out of bounds).
- InvalidDraftCardSelectionException(int, PrivateDraftState) - Constructor for exception class com.hiddenswitch.spellsource.draft.InvalidDraftCardSelectionException
-
Creates this exception
- InvalidDraftStatusException - Exception Class in com.hiddenswitch.spellsource.draft
-
Indicates the current state of the draft is invalid for the requested changes.
- InvalidDraftStatusException(DraftStatus, DraftStatus) - Constructor for exception class com.hiddenswitch.spellsource.draft.InvalidDraftStatusException
-
Creates a new draft status error.
- Inventory - Interface in net.demilich.metastone.game.services
- INVERT - Enum constant in enum class net.demilich.metastone.game.spells.desc.condition.ConditionArg
- INVERT - Enum constant in enum class net.demilich.metastone.game.spells.desc.filter.EntityFilterArg
- INVERT - Enum constant in enum class net.demilich.metastone.game.spells.desc.source.CardSourceArg
- INVERT_HEALING - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Whens set on any entity, friendly healing effects deal damage instead.
- invoke() - Method in class net.demilich.metastone.game.spells.SpellUtils.DetermineCastingPlayer
- INVOKE - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Whenever a
Card
with this attribute is in your hand, and you have at least the invoke amount of mana, you may gain an extra card with a bonus effect on it to cast with that extra mana. - InvokeCondition - Class in net.demilich.metastone.game.spells.desc.condition
-
Returns
true
if the card'sAttribute.INVOKE
effect's cost was met. - InvokeCondition(ConditionDesc) - Constructor for class net.demilich.metastone.game.spells.desc.condition.InvokeCondition
- INVOKED - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Indicates a card's invoke for the specified amount of mana.
- INVOKED_CARDS - Enum constant in enum class net.demilich.metastone.game.spells.PlayerAttribute
-
The number of cards the player has
Attribute.INVOKED
this game. - InvokedEvent - Class in net.demilich.metastone.game.events
-
A card was invoked for
EventValueProvider
/InvokedEvent.getValue()
mana. - InvokedEvent(GameContext, int, Card, int) - Constructor for class net.demilich.metastone.game.events.InvokedEvent
- InvokedTrigger - Class in net.demilich.metastone.game.spells.trigger
- InvokedTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.InvokedTrigger
- InvokeOptionSpell - Class in net.demilich.metastone.game.spells
-
Casts an Invoke effect specified in
SpellArg.SPELL
forSpellArg.MANA
mana cost. - InvokeOptionSpell() - Constructor for class net.demilich.metastone.game.spells.InvokeOptionSpell
- InvokeSpell - Class in net.demilich.metastone.game.spells
-
When the player has at least
Attribute.INVOKE
additional unspent mana, source an extra bonus effect for that cost. - InvokeSpell() - Constructor for class net.demilich.metastone.game.spells.InvokeSpell
- isActivated() - Method in class net.demilich.metastone.game.spells.trigger.Aftermath
- isActivated() - Method in class net.demilich.metastone.game.spells.trigger.Enchantment
- isActivated() - Method in interface net.demilich.metastone.game.spells.trigger.Trigger
- isActive() - Method in class net.demilich.metastone.game.entities.weapons.Weapon
- isActor() - Method in class net.demilich.metastone.game.cards.Card
-
Indicates this card plays an actor, like a minion, weapon or hero, from the hand.
- IsAdjacentCondition - Class in net.demilich.metastone.game.spells.desc.condition
- IsAdjacentCondition(ConditionDesc) - Constructor for class net.demilich.metastone.game.spells.desc.condition.IsAdjacentCondition
- isBroken() - Method in class net.demilich.metastone.game.entities.weapons.Weapon
- isCardType(Spellsource.CardTypeMessage.CardType, Spellsource.CardTypeMessage.CardType) - Static method in class net.demilich.metastone.game.logic.GameLogic
-
Indicates whether or not the instance is of the specified card type.
- isChooseOne() - Method in class net.demilich.metastone.game.cards.Card
- isClientInterested() - Method in class net.demilich.metastone.game.actions.GameAction
- isClientInterested() - Method in class net.demilich.metastone.game.events.BasicGameEvent
- isClientInterested() - Method in class net.demilich.metastone.game.events.DestroyWillQueue
- isClientInterested() - Method in class net.demilich.metastone.game.events.JoustEvent
- isClientInterested() - Method in interface net.demilich.metastone.game.events.Notification
-
Should this notification be sent to the client?
- isClientInterested() - Method in class net.demilich.metastone.game.events.TouchingNotification
- isClientInterested() - Method in class net.demilich.metastone.game.events.TriggerFired
- isCollectible() - Method in class net.demilich.metastone.game.cards.Card
-
Collectible cards can be put into decks.
- isCollectible() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
-
Indicates whether or not the card should appear in discovers and in the collection browser.
- isComplete() - Method in class net.demilich.metastone.game.decks.GameDeck
- isConditionFulfilled(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.ComboSpell
- isConditionFulfilled(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.ConditionalEffectSpell
- isConditionFulfilled(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.ReservoirSpell
- isCopyToActor() - Method in class net.demilich.metastone.game.spells.trigger.Aftermath
- isCopyToActor() - Method in class net.demilich.metastone.game.spells.trigger.Enchantment
- isCopyToActor() - Method in class net.demilich.metastone.game.spells.trigger.Opener
- isCountByValue() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- isCountByValue() - Method in class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDesc
-
When
true
, treats theGameContext.getEventValue()
as the amount to increment this enchantment's firing counter. - isCountByValue() - Method in class net.demilich.metastone.game.spells.trigger.Enchantment
-
Indicates that the
HasValue.getValue()
of the event should be used to increment the enchantment's counter (typically itsEnchantment.fires
) instead of the value 1 (i.e., every event that causes a trigger to fire increments the number of fires by 1). - IsDamagedCondition - Class in net.demilich.metastone.game.spells.desc.condition
- IsDamagedCondition(ConditionDesc) - Constructor for class net.demilich.metastone.game.spells.desc.condition.IsDamagedCondition
- IsDeadCondition - Class in net.demilich.metastone.game.spells.desc.condition
- IsDeadCondition(ConditionDesc) - Constructor for class net.demilich.metastone.game.spells.desc.condition.IsDeadCondition
- isDestroyed() - Method in class net.demilich.metastone.game.entities.Actor
-
Indicates whether or not the actor is mortally wounded.
- isDestroyed() - Method in class net.demilich.metastone.game.entities.Entity
-
Checks if the entity is destroyed.
- isDestroyed() - Method in class net.demilich.metastone.game.entities.weapons.Weapon
- IsDestroyedFilter - Class in net.demilich.metastone.game.spells.desc.filter
- IsDestroyedFilter(EntityFilterDesc) - Constructor for class net.demilich.metastone.game.spells.desc.filter.IsDestroyedFilter
- isDisposed() - Method in class net.demilich.metastone.game.GameContext
- isDisposeNodes() - Method in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
-
Indicates whether or not nodes should be "disposed" (their game context references set to
null
. - isDraft() - Method in class net.demilich.metastone.game.decks.DeckCreateRequest
- isDraftOver() - Method in class com.hiddenswitch.spellsource.draft.DraftLogic
-
Is the draft over?
- isDrawn() - Method in class net.demilich.metastone.game.events.DrawCardEvent
- isEmpty() - Method in class net.demilich.metastone.game.cards.CardArrayList
- isEmpty() - Method in interface net.demilich.metastone.game.cards.CardList
-
Checks if the instance is empty.
- isEntityType(Spellsource.EntityTypeMessage.EntityType, Spellsource.EntityTypeMessage.EntityType) - Static method in class net.demilich.metastone.game.logic.GameLogic
-
Returns
true
ifthisEntity
is a subset ofother
orother
is a subset ofthisEntity
. - isExpandable() - Method in class net.demilich.metastone.game.behaviour.mcts.Node
- isExpandDepthForLethal() - Method in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
-
Indicates whether the
GameStateValueBehaviour.getMaxDepth()
setting should be temporarily expanded to the number of actors and playable cards + 1 (the end turn action) in order to help the system find a way to lethally destroy a target. - isExpired() - Method in class net.demilich.metastone.game.spells.trigger.Enchantment
- isExpired() - Method in interface net.demilich.metastone.game.spells.trigger.Trigger
-
Checks if, due to the execution of possibly complex rules inside or outside the trigger, the trigger is expired (no longer should fire).
- isExtraCopy() - Method in class net.demilich.metastone.game.events.ShuffledEvent
- isForceGarbageCollection() - Method in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
-
Indicates whether or not a garbage collection call via
System.gc()
should be made whenever a game context is done being processed. - isFulfilled(DynamicDescriptionDesc, GameContext, Player, Entity) - Method in class net.demilich.metastone.game.cards.dynamicdescription.ConditionalDescription
- isFulfilled(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.aura.SpellsCastThriceAura
- isFulfilled(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.aura.SpellsCastTwiceAura
- isFulfilled(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.aura.TheliaSilentdreamerAura
- isFulfilled(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.condition.Condition
-
Is the condition fulfilled given the specified
source
andtarget
? - isFulfilled(GameContext, Player, Entity, Entity, Condition, SpellDesc) - Method in class net.demilich.metastone.game.spells.custom.RecastIfMinionsDestroyedSpell
- isFulfilled(GameContext, Player, Entity, Entity, Condition, SpellDesc) - Method in class net.demilich.metastone.game.spells.custom.RecastUntilMinionsDestroyedSpell
- isFulfilled(GameContext, Player, Entity, Entity, Condition, SpellDesc) - Method in class net.demilich.metastone.game.spells.RecastWhileSpell
- isFulfilled(GameContext, Player, ConditionDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.condition.AdjacentToPermanentCondition
- isFulfilled(GameContext, Player, ConditionDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.condition.AllMatchFilterCondition
- isFulfilled(GameContext, Player, ConditionDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.condition.AllModuloValueEqualsZeroCondition
- isFulfilled(GameContext, Player, ConditionDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.condition.AmalgamRaceCondition
- isFulfilled(GameContext, Player, ConditionDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.condition.AndCondition
- isFulfilled(GameContext, Player, ConditionDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.condition.AnyMatchFilterCondition
- isFulfilled(GameContext, Player, ConditionDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.condition.AttributeCondition
- isFulfilled(GameContext, Player, ConditionDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.condition.AttributeExistsCondition
- isFulfilled(GameContext, Player, ConditionDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.condition.CanPlayPactCondition
- isFulfilled(GameContext, Player, ConditionDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.condition.CanSummonCondition
- isFulfilled(GameContext, Player, ConditionDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.condition.CardPropertyCondition
- isFulfilled(GameContext, Player, ConditionDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.condition.ComboCondition
- isFulfilled(GameContext, Player, ConditionDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.condition.ComparisonCondition
- isFulfilled(GameContext, Player, ConditionDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.condition.Condition
- isFulfilled(GameContext, Player, ConditionDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.condition.ControlsSecretCondition
- isFulfilled(GameContext, Player, ConditionDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.condition.CountCondition
- isFulfilled(GameContext, Player, ConditionDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.condition.DeckContainsCondition
- isFulfilled(GameContext, Player, ConditionDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.condition.EntityEqualityCondition
- isFulfilled(GameContext, Player, ConditionDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.condition.GraveyardContainsCondition
- isFulfilled(GameContext, Player, ConditionDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.condition.HasAttackedCondition
- isFulfilled(GameContext, Player, ConditionDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.condition.HasEntitiesOnBoardCondition
- isFulfilled(GameContext, Player, ConditionDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.condition.HasHeroPowerCondition
- isFulfilled(GameContext, Player, ConditionDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.condition.HasWeaponCondition
- isFulfilled(GameContext, Player, ConditionDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.condition.HeroClassCondition
- isFulfilled(GameContext, Player, ConditionDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.condition.HighlanderDeckCondition
- isFulfilled(GameContext, Player, ConditionDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.condition.HighlanderHandCondition
- isFulfilled(GameContext, Player, ConditionDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.condition.HoldsCardCondition
- isFulfilled(GameContext, Player, ConditionDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.condition.InvokeCondition
- isFulfilled(GameContext, Player, ConditionDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.condition.IsAdjacentCondition
- isFulfilled(GameContext, Player, ConditionDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.condition.IsDamagedCondition
- isFulfilled(GameContext, Player, ConditionDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.condition.IsDeadCondition
- isFulfilled(GameContext, Player, ConditionDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.condition.ManaCostCondition
- isFulfilled(GameContext, Player, ConditionDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.condition.ManaMaxedCondition
- isFulfilled(GameContext, Player, ConditionDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.condition.MinionOnBoardCondition
- isFulfilled(GameContext, Player, ConditionDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.condition.NumberOfCopiesCondition
- isFulfilled(GameContext, Player, ConditionDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.condition.OrCondition
- isFulfilled(GameContext, Player, ConditionDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.condition.OverloadedCondition
- isFulfilled(GameContext, Player, ConditionDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.condition.OverloadedManaCrystalsCondition
- isFulfilled(GameContext, Player, ConditionDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.condition.OwnedByPlayerCondition
- isFulfilled(GameContext, Player, ConditionDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.condition.PlayedLastTurnCondition
- isFulfilled(GameContext, Player, ConditionDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.condition.RaceCondition
- isFulfilled(GameContext, Player, ConditionDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.condition.RandomCondition
- isFulfilled(GameContext, Player, ConditionDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.condition.ReservoirCondition
- isFulfilled(GameContext, Player, ConditionDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.condition.StorageContainsCondition
- isFulfilled(GameContext, Player, ConditionDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.condition.SurgeCondition
- isFulfilledForTarget(GameContext, Player, Entity, Entity, TargetPlayer) - Method in class net.demilich.metastone.game.spells.desc.condition.Condition
- isFulfilledForTarget(GameContext, Player, Entity, Entity, TargetPlayer) - Method in class net.demilich.metastone.game.spells.desc.condition.CountCondition
- isFulfilledForTarget(GameContext, Player, Entity, Entity, TargetPlayer) - Method in class net.demilich.metastone.game.spells.desc.condition.OwnedByPlayerCondition
- isFull() - Method in class net.demilich.metastone.game.decks.GameDeck
- isHearthstoneSet(String) - Static method in class net.demilich.metastone.game.cards.CardSet
- isHeroPower() - Method in class net.demilich.metastone.game.cards.Card
- isHuman() - Method in class net.demilich.metastone.game.behaviour.AbstractBehaviour
- isHuman() - Method in interface net.demilich.metastone.game.behaviour.Behaviour
-
Determines whether this behaviour's actions were determined by a human.
- isHuman() - Method in class net.demilich.metastone.game.behaviour.IntelligentBehaviour
- isInFormat(String) - Method in class net.demilich.metastone.game.decks.DeckFormat
- isInFormat(String) - Method in class net.demilich.metastone.game.decks.FixedCardsDeckFormat
- isInFormat(Card) - Method in class net.demilich.metastone.game.decks.DeckFormat
- isInFormat(Card) - Method in class net.demilich.metastone.game.decks.FixedCardsDeckFormat
- isInPlay() - Method in class net.demilich.metastone.game.entities.Entity
-
Indicates that the entity is in play by being in an in-play zone.
- isInterrupted() - Method in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
-
Checks if the bot has timed out or if the thread it is executing on is interrupted.
- isKeepAfterTransform() - Method in class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDesc
-
When
true
, thisEnchantment
should not be removed by aGameLogic.transformMinion(SpellDesc, Entity, Minion, Minion, boolean)
orGameLogic.replaceCard(int, Card, Card)
effect. - isKeptAfterTransform() - Method in class net.demilich.metastone.game.spells.trigger.Enchantment
- isLeaf() - Method in class net.demilich.metastone.game.behaviour.mcts.Node
- isNativeStateful() - Method in class net.demilich.metastone.game.spells.custom.AbstractRepeatMinionsDestroyedSpell
- isNativeStateful() - Method in class net.demilich.metastone.game.spells.Spell
-
Indicates this instance uses Java field memory to maintain state instead of
GameContext
memory like the environment or entities. - isOneTurn() - Method in class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDesc
-
When
true
, indicates the enchantment should only last one turn. - isOverridden() - Method in class net.demilich.metastone.game.logic.GameLogic.TargetResolution
-
Was the target overriden by an effect?
- isOverrideChild() - Method in class net.demilich.metastone.game.actions.GameAction
- isPact() - Method in class net.demilich.metastone.game.spells.trigger.secrets.Quest
-
Pacts are a kind of quest that can be triggered by either player.
- isParallel() - Method in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
-
Indicates whether or not the bot should process / expand nodes in its game state tree expansion using multiple threads.
- isPersistentOwner() - Method in class net.demilich.metastone.game.cards.costmodifier.CardCostModifier
- isPersistentOwner() - Method in class net.demilich.metastone.game.spells.aura.Aura
- isPersistentOwner() - Method in class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDesc
-
When
true
, indicates the owner of the enchantment for the purposes of evaluating theplayer
argument of aSpell.onCast(GameContext, Player, SpellDesc, Entity, Entity)
invocation shouldn't change if the owner of theEnchantment.hostReference
changes. - isPersistentOwner() - Method in class net.demilich.metastone.game.spells.trigger.Enchantment
- isPersistentOwner() - Method in interface net.demilich.metastone.game.spells.trigger.Trigger
-
Indicates this trigger cannot change owners.
- isPowerHistory() - Method in class net.demilich.metastone.game.actions.GameAction
- isPowerHistory() - Method in class net.demilich.metastone.game.events.DestroyWillQueue
- isPowerHistory() - Method in class net.demilich.metastone.game.events.DiscardEvent
- isPowerHistory() - Method in class net.demilich.metastone.game.events.GameEvent
- isPowerHistory() - Method in interface net.demilich.metastone.game.events.Notification
-
When true, indicates to processors of this notification that it belongs in the power history.
- isPowerHistory() - Method in class net.demilich.metastone.game.events.TouchingNotification
- isPowerHistory() - Method in class net.demilich.metastone.game.events.TriggerFired
- isPruneContextStack() - Method in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
-
Indicates whether or not this class should make attempts to prune the "context stack," or game states left to expand, in order to save memory.
- isPruneEarlyEndTurn() - Method in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
-
Indicates if end turns should only be evaluated if they are the only action available
- isQuest() - Method in class net.demilich.metastone.game.cards.Card
-
Returns
true
if this is a quest. - isRarity(Spellsource.RarityMessage.Rarity, Spellsource.RarityMessage.Rarity) - Static method in class net.demilich.metastone.game.logic.GameLogic
-
Compares two rarities, taking into account that a free and common rarity are the same from a gameplay point of view.
- isRecursive(Class<? extends Spell>) - Static method in class net.demilich.metastone.game.spells.SpellUtils
-
Returns
true
if the caller is in a recursive stack - isRemovedPeacefully() - Method in class net.demilich.metastone.game.entities.Entity
-
Is this entity removed peacefully?
- isResolvedOpener() - Method in class net.demilich.metastone.game.events.SummonEvent
- isSecret() - Method in class net.demilich.metastone.game.cards.Card
-
Returns
true
if this card is a secret. - isSourceInPlay() - Method in class net.demilich.metastone.game.spells.SpellUtils.DetermineCastingPlayer
- isSpell() - Method in class net.demilich.metastone.game.cards.Card
- isStandardDeck() - Method in class net.demilich.metastone.game.decks.DeckCreateRequest
- isTargetGroup() - Method in class net.demilich.metastone.game.targeting.EntityReference
-
When
true
, indicates that this entity reference references not to a specificEntity
but to a pointer to an entity, likeEntityReference.SELF
. - isThrowOnInvalidPlan() - Method in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
-
Throws an exception if an invalid plan is encountered.
- isTouched() - Method in class net.demilich.metastone.game.events.TouchingNotification
- isTraceErrors() - Method in class net.demilich.metastone.game.logic.Trace
- isTriggerStartTurns() - Method in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
-
Indicates if start turn effects should be evaluated at the end of the bot's turn.
- isValid() - Method in class net.demilich.metastone.game.decks.DeckCreateRequest
- isWon() - Method in class net.demilich.metastone.game.events.JoustEvent
- isWounded() - Method in class net.demilich.metastone.game.entities.Actor
- iterator() - Method in class net.demilich.metastone.game.cards.CardArrayList
- iterator() - Method in interface net.demilich.metastone.game.cards.CardList
-
Provides support for Java language features that require an
Iterator
J
- JADE_BUFF - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
An attribute that keeps track of how much attack and hitpoints to add to the next Jade Golem that gets summoned.
- JailMinionSpell - Class in net.demilich.metastone.game.spells.custom
-
Destroys the
target
minion, and gives thesource
the aftermath, "Resummon that minion." - JailMinionSpell() - Constructor for class net.demilich.metastone.game.spells.custom.JailMinionSpell
- join(SpellDesc, SpellDesc...) - Static method in class net.demilich.metastone.game.spells.desc.SpellDesc
-
Joins a spell description with another spell using a
MetaSpell
. - JOURNEY_TO_UNGORO - Static variable in class net.demilich.metastone.game.cards.CardSet
- joust(Player, EntityFilter, Entity) - Method in class net.demilich.metastone.game.logic.GameLogic
-
A joust describes when cards are revealed from each player's deck, and the "winner" of a joust is determined by whoever draws a card with a higher
Card.getBaseManaCost()
. - JoustEvent - Class in net.demilich.metastone.game.events
-
A joust event describes which cards were drawn and who won a joust from a point of view of a particular player.
- JoustEvent(GameContext, int, boolean, Card, Card) - Constructor for class net.demilich.metastone.game.events.JoustEvent
- JoustSpell - Class in net.demilich.metastone.game.spells
-
A joust causes both players to show a random card satisfying the
SpellArg.CARD_FILTER
and performs an action if the mana cost of the caster's card is higher than the opponent's card's cost. - JoustSpell() - Constructor for class net.demilich.metastone.game.spells.JoustSpell
K
- keepAfterTransform - Variable in class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDesc
- keepAfterTransform - Variable in class net.demilich.metastone.game.spells.trigger.Enchantment
- KeepersPupilSpell - Class in net.demilich.metastone.game.spells.custom
-
Puts a random secret into play.
- KeepersPupilSpell() - Constructor for class net.demilich.metastone.game.spells.custom.KeepersPupilSpell
- KEEPS_ENCHANTMENTS - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Remembers the
Attribute.ATTACK_BONUS
,Attribute.HP_BONUS
,Attribute.LIFESTEAL
,Attribute.WINDFURY
,Attribute.POISONOUS
that was applied to theActor
that gets subjected to aShuffleToDeckSpell
. - KILLED_MINION - Enum constant in enum class net.demilich.metastone.game.environment.Environment
-
This variable stores the last minion that was killed.
- KILLED_MINION - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
Retrieves a reference to the minion destroyed by a
DestroySpell
. - KillEvent - Class in net.demilich.metastone.game.events
-
A minion was killed.
- KillEvent(GameContext, Entity) - Constructor for class net.demilich.metastone.game.events.KillEvent
- KNIGHTS_OF_THE_FROZEN_THRON - Static variable in class net.demilich.metastone.game.cards.CardSet
- known(GameContext) - Method in class net.demilich.metastone.game.behaviour.TranspositionTable
- KOBOLDS_AND_CATACOMBS - Static variable in class net.demilich.metastone.game.cards.CardSet
L
- LACKEY - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Indicates a minion is part of the "___ Lackey" subset of cards for the Year of the Dragon
- LambdaSpell(LambdaSpellDesc.AbstractLambdaSpell) - Constructor for class net.demilich.metastone.game.spells.desc.LambdaSpellDesc.LambdaSpell
- LambdaSpellDesc - Class in net.demilich.metastone.game.spells.desc
-
Represents a
SpellDesc
created from aLambdaSpellDesc.LambdaSpell
lambda function. - LambdaSpellDesc(LambdaSpellDesc.AbstractLambdaSpell) - Constructor for class net.demilich.metastone.game.spells.desc.LambdaSpellDesc
-
Creates an instance of this class with the specified lambda.
- LambdaSpellDesc.AbstractLambdaSpell - Interface in net.demilich.metastone.game.spells.desc
-
Signature of a spell's
Spell.cast(GameContext, Player, SpellDesc, Entity, List)
method. - LambdaSpellDesc.LambdaSpell - Class in net.demilich.metastone.game.spells.desc
- LAST_CARD_PLAYED - Enum constant in enum class net.demilich.metastone.game.environment.Environment
-
This variable stores a reference to the last card played for each player
- LAST_CARD_PLAYED - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References the last card played by either player.
- LAST_CARD_PLAYED_BEFORE_CURRENT_SEQUENCE - Enum constant in enum class net.demilich.metastone.game.environment.Environment
-
This variable stores a reference to the last card played for each player before the card this attribute is written on.
- LAST_CARD_PLAYED_BEFORE_CURRENT_SEQUENCE - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References the last card played by either player before the end of this current sequence.
- LAST_HEAL - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Records the amount of healing last applied to this
Actor
. - LAST_HIT - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Records the amount of damage last sustained by an
Actor
. - LAST_MANA_COST - Enum constant in enum class net.demilich.metastone.game.environment.Environment
-
This variable stores the mana cost of the last card played.
- LAST_MANA_COST - Enum constant in enum class net.demilich.metastone.game.spells.GameValue
- LAST_MANA_COST - Enum constant in enum class net.demilich.metastone.game.spells.PlayerAttribute
-
The last amount of mana spent on a card by the player.
- LAST_MINION_DESTROYED_CARD_ID - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
- LAST_MINION_DESTROYED_INVENTORY_ID - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
- LAST_SPELL_PLAYED_THIS_TURN - Enum constant in enum class net.demilich.metastone.game.environment.Environment
-
This variable stores a reference to the last spell played by each player this turn.
- LAST_SUMMON_THIS_TURN - Enum constant in enum class net.demilich.metastone.game.environment.Environment
-
This variable stores how many minions have been summoned this turn.
- LAST_TURN - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
This value indicates the turn number of the
Player
's last turn. - LAST_TURN - Enum constant in enum class net.demilich.metastone.game.statistics.Statistic
- LastMinionCardInDeckSpell - Class in net.demilich.metastone.game.spells.custom
-
Casts a
SpellArg.SPELL
on the lastCard
in theSpellsource.ZonesMessage.Zones.DECK
of theSpellArg.TARGET_PLAYER
. - LastMinionCardInDeckSpell() - Constructor for class net.demilich.metastone.game.spells.custom.LastMinionCardInDeckSpell
- LastTurnValueProvider - Class in net.demilich.metastone.game.spells.desc.valueprovider
-
Returns the turn index of the
ValueProviderArg.TARGET_PLAYER
's previous turn. - LastTurnValueProvider(ValueProviderDesc) - Constructor for class net.demilich.metastone.game.spells.desc.valueprovider.LastTurnValueProvider
- latestHearthstoneExpansion() - Static method in class net.demilich.metastone.game.decks.DeckFormat
- LEAGUE_OF_EXPLORERS - Static variable in class net.demilich.metastone.game.cards.CardSet
- LEFT - Enum constant in enum class net.demilich.metastone.game.entities.minions.BoardPositionRelative
- LEFT_ADJACENT_MINION - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References the minion to the left of the
source
of this targeting resolution, or a zero-length list if there isn't one - LEFTMOST_ENEMY_CARD_HAND - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References the card in the enemy player's hand with the lowest index in the enemy player's hand.
- LEFTMOST_ENEMY_MINION - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References the enemy minion whose index in the minions zone is 0.
- LEFTMOST_FRIENDLY_CARD_HAND - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References the card in the friendly player's hand with the lowest index in the friendly player's hand.
- LEFTMOST_FRIENDLY_MINION - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References the friendly minion whose index in the minions zone is 0, which can possibly be the
source
minion. - LEGACY - Enum constant in enum class net.demilich.metastone.game.cards.desc.CardDescArg
- LESS - Enum constant in enum class net.demilich.metastone.game.spells.desc.filter.ComparisonOperation
- LESS_OR_EQUAL - Enum constant in enum class net.demilich.metastone.game.spells.desc.filter.ComparisonOperation
- lethalTimeout - Variable in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
- levy(double, double) - Static method in class net.demilich.metastone.game.utils.MathUtils
- lhs(GameContext, Player, ConditionDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.condition.EntityEqualityCondition
- lhs(GameContext, Player, ConditionDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.condition.EventTargetMatchesReferenceCondition
- LifedrainGrantsArmorInsteadAura - Class in net.demilich.metastone.game.spells.aura
-
When in play, source cards affected by this aura will grant armor instead of lifedrain.
- LifedrainGrantsArmorInsteadAura(AuraDesc) - Constructor for class net.demilich.metastone.game.spells.aura.LifedrainGrantsArmorInsteadAura
- LifedrainHealsAdditionalAura - Class in net.demilich.metastone.game.spells.aura
-
When in play, cards affected by this aura will also give the lifedrain healing bonus to
AuraArg.SECONDARY_TARGET
entities (excluding the entity that normally receives the healing). - LifedrainHealsAdditionalAura(AuraDesc) - Constructor for class net.demilich.metastone.game.spells.aura.LifedrainHealsAdditionalAura
- LIFESTEAL - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
A shorthand implementation of the Lifesteal keyword.
- link(T, T[], Class<? extends T>) - Static method in interface net.demilich.metastone.game.cards.desc.HasEntrySet
- load(String) - Static method in class net.demilich.metastone.game.logic.Trace
- loadAllCards() - Static method in class net.demilich.metastone.game.cards.CardCatalogue
-
Loads all the cards from all classpath resources that are recursively inside the "cards" directory.
- loadAllCards(String) - Static method in class net.demilich.metastone.game.cards.CardCatalogue
-
Loads all the cards from the specified directory.
- loadCards(Collection<ResourceInputStream>) - Static method in class net.demilich.metastone.game.cards.CardCatalogue
-
Loads all the cards from the specified
ResourceInputStream
instances, which can be a mix of files and resources. - loadCardsFromFilesystemDirectories(String...) - Static method in class net.demilich.metastone.game.cards.CardCatalogue
- loadCardsFromPackage() - Static method in class net.demilich.metastone.game.cards.CardCatalogue
-
Loads all the cards specified in the
"cards/src/main/resources" + DEFAULT_CARDS_FOLDER
directory in thecards
module. - loadCardsFromPackage(List<CardResources>) - Static method in class net.demilich.metastone.game.cards.CardCatalogue
-
Loads all the cards from the specified
CardResources
instances. - LOCKED_MANA - Enum constant in enum class net.demilich.metastone.game.spells.PlayerAttribute
-
The current amount of overloaded/locked mana the player has.
- logger - Static variable in class net.demilich.metastone.game.actions.PlayCardAction
- logger - Static variable in class net.demilich.metastone.game.spells.custom.DestroyAllExceptOneAndMindControlSpell
- logger - Static variable in class net.demilich.metastone.game.spells.DestroyAllExceptOneSpell
- logger - Static variable in class net.demilich.metastone.game.spells.DestroySecretsSpell
- logger - Static variable in class net.demilich.metastone.game.spells.DestroySpell
- logger - Static variable in class net.demilich.metastone.game.spells.TransformCardSpell
- LOGGER - Static variable in class net.demilich.metastone.game.logic.GameLogic
- lookup - Variable in class net.demilich.metastone.game.entities.EntityZone
- loseArmor(int) - Method in class net.demilich.metastone.game.statistics.GameStatistics
- loseBothPlayers() - Method in class net.demilich.metastone.game.logic.GameLogic
-
Destroys both player's heroes to force a draw
- LoseDeflectTrigger - Class in net.demilich.metastone.game.spells.trigger
- LoseDeflectTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.LoseDeflectTrigger
- LoseDivineShieldTrigger - Class in net.demilich.metastone.game.spells.trigger
- LoseDivineShieldTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.LoseDivineShieldTrigger
- LoseStealthTrigger - Class in net.demilich.metastone.game.spells.trigger
-
Fires when a
target
loses stealth. - LoseStealthTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.LoseStealthTrigger
- LYNESSA_SUNSORROW_ENTITY_LIST - Enum constant in enum class net.demilich.metastone.game.environment.Environment
-
Deprecated.
M
- MAGENTA - Static variable in class net.demilich.metastone.game.entities.heroes.HeroClass
- MAGNETIC - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Indicates the minion should magnetize when being played left of a mech instead of summoning normally
- magnetize(int, Card, Minion) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Combines two minions together using the rules of magnetization.
- MAGNETS - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
An array of card ID strings that correspond to which cards this card was magnetized from.
- MANA - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
Used by the
CreateCardSpell
to indicate how much the card it creates should cost. - MANA - Enum constant in enum class net.demilich.metastone.game.spells.PlayerAttribute
-
The current amount of mana the player has.
- MANA_COST - Enum constant in enum class net.demilich.metastone.game.spells.desc.filter.EntityFilterArg
- MANA_COST_MODIFIER - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Returns the
Card
'sCardDesc.manaCostModifier
field. - MANA_COST_MODIFIER - Enum constant in enum class net.demilich.metastone.game.cards.desc.CardDescArg
- MANA_SPENT - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Indicates how much Mana the player spent to play the card
- MANA_SPENT - Enum constant in enum class net.demilich.metastone.game.statistics.Statistic
- MANA_SPENT_THIS_TURN - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
On the player entity, specifies how much mana has been spent this turn.
- ManaCostCondition - Class in net.demilich.metastone.game.spells.desc.condition
-
true
if all the targets' modified mana costs (as perGameLogic.getModifiedManaCost(Player, Card)
satisfies theConditionArg.OPERATION
with theConditionArg.VALUE
. - ManaCostCondition(ConditionDesc) - Constructor for class net.demilich.metastone.game.spells.desc.condition.ManaCostCondition
- ManaCostFilter - Class in net.demilich.metastone.game.spells.desc.filter
-
Gets the
target
's in-hand mana cost or its base mana cost, and compares it usingEntityFilterArg.OPERATION
to the valueEntityFilterArg.VALUE
. - ManaCostFilter(EntityFilterDesc) - Constructor for class net.demilich.metastone.game.spells.desc.filter.ManaCostFilter
- ManaCostModifierValueProvider - Class in net.demilich.metastone.game.spells.desc.valueprovider
- ManaCostModifierValueProvider(ValueProviderDesc) - Constructor for class net.demilich.metastone.game.spells.desc.valueprovider.ManaCostModifierValueProvider
- ManaCostProvider - Class in net.demilich.metastone.game.spells.desc.valueprovider
- ManaCostProvider(ValueProviderDesc) - Constructor for class net.demilich.metastone.game.spells.desc.valueprovider.ManaCostProvider
- ManaCrystalToMinionSpell - Class in net.demilich.metastone.game.spells.custom
-
Summon minions based on player's mana crystal count; deduct one mana crystal per minion summoned.
- ManaCrystalToMinionSpell() - Constructor for class net.demilich.metastone.game.spells.custom.ManaCrystalToMinionSpell
- ManaMaxedCondition - Class in net.demilich.metastone.game.spells.desc.condition
-
true
if the player hasGameLogic.MAX_MANA
mana. - ManaMaxedCondition(ConditionDesc) - Constructor for class net.demilich.metastone.game.spells.desc.condition.ManaMaxedCondition
- manaSpent(int) - Method in class net.demilich.metastone.game.statistics.GameStatistics
- markAsDestroyed(Actor, Entity) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Marks an
Actor
as destroyed. - markUsed() - Method in class net.demilich.metastone.game.cards.Card
-
Marks this card as used.
- match(GameContext, Entity, Player) - Method in class net.demilich.metastone.game.spells.desc.source.AftermathsCardSource
- match(GameContext, Entity, Player) - Method in class net.demilich.metastone.game.spells.desc.source.CardSource
-
Overridden by card source implementations to return a list of cards that usually get filtered in an
EntityFilter
. - match(GameContext, Entity, Player) - Method in class net.demilich.metastone.game.spells.desc.source.CatalogueSource
- match(GameContext, Entity, Player) - Method in class net.demilich.metastone.game.spells.desc.source.CombinedSource
- match(GameContext, Entity, Player) - Method in class net.demilich.metastone.game.spells.desc.source.DeckCollectionSource
- match(GameContext, Entity, Player) - Method in class net.demilich.metastone.game.spells.desc.source.DeckSource
- match(GameContext, Entity, Player) - Method in class net.demilich.metastone.game.spells.desc.source.FormatCatalogueSource
- match(GameContext, Entity, Player) - Method in class net.demilich.metastone.game.spells.desc.source.GraveyardActorsSource
- match(GameContext, Entity, Player) - Method in class net.demilich.metastone.game.spells.desc.source.GraveyardCardAndActorSourceCardSource
- match(GameContext, Entity, Player) - Method in class net.demilich.metastone.game.spells.desc.source.GraveyardCardsSource
- match(GameContext, Entity, Player) - Method in class net.demilich.metastone.game.spells.desc.source.GraveyardDiedMinionsSource
- match(GameContext, Entity, Player) - Method in class net.demilich.metastone.game.spells.desc.source.HandSource
- match(GameContext, Entity, Player) - Method in class net.demilich.metastone.game.spells.desc.source.MinionsSource
- match(GameContext, Entity, Player) - Method in class net.demilich.metastone.game.spells.desc.source.SecretSource
- match(GameContext, Entity, Player) - Method in class net.demilich.metastone.game.spells.desc.source.ShuffledCardsSource
- match(GameContext, Entity, Player) - Method in class net.demilich.metastone.game.spells.desc.source.StoredEntitiesSource
- match(GameContext, Entity, Player) - Method in class net.demilich.metastone.game.spells.desc.source.SummonWithoutReplacementCardSource
- match(GameContext, Entity, Player) - Method in class net.demilich.metastone.game.spells.desc.source.TopCardsOfDeckSource
- match(GameContext, Entity, Player) - Method in class net.demilich.metastone.game.spells.desc.source.UncollectibleCatalogueSource
- match(GameContext, Entity, Player) - Method in class net.demilich.metastone.game.spells.desc.source.UngoroPackRarityWeightedCardSource
- match(GameContext, Entity, Player) - Method in class net.demilich.metastone.game.spells.desc.source.UnweightedCatalogueSource
- match(GameContext, Entity, Player, Predicate<Card>, int, boolean) - Method in class net.demilich.metastone.game.spells.desc.source.CardSource
-
Provides cards performantly, on demand, without having to iterate through the entire card catalogue for many kinds of sources.
- matcher(GameContext, Player, Entity) - Method in class net.demilich.metastone.game.spells.desc.filter.EntityFilter
- matches(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.filter.EntityFilter
-
A method that calls the subclass's
EntityFilter.test(GameContext, Player, Entity, Entity)
implementation that determines whether or not a givenentity
matches the filter. - matches(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.valueprovider.EntityCountValueProvider
- MathUtils - Class in net.demilich.metastone.game.utils
- MAX - Enum constant in enum class net.demilich.metastone.game.spells.desc.valueprovider.ValueProviderArg
- MAX_AFTERMATHS - Static variable in class net.demilich.metastone.game.logic.GameLogic
-
The maximum number of aftermath enchantments that can be added to an actor.
- MAX_ATTACKS - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
A virtual attribute that will call
Entity.getMaxNumberOfAttacks()
and return it. - MAX_DECK_SIZE - Static variable in class net.demilich.metastone.game.logic.GameLogic
-
The maximum number of
Card
entities that can be in aSpellsource.ZonesMessage.Zones.DECK
zone. - MAX_FIRES - Enum constant in enum class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDescArg
- MAX_FIRES_PER_SEQUENCE - Enum constant in enum class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDescArg
- MAX_HAND_CARDS - Static variable in class net.demilich.metastone.game.logic.GameLogic
-
The maximum number of
Card
entities that can be in aSpellsource.ZonesMessage.Zones.HAND
. - MAX_HERO_HP - Static variable in class net.demilich.metastone.game.logic.GameLogic
-
The default maximum
Attribute.HP
aHero
can have. - MAX_HP - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
The maximum number of hitpoints the
Actor
can have. - MAX_HP - Enum constant in enum class net.demilich.metastone.game.cards.CardDescType
- MAX_MANA - Enum constant in enum class net.demilich.metastone.game.spells.PlayerAttribute
-
The number of mana crystals the player has.
- MAX_MANA - Static variable in class net.demilich.metastone.game.logic.GameLogic
-
The maximum amount of mana a
Player
can have at the start of a turn. - MAX_MINIONS - Static variable in class net.demilich.metastone.game.logic.GameLogic
-
The maximum number of
Minion
entities that can be on aSpellsource.ZonesMessage.Zones.BATTLEFIELD
. - MAX_PROGRAM_COUNTER - Static variable in class net.demilich.metastone.game.logic.GameLogic
-
Represents the maximum number of spells that can be evaluated by the game logic since the start of performing a game action.
- MAX_QUESTS - Static variable in class net.demilich.metastone.game.logic.GameLogic
-
The maximum number of
Quest
entities that can be in aSpellsource.ZonesMessage.Zones.QUEST
. - MAX_SECRETS - Static variable in class net.demilich.metastone.game.logic.GameLogic
-
The maximum number of
Secret
entities that can be in aSpellsource.ZonesMessage.Zones.SECRET
. - MaxBoardSizeValueProvider - Class in net.demilich.metastone.game.spells.desc.valueprovider
-
Returns the maximum board size in this rule set.
- MaxBoardSizeValueProvider(ValueProviderDesc) - Constructor for class net.demilich.metastone.game.spells.desc.valueprovider.MaxBoardSizeValueProvider
- maxDepth - Variable in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
- maxFires - Variable in class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDesc
- maxFiresPerSequence - Variable in class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDesc
- maxFiresPerSequence - Variable in class net.demilich.metastone.game.spells.trigger.Enchantment
- MaxHpIncreasedEvent - Class in net.demilich.metastone.game.events
-
Attribute.MAX_HP
was increased. - MaxHpIncreasedEvent(GameContext, Entity, int, int) - Constructor for class net.demilich.metastone.game.events.MaxHpIncreasedEvent
- MaxHpIncreasedTrigger - Class in net.demilich.metastone.game.spells.trigger
-
Fires whenever the matching entity's
Attribute.MAX_HP
is increased via theGameLogic.setHpAndMaxHp(Actor, int)
effect. - MaxHpIncreasedTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.MaxHpIncreasedTrigger
- MAXIMUM - Enum constant in enum class net.demilich.metastone.game.spells.desc.valueprovider.AlgebraicOperation
- MaxManaChangedEvent - Class in net.demilich.metastone.game.events
-
The maximum amount of Lun the player has increased.
- MaxManaChangedEvent(GameContext, int, int) - Constructor for class net.demilich.metastone.game.events.MaxManaChangedEvent
- MaxManaChangedTrigger - Class in net.demilich.metastone.game.spells.trigger
- MaxManaChangedTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.MaxManaChangedTrigger
- MEAN_STREETS_OF_GADGETZAN - Static variable in class net.demilich.metastone.game.cards.CardSet
- MEGA_WINDFURY - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
An
Actor
withAttribute.MEGA_WINDFURY
has four attacks per turn. - MEGA_WINDFURY_ATTACKS - Static variable in class net.demilich.metastone.game.logic.GameLogic
-
The number of attacks gained by
Attribute.MEGA_WINDFURY
. - MenagerieMogulAura - Class in net.demilich.metastone.game.spells.aura
-
Modifies
Race.hasRace(GameContext, Entity, String)
calls to behave as though the entity being compared (typically the left hand side of the comparison) is also every race specified inAuraArg.RACES
. - MenagerieMogulAura(AuraDesc) - Constructor for class net.demilich.metastone.game.spells.aura.MenagerieMogulAura
- merge(GameStatistics) - Method in class net.demilich.metastone.game.statistics.GameStatistics
- merge(SimulationResult) - Method in class net.demilich.metastone.game.statistics.SimulationResult
- MergeSpell - Class in net.demilich.metastone.game.spells.custom
- MergeSpell() - Constructor for class net.demilich.metastone.game.spells.custom.MergeSpell
- MetaDescription - Class in net.demilich.metastone.game.cards.dynamicdescription
-
Concatenates the strings and
DynamicDescription
objects specified in itsDynamicDescriptionArg.DESCRIPTIONS
array. - MetaDescription(DynamicDescriptionDesc) - Constructor for class net.demilich.metastone.game.cards.dynamicdescription.MetaDescription
- MetaHero - Class in net.demilich.metastone.game.entities.heroes
- MetaHero() - Constructor for class net.demilich.metastone.game.entities.heroes.MetaHero
- MetaSpell - Class in net.demilich.metastone.game.spells
-
A class that defines a collection of spells that should be executed one after another in the
SpellArg.SPELLS
argument. - MetaSpell() - Constructor for class net.demilich.metastone.game.spells.MetaSpell
- MIN - Enum constant in enum class net.demilich.metastone.game.spells.desc.valueprovider.ValueProviderArg
- MIN_VALUE - Enum constant in enum class net.demilich.metastone.game.spells.desc.manamodifier.CardCostModifierArg
-
Specifies the minimum value that the
CardCostModifier
can reduce the cost to. - mindControl(Player, Minion, Entity) - Method in class net.demilich.metastone.game.logic.GameLogic
- MindControlOneTurnSpell - Class in net.demilich.metastone.game.spells.custom
- MindControlOneTurnSpell() - Constructor for class net.demilich.metastone.game.spells.custom.MindControlOneTurnSpell
- MindControlSpell - Class in net.demilich.metastone.game.spells
-
Takes control of a
target
, changing its owner to the caster. - MindControlSpell() - Constructor for class net.demilich.metastone.game.spells.MindControlSpell
- minFreeMemory - Variable in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
- MINIMUM - Enum constant in enum class net.demilich.metastone.game.spells.desc.valueprovider.AlgebraicOperation
- minion() - Method in class net.demilich.metastone.game.cards.Card
-
Creates a minion from the attributes written on the card.
- Minion - Class in net.demilich.metastone.game.entities.minions
- Minion(Card) - Constructor for class net.demilich.metastone.game.entities.minions.Minion
- MINION_ATTACK_FACTOR - Enum constant in enum class net.demilich.metastone.game.behaviour.heuristic.WeightedFeature
- MINION_DEFAULT_TAUNT_MODIFIER - Enum constant in enum class net.demilich.metastone.game.behaviour.heuristic.WeightedFeature
- MINION_DIVINE_SHIELD_MODIFIER - Enum constant in enum class net.demilich.metastone.game.behaviour.heuristic.WeightedFeature
- MINION_HP_FACTOR - Enum constant in enum class net.demilich.metastone.game.behaviour.heuristic.WeightedFeature
- MINION_INTRINSIC_VALUE - Enum constant in enum class net.demilich.metastone.game.behaviour.heuristic.WeightedFeature
- MINION_RED_TAUNT_MODIFIER - Enum constant in enum class net.demilich.metastone.game.behaviour.heuristic.WeightedFeature
- MINION_SPELL_POWER_MODIFIER - Enum constant in enum class net.demilich.metastone.game.behaviour.heuristic.WeightedFeature
- MINION_STEALTHED_MODIFIER - Enum constant in enum class net.demilich.metastone.game.behaviour.heuristic.WeightedFeature
- MINION_UNTARGETABLE_BY_SPELLS_MODIFIER - Enum constant in enum class net.demilich.metastone.game.behaviour.heuristic.WeightedFeature
- MINION_WINDFURY_MODIFIER - Enum constant in enum class net.demilich.metastone.game.behaviour.heuristic.WeightedFeature
- MINION_YELLOW_TAUNT_MODIFIER - Enum constant in enum class net.demilich.metastone.game.behaviour.heuristic.WeightedFeature
- MinionCountCondition - Class in net.demilich.metastone.game.spells.desc.condition
-
true
if the minion count with the specifiedConditionArg.FILTER
orConditionArg.CARD_FILTER
evaluates to true with the specifiedConditionArg.OPERATION
andConditionArg.VALUE
. - MinionCountCondition(ConditionDesc) - Constructor for class net.demilich.metastone.game.spells.desc.condition.MinionCountCondition
- MinionDeathTrigger - Class in net.demilich.metastone.game.spells.trigger
-
A trigger that fires whenever a minion dies.
- MinionDeathTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.MinionDeathTrigger
- MinionOnBoardCondition - Class in net.demilich.metastone.game.spells.desc.condition
-
true
if there are at leastConditionArg.VALUE
of theplayer
's minions that satisfy theConditionArg.CARD_FILTER
- MinionOnBoardCondition(ConditionDesc) - Constructor for class net.demilich.metastone.game.spells.desc.condition.MinionOnBoardCondition
- MinionPlayedTrigger - Class in net.demilich.metastone.game.spells.trigger
- MinionPlayedTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.MinionPlayedTrigger
- MINIONS - Enum constant in enum class net.demilich.metastone.game.targeting.TargetSelection
- MINIONS_COST_HEALTH - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
When any
Entity
has this attribute in play, minions cost health instead of mana. - MINIONS_PLAYED - Enum constant in enum class net.demilich.metastone.game.statistics.Statistic
- MINIONS_SUMMONED_THIS_TURN - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Every time a
Player
successfully summons a minion, this counter is incremented on the summoning player. - MINIONS_TO_LEFT - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References the minions with an index less than the
source
minion. - MINIONS_TO_RIGHT - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References the minions with an index greater than the
source
minion. - minionsDestroyed - Variable in class net.demilich.metastone.game.spells.custom.AbstractRepeatMinionsDestroyedSpell
- MinionsSource - Class in net.demilich.metastone.game.spells.desc.source
-
Returns the list of source cards for the minions on the battlefield of the
CardSourceArg.TARGET_PLAYER
. - MinionsSource(CardSourceDesc) - Constructor for class net.demilich.metastone.game.spells.desc.source.MinionsSource
- minionSummoned(Minion) - Method in class net.demilich.metastone.game.statistics.GameStatistics
- MinionSummonedTrigger - Class in net.demilich.metastone.game.spells.trigger
-
Fires whenever a minion is summoned.
- MinionSummonedTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.MinionSummonedTrigger
- MinionSummonValueProvider - Class in net.demilich.metastone.game.spells.desc.valueprovider
- MinionSummonValueProvider(ValueProviderDesc) - Constructor for class net.demilich.metastone.game.spells.desc.valueprovider.MinionSummonValueProvider
- MisdirectSpell - Class in net.demilich.metastone.game.spells
-
Misdirection overrides the
EntityReference.ATTACKER
's current target to another random target withinSpellArg.SECONDARY_TARGET
. - MisdirectSpell() - Constructor for class net.demilich.metastone.game.spells.MisdirectSpell
- MissileFired - Class in net.demilich.metastone.game.events
-
An effect causes a missile to be fired.
- MissileFired(GameContext, int, Entity, List<Entity>) - Constructor for class net.demilich.metastone.game.events.MissileFired
- MissilesSpell - Class in net.demilich.metastone.game.spells
-
This spell casts
SpellArg.HOW_MANY
missiles, each dealingSpellArg.VALUE
damage (with spell damage) to random targets. - MissilesSpell() - Constructor for class net.demilich.metastone.game.spells.MissilesSpell
- modifyArmor(int) - Method in class net.demilich.metastone.game.entities.heroes.Hero
-
Changes the amount of armor the hero has.
- modifyAttribute(Attribute, int) - Method in class net.demilich.metastone.game.entities.Entity
- ModifyAttributeSpell - Class in net.demilich.metastone.game.spells
-
Increments (or decrements, if negative) by
SpellArg.VALUE
theSpellArg.ATTRIBUTE
on the giventarget
. - ModifyAttributeSpell() - Constructor for class net.demilich.metastone.game.spells.ModifyAttributeSpell
- modifyAuraHpBonus(int) - Method in class net.demilich.metastone.game.entities.Actor
- ModifyBuffSpellAura - Class in net.demilich.metastone.game.spells.aura
-
Modifies the target card's
BuffSpell
bonuses with the specifiedAuraArg.ATTACK_BONUS
andAuraArg.HP_BONUS
effects. - ModifyBuffSpellAura(AuraDesc) - Constructor for class net.demilich.metastone.game.spells.aura.ModifyBuffSpellAura
- modifyCurrentMana(int, int, boolean) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Modifies the current mana that the player has.
- ModifyCurrentManaEvent - Class in net.demilich.metastone.game.events
-
Lun has been gained or lost.
- ModifyCurrentManaEvent(GameContext, int, int) - Constructor for class net.demilich.metastone.game.events.ModifyCurrentManaEvent
- ModifyCurrentManaTrigger - Class in net.demilich.metastone.game.spells.trigger
- ModifyCurrentManaTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.ModifyCurrentManaTrigger
- ModifyDamageSpell - Class in net.demilich.metastone.game.spells
-
Modifies the amount of damage that is currently about to be dealt.
- ModifyDamageSpell() - Constructor for class net.demilich.metastone.game.spells.ModifyDamageSpell
- modifyDurability(Weapon, int) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Modifies the durability (hitpoints) of a weapon.
- ModifyDurabilitySpell - Class in net.demilich.metastone.game.spells
-
Modifies the durability of a weapon regardless of which weapon is equipped.
- ModifyDurabilitySpell() - Constructor for class net.demilich.metastone.game.spells.ModifyDurabilitySpell
- modifyEnchantment(Enchantment) - Method in class net.demilich.metastone.game.spells.AbstractModifyEnchantmentSpell
- modifyEnchantment(Enchantment) - Method in class net.demilich.metastone.game.spells.ActivateEnchantmentSpell
- modifyEnchantment(Enchantment) - Method in class net.demilich.metastone.game.spells.DeactivateEnchantmentSpell
- modifyHpBonus(int) - Method in class net.demilich.metastone.game.entities.Actor
- modifyHpBonus(int) - Method in class net.demilich.metastone.game.entities.Entity
-
Modifies the HP bonus for the given entity.
- modifyHpSpell(Entity, Entity, int) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Modifies the
target
entity's HP, firing theMaxHpIncreasedEvent
and incrementing its - modifyMaxMana(Player, int) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Increment or decrement the
Player.getMaxMana()
property of aPlayer
- ModifyMaxManaSpell - Class in net.demilich.metastone.game.spells
-
Adds or destroys
SpellArg.VALUE
mana crystals. - ModifyMaxManaSpell() - Constructor for class net.demilich.metastone.game.spells.ModifyMaxManaSpell
- ModifyTemporaryAttackSpellAura - Class in net.demilich.metastone.game.spells.aura
-
Whenever a card affected by this aura has a
TemporaryAttackSpell
effect, the value of temporary attack is increased by theAuraArg.VALUE
. - ModifyTemporaryAttackSpellAura(AuraDesc) - Constructor for class net.demilich.metastone.game.spells.aura.ModifyTemporaryAttackSpellAura
- ModifyWitherAttributeSpell - Class in net.demilich.metastone.game.spells
-
Gives a minion
Attribute.WITHER
and the appropriate trigger if it does not already have it. - ModifyWitherAttributeSpell() - Constructor for class net.demilich.metastone.game.spells.ModifyWitherAttributeSpell
- MODULO - Enum constant in enum class net.demilich.metastone.game.spells.desc.valueprovider.AlgebraicOperation
- MonteCarloTreeSearchBehaviour - Class in net.demilich.metastone.game.behaviour.mcts
-
An experimental implementation of a Monte Carlo Tree Search behaviour.
- MonteCarloTreeSearchBehaviour() - Constructor for class net.demilich.metastone.game.behaviour.mcts.MonteCarloTreeSearchBehaviour
- move(int, EntityZone, int) - Method in class net.demilich.metastone.game.entities.EntityZone
- move(Entity, EntityZone) - Method in class net.demilich.metastone.game.entities.EntityZone
- moveCopyToDestination(GameContext, Player, Entity, Card) - Method in class net.demilich.metastone.game.spells.ReturnToHandWithEnchantmentsSpell
- moveCopyToDestination(GameContext, Player, Entity, Card) - Method in class net.demilich.metastone.game.spells.ShuffleToDeckWithEnchantmentsSpell
- moveOrAddTo(GameContext, Spellsource.ZonesMessage.Zones) - Method in class net.demilich.metastone.game.entities.Entity
-
Moves this entity to a new zone (
Spellsource.ZonesMessage.Zones
) belonging to thePlayer
indexed byEntity.getOwner()
. - moveOrAddTo(GameContext, Spellsource.ZonesMessage.Zones, int) - Method in class net.demilich.metastone.game.entities.Entity
-
Moves this entity to a new zone (
Spellsource.ZonesMessage.Zones
) belonging to thePlayer
indexed byEntity.getOwner()
. - mulligan(GameContext, Player, List<Card>) - Method in interface net.demilich.metastone.game.behaviour.Behaviour
-
Use the provided context, player and first hand cards to determine which cards to discard during a mulligan phase.
- mulligan(GameContext, Player, List<Card>) - Method in class net.demilich.metastone.game.behaviour.ChooseLastBehaviour
- mulligan(GameContext, Player, List<Card>) - Method in class net.demilich.metastone.game.behaviour.FlatMonteCarloBehaviour
- mulligan(GameContext, Player, List<Card>) - Method in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
-
Mulligans for cards, preferring to create an on-curve starting hand.
- mulligan(GameContext, Player, List<Card>) - Method in class net.demilich.metastone.game.behaviour.GreedyOptimizeTurn
- mulligan(GameContext, Player, List<Card>) - Method in class net.demilich.metastone.game.behaviour.IntelligentBehaviour
- mulligan(GameContext, Player, List<Card>) - Method in class net.demilich.metastone.game.behaviour.mcts.MonteCarloTreeSearchBehaviour
- mulligan(GameContext, Player, List<Card>) - Method in class net.demilich.metastone.game.behaviour.PlayRandomBehaviour
- mulligan(GameContext, Player, List<Card>) - Method in class net.demilich.metastone.game.behaviour.RequestActionFunction
- mulliganAsync(GameContext, Player, List<Card>, Consumer<List<Card>>) - Method in class net.demilich.metastone.game.behaviour.AbstractBehaviour
- mulliganAsync(GameContext, Player, List<Card>, Consumer<List<Card>>) - Method in interface net.demilich.metastone.game.behaviour.Behaviour
-
Asynchronously request a mulligan.
- MulliganTrace - Class in net.demilich.metastone.game.logic
-
Contains data about the player's mulligan required to reproduce their mulligan exactly.
- MulliganTrace() - Constructor for class net.demilich.metastone.game.logic.MulliganTrace
- multipleTargetsEvaluatedAsAnd() - Method in class net.demilich.metastone.game.spells.desc.condition.AllMatchFilterCondition
- multipleTargetsEvaluatedAsAnd() - Method in class net.demilich.metastone.game.spells.desc.condition.AllModuloValueEqualsZeroCondition
- multipleTargetsEvaluatedAsAnd() - Method in class net.demilich.metastone.game.spells.desc.condition.AnyMatchFilterCondition
- multipleTargetsEvaluatedAsAnd() - Method in class net.demilich.metastone.game.spells.desc.condition.Condition
-
When
Condition.targetConditionArgOverridesSuppliedTarget()
istrue
, the result of the condition on each of the resolved targets isand
-ed if this istrue
. - multipleTargetsEvaluatedAsAnd() - Method in class net.demilich.metastone.game.spells.desc.condition.HasAttackedCondition
- multipleTargetsEvaluatedAsAnd() - Method in class net.demilich.metastone.game.spells.desc.condition.ManaCostCondition
- multipleTargetsEvaluatedAsAnd() - Method in class net.demilich.metastone.game.spells.desc.condition.OrCondition
- multipleTargetsEvaluatedAsAnd() - Method in class net.demilich.metastone.game.spells.desc.condition.StorageContainsCondition
- multipleTargetsEvaluatedAsOr() - Method in class net.demilich.metastone.game.spells.desc.condition.AllMatchFilterCondition
- multipleTargetsEvaluatedAsOr() - Method in class net.demilich.metastone.game.spells.desc.condition.AllModuloValueEqualsZeroCondition
- multipleTargetsEvaluatedAsOr() - Method in class net.demilich.metastone.game.spells.desc.condition.AnyMatchFilterCondition
- multipleTargetsEvaluatedAsOr() - Method in class net.demilich.metastone.game.spells.desc.condition.Condition
-
When
Condition.targetConditionArgOverridesSuppliedTarget()
istrue
, the result of the condition on each of the resolved targets isor
-ed if this istrue
. - multipleTargetsEvaluatedAsOr() - Method in class net.demilich.metastone.game.spells.desc.condition.HasAttackedCondition
- multipleTargetsEvaluatedAsOr() - Method in class net.demilich.metastone.game.spells.desc.condition.ManaCostCondition
- multipleTargetsEvaluatedAsOr() - Method in class net.demilich.metastone.game.spells.desc.condition.OrCondition
- multipleTargetsEvaluatedAsOr() - Method in class net.demilich.metastone.game.spells.desc.condition.StorageContainsCondition
- MULTIPLIER - Enum constant in enum class net.demilich.metastone.game.spells.desc.valueprovider.ValueProviderArg
- MULTIPLY - Enum constant in enum class net.demilich.metastone.game.spells.desc.valueprovider.AlgebraicOperation
- MultiTargetSpell - Class in net.demilich.metastone.game.spells
-
Casts
SpellArg.SPELL
on a random target from the list of targets inSpellArg.TARGET
at mostSpellArg.VALUE
times or until random targets are exhausted, whichever comes first. - MultiTargetSpell() - Constructor for class net.demilich.metastone.game.spells.MultiTargetSpell
- MURLOC - Static variable in class net.demilich.metastone.game.entities.minions.Race
- MURLOCS_COST_HEALTH - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
N
- name - Variable in class net.demilich.metastone.game.entities.Entity
- name - Variable in class net.demilich.metastone.game.spells.desc.OpenerDesc
- name - Variable in class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDesc
- NAME - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Overrides the name of the
Entity
- NAME - Enum constant in enum class net.demilich.metastone.game.cards.desc.CardDescArg
- NAME - Enum constant in enum class net.demilich.metastone.game.spells.desc.aura.AuraArg
- NAME - Enum constant in enum class net.demilich.metastone.game.spells.desc.BattlecryDescArg
- NAME - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
Used by various spells to put a name on a card or to change the name of a target card.
- NAME - Enum constant in enum class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDescArg
- NAME_MAX_LENGTH - Static variable in class net.demilich.metastone.game.decks.DeckCreateRequest
-
The maximum number of characters that can be specified in a name.
- nameSuffix - Variable in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
- NAVY - Static variable in class net.demilich.metastone.game.entities.heroes.HeroClass
- NAXXRAMAS - Static variable in class net.demilich.metastone.game.cards.CardSet
- NEGATE - Enum constant in enum class net.demilich.metastone.game.spells.desc.valueprovider.AlgebraicOperation
- net.demilich.metastone.game - package net.demilich.metastone.game
-
The core engine code for Spellsource.
- net.demilich.metastone.game.actions - package net.demilich.metastone.game.actions
-
Game actions are things players can do.
- net.demilich.metastone.game.behaviour - package net.demilich.metastone.game.behaviour
-
Behaviours describe how a player should respond to events in the game.
- net.demilich.metastone.game.behaviour.heuristic - package net.demilich.metastone.game.behaviour.heuristic
-
The features and the heuristic used to evaluate game states.
- net.demilich.metastone.game.behaviour.mcts - package net.demilich.metastone.game.behaviour.mcts
-
An incomplete Monte Carlo Tree Search based implementation of a behaviour.
- net.demilich.metastone.game.cards - package net.demilich.metastone.game.cards
-
Cards contains important enums, deserialization code, the card catalogue and the card entity.
- net.demilich.metastone.game.cards.costmodifier - package net.demilich.metastone.game.cards.costmodifier
-
Card cost modifiers change the cost of specific or multiple cards, living on the player entity, on a card or an in-play entity.
- net.demilich.metastone.game.cards.desc - package net.demilich.metastone.game.cards.desc
-
This package contains classes that help deserialize the card JSON into objects.
- net.demilich.metastone.game.cards.dynamicdescription - package net.demilich.metastone.game.cards.dynamicdescription
-
Dynamic descriptions on cards allow values to be embedded into a card's description text.
- net.demilich.metastone.game.decks - package net.demilich.metastone.game.decks
-
Decks contains code to define a collection of cards for play.
- net.demilich.metastone.game.decks.validation - package net.demilich.metastone.game.decks.validation
-
This package has various deck validation functions.
- net.demilich.metastone.game.entities - package net.demilich.metastone.game.entities
-
Entities are the various classes that live inside a match, like a card, hero, minion, and weapon.
- net.demilich.metastone.game.entities.heroes - package net.demilich.metastone.game.entities.heroes
-
Hero entity related code.
- net.demilich.metastone.game.entities.minions - package net.demilich.metastone.game.entities.minions
-
Minion entity related code.
- net.demilich.metastone.game.entities.weapons - package net.demilich.metastone.game.entities.weapons
-
Weapon entity related code.
- net.demilich.metastone.game.environment - package net.demilich.metastone.game.environment
-
The environment holds ephemeral data (variables) during the course of a game.
- net.demilich.metastone.game.events - package net.demilich.metastone.game.events
-
Events correspond to things that happen inside the game that other rules can react to.
- net.demilich.metastone.game.logic - package net.demilich.metastone.game.logic
-
This package contains the game logic, the rules of the game of Spellsource.
- net.demilich.metastone.game.services - package net.demilich.metastone.game.services
-
Interfaces for multiplayer cross-context gameplay.
- net.demilich.metastone.game.spells - package net.demilich.metastone.game.spells
-
Spells contain all the functional pieces of the card JSON (Click on description to learn more about how to use this).
- net.demilich.metastone.game.spells.aura - package net.demilich.metastone.game.spells.aura
-
Code related to auras.
- net.demilich.metastone.game.spells.custom - package net.demilich.metastone.game.spells.custom
-
Custom spells that are used to implement game effects that are too complex for card JSON.
- net.demilich.metastone.game.spells.desc - package net.demilich.metastone.game.spells.desc
-
Subcomponents of a spell that help implement functionality like filtering cards and retrieving values.
- net.demilich.metastone.game.spells.desc.aura - package net.demilich.metastone.game.spells.desc.aura
-
Aura deserialization code.
- net.demilich.metastone.game.spells.desc.condition - package net.demilich.metastone.game.spells.desc.condition
-
Conditions encode a true or false evaluation of a piece of game state.
- net.demilich.metastone.game.spells.desc.filter - package net.demilich.metastone.game.spells.desc.filter
-
Filters include/exclude targets from a list of entities generated by an entity reference or a card source.
- net.demilich.metastone.game.spells.desc.manamodifier - package net.demilich.metastone.game.spells.desc.manamodifier
-
Card cost modification deserialization code.
- net.demilich.metastone.game.spells.desc.source - package net.demilich.metastone.game.spells.desc.source
-
Card sources generate lists of cards.
- net.demilich.metastone.game.spells.desc.trigger - package net.demilich.metastone.game.spells.desc.trigger
-
Trigger and enchantment deserialization code.
- net.demilich.metastone.game.spells.desc.valueprovider - package net.demilich.metastone.game.spells.desc.valueprovider
-
Value providers read the game state and provide values for spells, conditions, filters, etc.
- net.demilich.metastone.game.spells.trigger - package net.demilich.metastone.game.spells.trigger
-
This package contains all the classes that react to game events.
- net.demilich.metastone.game.spells.trigger.secrets - package net.demilich.metastone.game.spells.trigger.secrets
-
The secret and quest entity code.
- net.demilich.metastone.game.statistics - package net.demilich.metastone.game.statistics
-
This package collects statistics about the game as it plays out.
- net.demilich.metastone.game.targeting - package net.demilich.metastone.game.targeting
-
Targeting contains the types used to describe various targets of effects.
- net.demilich.metastone.game.utils - package net.demilich.metastone.game.utils
-
Various utility classes for doing math and loading resources.
- NEVER_MULLIGANS - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
When
true
, indicates this card never appears in a mulligan. - next(int) - Method in class net.demilich.metastone.game.logic.XORShiftRandom
- NO_OWNER - Static variable in class net.demilich.metastone.game.entities.Entity
-
The value for the
Entity.ownerIndex
when no owner has been assigned. - Node - Class in net.demilich.metastone.game.behaviour.mcts
-
A node in the Monte Carlo Tree Search tree.
- Node(GameAction, int) - Constructor for class net.demilich.metastone.game.behaviour.mcts.Node
- NoggenfoggerAura - Class in net.demilich.metastone.game.spells.aura
-
Noggenfogger auras override the target acquisitions of both players whenever
NoggenfoggerAura.getValidTargets(GameContext, TargetAcquisitionEvent)
returns a non-empty list of entities. - NoggenfoggerAura(AuraDesc) - Constructor for class net.demilich.metastone.game.spells.aura.NoggenfoggerAura
- NonDrainDamageReceivedTrigger - Class in net.demilich.metastone.game.spells.trigger
- NonDrainDamageReceivedTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.NonDrainDamageReceivedTrigger
- NONE - Enum constant in enum class net.demilich.metastone.game.cards.ChooseOneOverride
- NONE - Enum constant in enum class net.demilich.metastone.game.targeting.TargetSelection
- NONE - Static variable in class net.demilich.metastone.game.actions.OpenerAction
- NONE - Static variable in class net.demilich.metastone.game.entities.minions.Race
- NONE - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
Indicates a spell should take no target.
- NonFatigueDamageCausedTrigger - Class in net.demilich.metastone.game.spells.trigger
-
Triggers as damage caused only if the damage is not fatigue damage.
- NonFatigueDamageCausedTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.NonFatigueDamageCausedTrigger
- NOT_STARTED - Enum constant in enum class com.hiddenswitch.spellsource.draft.DraftStatus
-
The draft has not yet started (default state).
- notApplied(Entity) - Method in class net.demilich.metastone.game.spells.aura.AttributeAura
- notApplied(Entity) - Method in class net.demilich.metastone.game.spells.aura.Aura
- notApplied(Entity) - Method in class net.demilich.metastone.game.spells.aura.CardAura
- Notification - Interface in net.demilich.metastone.game.events
-
Represents a general notification from inside the
GameLogic
that theGameContext
or players might be interested in. - notifyDraftState(PublicDraftState) - Method in interface com.hiddenswitch.spellsource.draft.DraftBehaviour
-
Notifies the behaviour of the current public draft state as soon as it changes.
- notifyDraftState(PublicDraftState) - Method in class com.hiddenswitch.spellsource.draft.NullDraftBehaviour
- notifyDraftStateAsync(PublicDraftState, Handler<AsyncResult<Void>>) - Method in interface com.hiddenswitch.spellsource.draft.DraftBehaviour
-
Notifies the behaviour of the current public draft state as soon as it changes, and receives a callback when the client has acknowledged receipt of the data.
- notifyDraftStateAsync(PublicDraftState, Handler<AsyncResult<Void>>) - Method in class com.hiddenswitch.spellsource.draft.NullDraftBehaviour
- notifyPlayersGameOver() - Method in class net.demilich.metastone.game.GameContext
- notifyPublicStateChanged() - Method in class com.hiddenswitch.spellsource.draft.DraftContext
- NullDraftBehaviour - Class in com.hiddenswitch.spellsource.draft
-
A behaviour which makes no choices, so its reply handlers are never called.
- NullDraftBehaviour() - Constructor for class com.hiddenswitch.spellsource.draft.NullDraftBehaviour
- NullFilter - Class in net.demilich.metastone.game.spells.desc.filter
- NullSpell - Class in net.demilich.metastone.game.spells
-
A spell that has no effects.
- NullSpell() - Constructor for class net.demilich.metastone.game.spells.NullSpell
- NullTrigger - Class in net.demilich.metastone.game.spells.trigger
- NullTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.NullTrigger
- NUMBER_OF_ATTACKS - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
An attribute that tracks the number of attacks the
Actor
has this turn. - NumberOfCopiesCondition - Class in net.demilich.metastone.game.spells.desc.condition
-
Evaluates to
true
when the number of distinct card IDs in theConditionArg.TARGET
when filtered byConditionArg.FILTER
passes theConditionArg.OPERATION
withConditionArg.VALUE
. - NumberOfCopiesCondition(ConditionDesc) - Constructor for class net.demilich.metastone.game.spells.desc.condition.NumberOfCopiesCondition
O
- observesLethal(GameContext, int, Actor) - Static method in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
-
Determines whether a combination of physical attacks, weapons and direct damage spells can give the player lethal against its opponent.
- OddCostFilter - Class in net.demilich.metastone.game.spells.desc.filter
-
Only returns entities that have a base odd-cost.
- OddCostFilter(EntityFilterDesc) - Constructor for class net.demilich.metastone.game.spells.desc.filter.OddCostFilter
- OFFSET - Enum constant in enum class net.demilich.metastone.game.spells.desc.valueprovider.ValueProviderArg
- OLIVE - Static variable in class net.demilich.metastone.game.entities.heroes.HeroClass
- ON_EQUIP - Enum constant in enum class net.demilich.metastone.game.cards.desc.CardDescArg
- ON_UNEQUIP - Enum constant in enum class net.demilich.metastone.game.cards.desc.CardDescArg
- onAdd(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.cards.costmodifier.CardCostModifier
- onAdd(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.aura.Aura
- onAdd(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.trigger.Aftermath
- onAdd(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.trigger.Enchantment
- onAdd(GameContext, Player, Entity, Entity) - Method in interface net.demilich.metastone.game.spells.trigger.Trigger
-
Called when the trigger is added into a
GameContext
's state. - onCardSelected(AsyncResult<Integer>) - Method in class com.hiddenswitch.spellsource.draft.DraftContext
-
This handler should be called whenever the player makes a card choice.
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.AbstractModifyEnchantmentSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.ActorOrCardSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.AddAttributeSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.AddBattlecrySpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.AddDeathrattleSecondaryAsTargetSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.AddDeathrattleSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.AddDescriptionSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.AddEnchantmentSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.AddPactSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.AddQuestSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.AddSecretSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.AuraBuffSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.BuffSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.CardCostModifierSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.CastAfterSequenceSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.CastCardsSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.CastFromGroupSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.CastRandomSpellSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.CastRepeatedlySpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.CastSpellWithTargetOrElseSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.ChangeHeroPowerSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.ChangeHeroSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.ChooseAndReshuffleSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.ChooseOneOptionSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.ChooseOneSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.ClearOverloadSpell
-
Deprecated.
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.CloneMinionSpell
-
Deprecated.
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.ConditionalAttackBonusSpell
-
Deprecated.
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.ConditionalEffectSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.ConditionalSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.CopyCardSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.CopyDeathrattleSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.CopyHeroPower
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.CreateCardSpell
-
Deprecated.
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.CreateSummonSpell
-
Deprecated.
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.AbholosSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.ActivateTriggeredEffectSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.AddActorEffectsToTargetActorSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.AddEnchantmentToMinionCardSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.AnobiiSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.AysaCloudsingerSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.BaulPocuseSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.BrothersInBloodSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.CalamityBeckonsSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.CastOnCardsInStorageSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.CastOnEntitiesInStorageSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.CastSpellSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.CelestialConduitSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.ChangeSignatureSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.ChooseSignatureSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.ClearStorageSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.CopyCardEnchantmentsSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.CopyEnchantmentsSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.CopyLastRoastedCardSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.CopyLowestCostMinionSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.CopyMinionSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.CreateAndTeachSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.CreateCardFromChoicesSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.CreationSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.DamageAdjacentMinionsSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.DamageOppositeMinionsSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.DiluteSoulSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.DiscoverClassSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.DiscoverDiscardSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.DoubleSummonSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.ElorthaNoShandraSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.ExoticGoodsSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.FarseerNobundoSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.FelfireDrakeSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.FightRandomAdjacentMinionSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.FinalFeastSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.FormlessAgonyMissilesSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.GainStatsOfHighestCostMinionSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.GetChooseOneChoicesSpell
-
Spell used to interact with the different options of a Choose One card (spell)
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.GuessCardSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.HealAndBuffExcessAsDrainSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.HeroPowerToSpellSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.JailMinionSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.KeepersPupilSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.LastMinionCardInDeckSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.ManaCrystalToMinionSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.MergeSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.MindControlOneTurnSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.PlayCardsRandomlySpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.ProphetWaRanSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.PutIntoEggSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.RafaamThiefSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.RecastMinionSpells
-
Deprecated.
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.ReceiveCardNextTurnSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.ReceiveCardsInStorageSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.ReceiveOpponentsCastSpellsSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.RemoveTopUntilMinionAndSummonSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.RepeatAllAftermathsSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.RepeatAllOtherBattlecriesSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.ResurrectFromEntityStorageSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.SetRaceFromAttributeSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.ShuffleWithCardCostModifierSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.SleightOfHandSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.SoulscreamSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.SowDistrustSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.SpellToHeroPowerSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.StoreEntitySpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.StoreRaceToAttributeSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.SummonFriendlyMinionsThatDiedSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.SummonMinionWithMostCopiesInDeckSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.SwapCardsInHandAndDeckSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.SwapHpAndCostSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.SwapMinionWithDeckSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.SwapWithHandSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.TextifySpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.TransformInHandSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.TransformToAndBackSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.TriggerDistinctAftermathsInGraveyard
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.TriggerSecretRevealSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.VohkrovanisSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.VolatileWisdomSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.WeaponOnEquipEffectSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.WeaponOnUnEquipEffectSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.custom.YaganLifetakerSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.DamageSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.DecaySpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.LambdaSpellDesc.LambdaSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.DestroySecretsSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.DestroySpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.DiscardCardsFromDeckSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.DiscardSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.DiscoverFilteredCardSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.DiscoverOptionSpell
-
Deprecated.
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.DiscoverSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.DoubleAttackSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.DrainSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.DrawCardFromGraveyardSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.DrawCardSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.DrawCardUntilConditionSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.EitherOrSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.EnrageSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.EquipRandomWeaponSpell
-
Deprecated.
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.EquipWeaponSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.ExcessDamageSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.ExcessHealSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.FatigueSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.FightSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.FirstConditionalSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.ForceDeathPhaseSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.FromDeckToHandSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.FumbleSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.GainArmorSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.GainManaSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.HealingMissilesSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.HealSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.HeroPowerSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.InvokeOptionSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.InvokeSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.JoustSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.MetaSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.MindControlSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.MisdirectSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.MissilesSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.ModifyAttributeSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.ModifyDamageSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.ModifyDurabilitySpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.ModifyMaxManaSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.ModifyWitherAttributeSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.MultiTargetSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.NullSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.OverkillSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.OverrideTargetSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.PutCopyInHandSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.PutDeckTopSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.PutMinionOnBoardFromDeckSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.PutMinionOnBoardSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.PutOnBottomOfDeckSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.PutRandomSecretIntoPlaySpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.QueryTargetSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.RandomCardTargetSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.RandomlyCastSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.RecastWhileSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.ReceiveCardSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.RecruitSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.RefreshAttacksSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.RefreshHeroPowerSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.RefreshManaSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.RelativeToTargetEffectSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.RemoveActorPeacefullySpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.RemoveAttributeSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.RemoveBonusAttributes
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.RemoveCardSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.RemoveEnchantmentSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.RenounceClassSpell
-
Deprecated.
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.ReplaceCardsSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.ResetDeckSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.ResurrectFromBothSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.ResurrectSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.ReturnTargetToHandSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.RevealCardSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.RevertableSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.ReviveMinionSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.RoastSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.SetAttackerSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.SetAttackSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.SetAttributeSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.SetCardSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.SetDescriptionSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.SetHeroHpSpell
-
Deprecated.
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.SetHpSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.SetMaxManaSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.SetRaceSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.ShuffleMinionToDeckSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.ShuffleToDeckSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.ShuffleToDeckWithEnchantmentsSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.SilenceSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.SortDeckByManaCostSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.Spell
-
Implementations of
onCast
are the meat-and-bones of a spell's effects. - onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.SplashDamageSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.StealCardSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.StealHealthSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.StealRandomSecretSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.SummonCardFromAttributeSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.SummonSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.SupremacySpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.SwapAttackAndHpSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.SwapAttackSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.SwapCardsSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.SwapHpSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.SwapMinionSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.SwipeSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.TargetToSourceSecondaryToTargetSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.TemporaryAttackSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.TransformCardSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.TransformMinionSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.TransformToRandomMinionSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.TriggerDeathrattleSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.TriggerOpenerSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.TriggerQuickDrawSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.TriggerSecretSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.UseHeroPowerSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.ValueToHowManySpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.WeaponDamageSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.WhereverTheyAreSpell
- onCast(GameContext, Player, SpellDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.WitherSpell
- onDidPerformGameAction(int, GameAction) - Method in class net.demilich.metastone.game.GameContext
- ONE_NIGHT_IN_KARAZHAN - Static variable in class net.demilich.metastone.game.cards.CardSet
- ONE_TURN - Enum constant in enum class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDescArg
- onEnchantmentFired(Enchantment) - Method in class net.demilich.metastone.game.GameContext
-
Raised when a
Enchantment
is fired (i.e., a secret is about to be played or a special effect hosted by a minion/weapon is about to happen). - onEquip(GameContext, Player) - Method in class net.demilich.metastone.game.entities.weapons.Weapon
- oneTurn - Variable in class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDesc
- oneTurn - Variable in class net.demilich.metastone.game.spells.trigger.Enchantment
- OneTurnCostModifier - Class in net.demilich.metastone.game.cards.costmodifier
-
A card cost modifier that lasts only one turn.
- OneTurnCostModifier(CardCostModifierDesc) - Constructor for class net.demilich.metastone.game.cards.costmodifier.OneTurnCostModifier
- oneTurnOnly() - Method in class net.demilich.metastone.game.cards.costmodifier.OneTurnCostModifier
- oneTurnOnly() - Method in class net.demilich.metastone.game.spells.trigger.Enchantment
- oneTurnOnly() - Method in interface net.demilich.metastone.game.spells.trigger.Trigger
-
Indicates this trigger is only active for the current turn, then it should
Trigger.expire(GameContext)
. - onGameEvent(GameEvent) - Method in class net.demilich.metastone.game.cards.costmodifier.ToggleCostModifier
- onGameEvent(GameEvent) - Method in class net.demilich.metastone.game.spells.aura.Aura
- onGameEvent(GameEvent) - Method in class net.demilich.metastone.game.spells.aura.NoggenfoggerAura
- onGameEvent(GameEvent) - Method in class net.demilich.metastone.game.spells.aura.StatefulAttributeValueAura
- onGameEvent(GameEvent) - Method in class net.demilich.metastone.game.spells.aura.SupremaciesTriggerTwiceAura
- onGameEvent(GameEvent) - Method in class net.demilich.metastone.game.spells.aura.SupremacyBonusEffectAura
- onGameEvent(GameEvent) - Method in class net.demilich.metastone.game.spells.trigger.Enchantment
- onGameEvent(GameEvent) - Method in class net.demilich.metastone.game.spells.trigger.secrets.Secret
- onGameEvent(GameEvent) - Method in interface net.demilich.metastone.game.spells.trigger.Trigger
-
Handles an event this trigger
Trigger.queues(GameEvent)
for and isTrigger.interestedIn(com.hiddenswitch.spellsource.rpc.Spellsource.GameEventTypeMessage.GameEventType)
. - onGameOver(GameContext, int, int) - Method in class net.demilich.metastone.game.behaviour.AbstractBehaviour
- onGameOver(GameContext, int, int) - Method in interface net.demilich.metastone.game.behaviour.Behaviour
-
Notify the behaviour that the game is over, allowing it to clean up any state.
- onHeroSelected(AsyncResult<String>) - Method in class com.hiddenswitch.spellsource.draft.DraftContext
-
This handler should be called with the player's champion selection.
- onlyPlayedFromHandOrDeck() - Method in class net.demilich.metastone.game.spells.trigger.AbstractSummonTrigger
- onlyPlayedFromHandOrDeck() - Method in class net.demilich.metastone.game.spells.trigger.AfterMinionPlayedTrigger
- onlyPlayedFromHandOrDeck() - Method in class net.demilich.metastone.game.spells.trigger.BeforeMinionPlayedTrigger
- onlyPlayedFromHandOrDeck() - Method in class net.demilich.metastone.game.spells.trigger.MinionPlayedTrigger
- onNotificationDidFire(Notification) - Method in class net.demilich.metastone.game.GameContext
- onNotificationWillFire(Notification) - Method in class net.demilich.metastone.game.GameContext
- onUnequip(GameContext, Player) - Method in class net.demilich.metastone.game.entities.weapons.Weapon
- onWillPerformGameAction(int, GameAction) - Method in class net.demilich.metastone.game.GameContext
- opener - Variable in class net.demilich.metastone.game.actions.PlayHeroCardAction
- Opener - Class in net.demilich.metastone.game.spells.trigger
- Opener(OpenerDesc, Card, Entity) - Constructor for class net.demilich.metastone.game.spells.trigger.Opener
- OpenerAction - Class in net.demilich.metastone.game.actions
-
Battlecry actions occur when
Actor
entities are played from cards and have battlecries. - OpenerAction(SpellDesc) - Constructor for class net.demilich.metastone.game.actions.OpenerAction
- OpenerAsPlaySpellCardAction - Class in net.demilich.metastone.game.actions
-
Allows an opener to be encapsulated as a spell card.
- OpenerAsPlaySpellCardAction(EntityReference, SpellDesc, Card, TargetSelection, Condition) - Constructor for class net.demilich.metastone.game.actions.OpenerAsPlaySpellCardAction
- OpenerDesc - Class in net.demilich.metastone.game.spells.desc
-
The object describing a battlecry.
- OpenerDesc() - Constructor for class net.demilich.metastone.game.spells.desc.OpenerDesc
- OpenerOverridable - Interface in net.demilich.metastone.game.actions
-
Indicates this action could later create prompt the user for a battlecry targeting option.
- OPERATION - Enum constant in enum class net.demilich.metastone.game.cards.desc.ParseValueType
-
A string matching the name of a
ComparisonOperation
enum. - OPERATION - Enum constant in enum class net.demilich.metastone.game.spells.desc.condition.ConditionArg
- OPERATION - Enum constant in enum class net.demilich.metastone.game.spells.desc.filter.EntityFilterArg
- OPERATION - Enum constant in enum class net.demilich.metastone.game.spells.desc.manamodifier.CardCostModifierArg
-
An
AlgebraicOperation
that corresponds to how the cost modification should apply. - OPERATION - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
An
AlgebraicOperation
that is typically used to do math. - OPERATION - Enum constant in enum class net.demilich.metastone.game.spells.desc.valueprovider.ValueProviderArg
- OPPONENT - Enum constant in enum class net.demilich.metastone.game.spells.TargetPlayer
-
The opponent of the player that owns the
source
of the spell or action. - OPPONENT - Static variable in class net.demilich.metastone.game.entities.heroes.HeroClass
- OPPONENT_CARD_COUNT - Enum constant in enum class net.demilich.metastone.game.behaviour.heuristic.WeightedFeature
- OPPONENT_HP_FACTOR - Enum constant in enum class net.demilich.metastone.game.behaviour.heuristic.WeightedFeature
- OPPONENT_ROASTED_VALUE - Enum constant in enum class net.demilich.metastone.game.behaviour.heuristic.WeightedFeature
- OPPONENT_SPELL_DAMAGE - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Some cards give the opponent spell damage.
- OPPOSING_EMPTY_MANA_CRYSTAL_VALUE - Enum constant in enum class net.demilich.metastone.game.behaviour.heuristic.WeightedFeature
- OPPOSITE_CHARACTERS - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
Returns the opposing characters from the
source
. - OPPOSITE_MINIONS - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References zero, one or two minions opposite of this
source
minion. - OppositeEffectSpell - Class in net.demilich.metastone.game.spells
-
Acts like an
AdjacentEffectSpell
except on minions opposite of thetarget
- OppositeEffectSpell() - Constructor for class net.demilich.metastone.game.spells.OppositeEffectSpell
- OPTIONS - Enum constant in enum class net.demilich.metastone.game.cards.CardDescType
- OrCondition - Class in net.demilich.metastone.game.spells.desc.condition
-
This condition passes if any of the conditions in
ConditionArg.CONDITIONS
also pass. - OrCondition(ConditionDesc) - Constructor for class net.demilich.metastone.game.spells.desc.condition.OrCondition
- OrFilter - Class in net.demilich.metastone.game.spells.desc.filter
- OrFilter(EntityFilterDesc) - Constructor for class net.demilich.metastone.game.spells.desc.filter.OrFilter
- OriginalValueProvider - Class in net.demilich.metastone.game.spells.desc.valueprovider
-
When used in a
SpellOverrideAura
, this value provider returns the original value specified in this key. - OriginalValueProvider(ValueProviderDesc) - Constructor for class net.demilich.metastone.game.spells.desc.valueprovider.OriginalValueProvider
- OTHER_ENEMY_MINIONS - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References all the enemy minions excluding the source.
- OTHER_FRIENDLY_CHARACTERS - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References a combination of
EntityReference.OTHER_FRIENDLY_MINIONS
and theEntityReference.FRIENDLY_HERO
. - OTHER_FRIENDLY_MINIONS - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References all the player's minions except the
source
of this targeting resolution. - OUTPUT - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
Use this reference to apply effects to new entities created by spells.
- OUTPUTS - Enum constant in enum class net.demilich.metastone.game.environment.Environment
-
This variable stores a stack of entities that were output by spells.
- OverkillSpell - Class in net.demilich.metastone.game.spells
-
This spell implements the new Overkill mechanic introduced in Rastakhan's Rumble.
- OverkillSpell() - Constructor for class net.demilich.metastone.game.spells.OverkillSpell
- OVERLOAD - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
- OVERLOADED_THIS_GAME - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
The
Integer
amount of mana overloaded overloaded by the player over the course of the game. - OVERLOADED_THIS_GAME - Enum constant in enum class net.demilich.metastone.game.spells.PlayerAttribute
-
The number of mana crystals the player has overloaded this game.
- OverloadedCondition - Class in net.demilich.metastone.game.spells.desc.condition
-
true
if the player has overloaded and not yet locked Lun this turn. - OverloadedCondition(ConditionDesc) - Constructor for class net.demilich.metastone.game.spells.desc.condition.OverloadedCondition
- OverloadedManaCrystalsCondition - Class in net.demilich.metastone.game.spells.desc.condition
-
true
if theplayer
has overloaded (locked) any Lun. - OverloadedManaCrystalsCondition(ConditionDesc) - Constructor for class net.demilich.metastone.game.spells.desc.condition.OverloadedManaCrystalsCondition
- OverloadEvent - Class in net.demilich.metastone.game.events
-
Lun was overloaded (i.e.
- OverloadEvent(GameContext, int, Card, int) - Constructor for class net.demilich.metastone.game.events.OverloadEvent
- OverloadTrigger - Class in net.demilich.metastone.game.spells.trigger
- OverloadTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.OverloadTrigger
- OverrideTargetSpell - Class in net.demilich.metastone.game.spells
-
Overrides the target of the next
GameLogic.targetAcquisition(Player, Entity, GameAction)
call. - OverrideTargetSpell() - Constructor for class net.demilich.metastone.game.spells.OverrideTargetSpell
- OWN_CARD_COUNT - Enum constant in enum class net.demilich.metastone.game.behaviour.heuristic.WeightedFeature
- OWN_HP_FACTOR - Enum constant in enum class net.demilich.metastone.game.behaviour.heuristic.WeightedFeature
- OWN_ROASTED_VALUE - Enum constant in enum class net.demilich.metastone.game.behaviour.heuristic.WeightedFeature
- OwnedByPlayerCondition - Class in net.demilich.metastone.game.spells.desc.condition
- OwnedByPlayerCondition(ConditionDesc) - Constructor for class net.demilich.metastone.game.spells.desc.condition.OwnedByPlayerCondition
- OwnedByPlayerFilter - Class in net.demilich.metastone.game.spells.desc.filter
- OwnedByPlayerFilter(EntityFilterDesc) - Constructor for class net.demilich.metastone.game.spells.desc.filter.OwnedByPlayerFilter
- OWNER - Enum constant in enum class net.demilich.metastone.game.spells.TargetPlayer
-
The player that owns the
target
of the spell or action.
P
- PACT - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
A
Attribute.PACT
Entity
is an untargetable permanent that lives in theSpellsource.ZonesMessage.Zones.QUEST
zone, is visible to the opponent, and can be triggered by actions that either the opponent or player performs (activated during both turns). - PACT - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
Like a
SpellArg.QUEST
but a player can have multiple of these active at once. - PactPlayedTrigger - Class in net.demilich.metastone.game.spells.trigger
- PactPlayedTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.PactPlayedTrigger
- parallel - Variable in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
- parse(JsonNode, ParseValueType, DeserializationContext) - Static method in class net.demilich.metastone.game.cards.desc.ParseUtils
- parseCard(ResourceInputStream) - Method in class net.demilich.metastone.game.cards.CardParser
- parseEntityReference(String) - Static method in class net.demilich.metastone.game.cards.desc.ParseUtils
- ParseUtils - Class in net.demilich.metastone.game.cards.desc
- ParseUtils() - Constructor for class net.demilich.metastone.game.cards.desc.ParseUtils
- ParseValueType - Enum Class in net.demilich.metastone.game.cards.desc
-
Indicates a common set of types for arguments to various
Desc
objects that appear in the card JSON. - PASSIVE_AURAS - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Stores passive auras, i.e., auras that are active while the entity is in the hand.
- PASSIVE_TRIGGER - Enum constant in enum class net.demilich.metastone.game.cards.CardDescType
- PASSIVE_TRIGGERS - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
- PASSIVE_TRIGGERS - Enum constant in enum class net.demilich.metastone.game.cards.desc.CardDescArg
- PassiveEnchantmentDescConverter - Class in net.demilich.metastone.game.cards.desc
- PassiveEnchantmentDescConverter() - Constructor for class net.demilich.metastone.game.cards.desc.PassiveEnchantmentDescConverter
- PAY_EFFECT - Enum constant in enum class net.demilich.metastone.game.spells.desc.aura.AuraArg
- PEACH - Static variable in class net.demilich.metastone.game.entities.heroes.HeroClass
- peek() - Method in interface net.demilich.metastone.game.cards.CardList
-
Returns the last card in the card list.
- peek(Card, GameContext, Player) - Method in class net.demilich.metastone.game.spells.CopyCardSpell
- peekFirst() - Method in class net.demilich.metastone.game.cards.CardArrayList
- peekFirst() - Method in interface net.demilich.metastone.game.cards.CardList
-
Gets the first card in this instance.
- peekFirst() - Method in class net.demilich.metastone.game.cards.CardZone
- performAction(int, GameAction) - Method in class net.demilich.metastone.game.GameContext
-
Executes the specified game action, typically by calling
GameLogic.performGameAction(int, GameAction)
. - performBattlecryAction(int, Actor, Player, OpenerAction) - Method in class net.demilich.metastone.game.logic.GameLogic
- performGameAction(int, GameAction) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Performs a game action, or a selection of what to do by a player from a list of
GameLogic.getValidActions(int)
. - performOperation(int, int) - Method in enum class net.demilich.metastone.game.spells.desc.valueprovider.AlgebraicOperation
- PERMANENT - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
This attribute describes a
Minion
that can never be targeted by spells, abilities, auras or physical attacks but does occupy a position on theSpellsource.ZonesMessage.Zones.BATTLEFIELD
. - PERSISTENT_OWNER - Enum constant in enum class net.demilich.metastone.game.spells.desc.aura.AuraArg
- PERSISTENT_OWNER - Enum constant in enum class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDescArg
- persistentOwner - Variable in class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDesc
- persistentOwner - Variable in class net.demilich.metastone.game.spells.trigger.Enchantment
- PHYSICAL_ATTACK_TARGETS - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References the enemy minions and hero which would ordinarily be targetable by a physical attack from the friendly player's point of view.
- PhysicalAttackAction - Class in net.demilich.metastone.game.actions
-
Indicates an attack between
PhysicalAttackAction.getAttackerReference()
andGameAction.getTargetReference()
. - PhysicalAttackAction(EntityReference) - Constructor for class net.demilich.metastone.game.actions.PhysicalAttackAction
-
Creates a physical attack with the specified
attackerReference
as the attacker. - PhysicalAttackEvent - Class in net.demilich.metastone.game.events
-
An attacker (the
EntityReference.EVENT_SOURCE
) attacked the defender and dealtEventValueProvider
damage. - PhysicalAttackEvent(GameContext, Actor, Actor, int) - Constructor for class net.demilich.metastone.game.events.PhysicalAttackEvent
- PhysicalAttackTargetOverrideAura - Class in net.demilich.metastone.game.spells.aura
-
When an
Actor
has this aura, its physical attack targets are the entities that are affected by this aura. - PhysicalAttackTargetOverrideAura(AuraDesc) - Constructor for class net.demilich.metastone.game.spells.aura.PhysicalAttackTargetOverrideAura
- PhysicalAttackTrigger - Class in net.demilich.metastone.game.spells.trigger
- PhysicalAttackTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.PhysicalAttackTrigger
- play() - Method in class net.demilich.metastone.game.cards.Card
-
Create an action representing playing the card.
- play() - Method in class net.demilich.metastone.game.GameContext
-
Plays the game.
- play(boolean) - Method in class net.demilich.metastone.game.GameContext
- playBothOptions() - Method in class net.demilich.metastone.game.cards.Card
-
Returns the action that executes both choose ones for this spell or actor card.
- playBothOptions() - Method in interface net.demilich.metastone.game.cards.HasChooseOneActions
- playCard(int, EntityReference, EntityReference) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Plays a card.
- PlayCardAction - Class in net.demilich.metastone.game.actions
-
A play card action stores a card and an optional target.
- PlayCardAction() - Constructor for class net.demilich.metastone.game.actions.PlayCardAction
- PlayCardAction(EntityReference) - Constructor for class net.demilich.metastone.game.actions.PlayCardAction
- playCardRandomly(GameContext, Player, Card, Entity, boolean, boolean, boolean, boolean, boolean) - Static method in class net.demilich.metastone.game.spells.SpellUtils
-
Plays a card "randomly."
- PlayCardsRandomlySpell - Class in net.demilich.metastone.game.spells.custom
-
Retrieves all the cards generated by
SpellUtils.getCards(GameContext, Player, Entity, Entity, SpellDesc, int)
and plays them randomly. - PlayCardsRandomlySpell() - Constructor for class net.demilich.metastone.game.spells.custom.PlayCardsRandomlySpell
- PlayChooseOneCardAction - Class in net.demilich.metastone.game.actions
-
Indicates the choice of a choose one card.
- PlayChooseOneCardAction(SpellDesc, Card, String, TargetSelection) - Constructor for class net.demilich.metastone.game.actions.PlayChooseOneCardAction
- PLAYED_FROM_HAND_OR_DECK - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Indicates the
Integer
turn that the specified card was played from the hand or the deck. - PLAYED_LAST_TURN - Enum constant in enum class net.demilich.metastone.game.statistics.Statistic
- PlayedLastTurnCondition - Class in net.demilich.metastone.game.spells.desc.condition
-
true
if cards filtered byConditionArg.FILTER
were played by theConditionArg.TARGET_PLAYER
last turn. - PlayedLastTurnCondition(ConditionDesc) - Constructor for class net.demilich.metastone.game.spells.desc.condition.PlayedLastTurnCondition
- PlayedLastTurnValueProvider - Class in net.demilich.metastone.game.spells.desc.valueprovider
- PlayedLastTurnValueProvider(ValueProviderDesc) - Constructor for class net.demilich.metastone.game.spells.desc.valueprovider.PlayedLastTurnValueProvider
- PlayedThisTurnValueProvider - Class in net.demilich.metastone.game.spells.desc.valueprovider
-
Returns the number of cards matching
ValueProviderArg.FILTER
orValueProviderArg.CARD_FILTER
that were played this turn by theValueProviderArg.TARGET_PLAYER
. - PlayedThisTurnValueProvider(ValueProviderDesc) - Constructor for class net.demilich.metastone.game.spells.desc.valueprovider.PlayedThisTurnValueProvider
- player - Variable in class net.demilich.metastone.game.entities.EntityZone
- Player - Class in net.demilich.metastone.game
-
The
Player
class stores almost the state that corresponds to a particular player, like a collection ofEntityZone
objects and selectAttribute
andPlayerAttribute
attributes as anEntity
that exists in the game. - Player() - Constructor for class net.demilich.metastone.game.Player
-
Use build from config to actually build the class.
- Player(String) - Constructor for class net.demilich.metastone.game.Player
-
Creates a player with the hero card of the specified hero class
- Player(GameDeck) - Constructor for class net.demilich.metastone.game.Player
-
Creates a player from the specified deck.
- Player(GameDeck, String) - Constructor for class net.demilich.metastone.game.Player
-
Creates a player from the specified deck.
- PLAYER_1 - Enum constant in enum class net.demilich.metastone.game.spells.TargetPlayer
-
The first player.
- PLAYER_1 - Static variable in class net.demilich.metastone.game.GameContext
- PLAYER_1 - Static variable in class net.demilich.metastone.game.targeting.EntityReference
- PLAYER_1 - Static variable in interface net.demilich.metastone.game.targeting.IdFactory
- PLAYER_2 - Enum constant in enum class net.demilich.metastone.game.spells.TargetPlayer
-
The second player.
- PLAYER_2 - Static variable in class net.demilich.metastone.game.GameContext
- PLAYER_2 - Static variable in class net.demilich.metastone.game.targeting.EntityReference
- PLAYER_2 - Static variable in interface net.demilich.metastone.game.targeting.IdFactory
- PLAYER_ATTRIBUTE - Enum constant in enum class net.demilich.metastone.game.cards.desc.ParseValueType
-
A string matching the name of a
PlayerAttribute
enum. - PLAYER_ATTRIBUTE - Enum constant in enum class net.demilich.metastone.game.spells.desc.valueprovider.ValueProviderArg
- PlayerAttribute - Enum Class in net.demilich.metastone.game.spells
-
Indicates a measurement about a player to use with
PlayerAttributeValueProvider
. - PlayerAttributeValueProvider - Class in net.demilich.metastone.game.spells.desc.valueprovider
- PlayerAttributeValueProvider(ValueProviderDesc) - Constructor for class net.demilich.metastone.game.spells.desc.valueprovider.PlayerAttributeValueProvider
- PlayGameLogicRandomBehaviour - Class in net.demilich.metastone.game.behaviour
- PlayGameLogicRandomBehaviour() - Constructor for class net.demilich.metastone.game.behaviour.PlayGameLogicRandomBehaviour
- PlayHeroCardAction - Class in net.demilich.metastone.game.actions
-
Indicates playing a hero card from the hand.
- PlayHeroCardAction(EntityReference) - Constructor for class net.demilich.metastone.game.actions.PlayHeroCardAction
- PlayHeroCardAction(EntityReference, OpenerDesc) - Constructor for class net.demilich.metastone.game.actions.PlayHeroCardAction
- PlayHeroCardChooseOneAction - Class in net.demilich.metastone.game.actions
-
Since choose one hero cards are implemented as different battlecry choices, a card reference to a choose one card is not stored here.
- PlayHeroCardChooseOneAction(EntityReference) - Constructor for class net.demilich.metastone.game.actions.PlayHeroCardChooseOneAction
- PlayLastCardsRandomlySpell - Class in net.demilich.metastone.game.spells.custom
-
Replays randomly the last
SpellArg.VALUE
cards the caster played. - PlayLastCardsRandomlySpell() - Constructor for class net.demilich.metastone.game.spells.custom.PlayLastCardsRandomlySpell
- PlayMinionCardAction - Class in net.demilich.metastone.game.actions
-
An action representing the playing of a minion card.
- PlayMinionCardAction(EntityReference) - Constructor for class net.demilich.metastone.game.actions.PlayMinionCardAction
- PlayMinionCardAction(EntityReference, OpenerDesc) - Constructor for class net.demilich.metastone.game.actions.PlayMinionCardAction
- playOptions() - Method in class net.demilich.metastone.game.cards.Card
-
Retrieves the play options from choose one cards.
- playOptions() - Method in interface net.demilich.metastone.game.cards.HasChooseOneActions
- playPact(Player, Quest) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Plays a quest from the hand.
- playPact(Player, Quest, boolean) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Plays the specified quest.
- playQuest(Player, Quest) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Plays a quest from the hand.
- playQuest(Player, Quest, boolean) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Plays the specified quest.
- PlayRandomBehaviour - Class in net.demilich.metastone.game.behaviour
-
This behaviour chooses actions randomly.
- PlayRandomBehaviour() - Constructor for class net.demilich.metastone.game.behaviour.PlayRandomBehaviour
- playSecret(Player, Secret) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Play a secret.
- playSecret(Player, Secret, boolean) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Plays a secret.
- PlaySpellCardAction - Class in net.demilich.metastone.game.actions
-
An action indicating a spell is being cast.
- PlaySpellCardAction(SpellDesc, Card, TargetSelection) - Constructor for class net.demilich.metastone.game.actions.PlaySpellCardAction
- PlayWeaponCardAction - Class in net.demilich.metastone.game.actions
-
An action that corresponds to playing a weapon card from the hand.
- PlayWeaponCardAction(EntityReference) - Constructor for class net.demilich.metastone.game.actions.PlayWeaponCardAction
- PlayWeaponCardAction(EntityReference, OpenerDesc) - Constructor for class net.demilich.metastone.game.actions.PlayWeaponCardAction
- PluralDescription - Class in net.demilich.metastone.game.cards.dynamicdescription
-
Appends the
DynamicDescriptionArg.VALUE
withDynamicDescriptionArg.DESCRIPTION1
if the value is singular, otherwise appendsDynamicDescriptionArg.DESCRIPTION2
. - PluralDescription(DynamicDescriptionDesc) - Constructor for class net.demilich.metastone.game.cards.dynamicdescription.PluralDescription
- pointTo(Entity) - Static method in class net.demilich.metastone.game.targeting.EntityReference
- POISONOUS - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
A shorthand implementation of the Poisonous keyword.
- populateAll(List<String>) - Static method in class net.demilich.metastone.game.decks.DeckFormat
- populateFormats(CardList) - Static method in class net.demilich.metastone.game.decks.DeckFormat
- postDiscover(GameContext, Player, Iterable<? extends Card>, List<GameAction>) - Static method in class net.demilich.metastone.game.spells.SpellUtils
-
Moves the card put into the
Spellsource.ZonesMessage.Zones.DISCOVER
by aSpellUtils.discoverCard(GameContext, Player, Entity, SpellDesc, CardList)
action back to where it came from. - postProcess(int, GameContext) - Method in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
-
Post-processes a game state for scoring.
- POWER - Enum constant in enum class net.demilich.metastone.game.spells.desc.valueprovider.AlgebraicOperation
- PreDamageEvent - Class in net.demilich.metastone.game.events
-
Just before damage is dealt.
- PreDamageEvent(GameContext, Entity, Entity, int, EnumSet<Spellsource.DamageTypeMessage.DamageType>) - Constructor for class net.demilich.metastone.game.events.PreDamageEvent
- PreDamageTrigger - Class in net.demilich.metastone.game.spells.trigger
- PreDamageTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.PreDamageTrigger
- predecessors() - Method in class net.demilich.metastone.game.cards.desc.HasEntrySet.BfsNode
- PreDeflectDamageTrigger - Class in net.demilich.metastone.game.spells.trigger
-
Triggers as damage caused only if the damage is not fatigue damage.
- PreDeflectDamageTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.PreDeflectDamageTrigger
- PreGameStartEvent - Class in net.demilich.metastone.game.events
-
Just before the game starts.
- PreGameStartEvent(GameContext, int) - Constructor for class net.demilich.metastone.game.events.PreGameStartEvent
- PreGameStartTrigger - Class in net.demilich.metastone.game.spells.trigger
-
Fires before the game starts but after mulligans.
- PreGameStartTrigger() - Constructor for class net.demilich.metastone.game.spells.trigger.PreGameStartTrigger
- PreGameStartTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.PreGameStartTrigger
- PRIVATE - Static variable in class net.demilich.metastone.game.logic.GameLogic
-
These zones are private: only the player that owns the entity in the zone ought to see notifications originating from that zone.
- PrivateDraftState - Class in com.hiddenswitch.spellsource.draft
-
Private information about the player's draft.
- PrivateDraftState() - Constructor for class com.hiddenswitch.spellsource.draft.PrivateDraftState
- PROCEDURAL_PREVIEW - Static variable in class net.demilich.metastone.game.cards.CardSet
- process(int, SpellDesc, GameEvent) - Method in class net.demilich.metastone.game.spells.trigger.Enchantment
-
Casts the effects of this enchantment.
- process(int, SpellDesc, GameEvent) - Method in class net.demilich.metastone.game.spells.trigger.secrets.Quest
- process(int, SpellDesc, GameEvent) - Method in class net.demilich.metastone.game.spells.trigger.secrets.Secret
- process(TreePolicy) - Method in class net.demilich.metastone.game.behaviour.mcts.Node
- process(GameContext, Entity, Card, int, Player) - Method in class net.demilich.metastone.game.cards.costmodifier.CardCostModifier
- processTargetModification(Entity, GameAction) - Method in class net.demilich.metastone.game.spells.aura.TargetSelectionOverrideAura
- processTargetModifiers(GameAction) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Modifies the target selection of the specified action and returns it.
- processTargetSelectionOverride(GameContext, Player) - Method in class net.demilich.metastone.game.cards.Card
-
Determines if the card's target selection ought to be overrided, and does so via applying or removing
Attribute.TARGET_SELECTION
on the card. - processTrigger(GameEvent, Trigger) - Method in class net.demilich.metastone.game.logic.GameLogic
- PROMO - Static variable in class net.demilich.metastone.game.cards.CardSet
- ProphetWaRanSpell - Class in net.demilich.metastone.game.spells.custom
-
Shuffles 5/5 copies of all minions in the casting player's deck.
- ProphetWaRanSpell() - Constructor for class net.demilich.metastone.game.spells.custom.ProphetWaRanSpell
- provideValue(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.valueprovider.AftermathsCountValueProvider
- provideValue(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.valueprovider.AlgebraicValueProvider
- provideValue(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.valueprovider.AttributeCounter
- provideValue(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.valueprovider.AttributeValueProvider
- provideValue(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.valueprovider.BoardCountValueProvider
- provideValue(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.valueprovider.CardCountValueProvider
- provideValue(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.valueprovider.CardsPlayedValueProvider
- provideValue(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.valueprovider.ConditionalValueProvider
- provideValue(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.valueprovider.CurrentTurnValueProvider
- provideValue(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.valueprovider.DestroyedThisSequenceValueProvider
- provideValue(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.valueprovider.DiedThisTurnValueProvider
- provideValue(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.valueprovider.DistinctTribesValueProvider
- provideValue(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.valueprovider.EntityCountValueProvider
- provideValue(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.valueprovider.EventValueProvider
- provideValue(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.valueprovider.ExcessHealingThisTurnValueProvider
- provideValue(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.valueprovider.FiresLeftValueProvider
- provideValue(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.valueprovider.GameValueProvider
- provideValue(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.valueprovider.GatekeeperShaValueProvider
- provideValue(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.valueprovider.GraveyardMinionCountValueProvider
- provideValue(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.valueprovider.HeroPowerDamageValueProvider
- provideValue(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.valueprovider.IndexInSourceValueProvider
- provideValue(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.valueprovider.LastTurnValueProvider
- provideValue(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.valueprovider.ManaCostModifierValueProvider
- provideValue(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.valueprovider.ManaCostProvider
- provideValue(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.valueprovider.MaxBoardSizeValueProvider
- provideValue(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.valueprovider.MinionSummonValueProvider
- provideValue(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.valueprovider.OriginalValueProvider
- provideValue(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.valueprovider.PlayedLastTurnValueProvider
- provideValue(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.valueprovider.PlayedThisTurnValueProvider
- provideValue(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.valueprovider.PlayerAttributeValueProvider
- provideValue(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.valueprovider.RandomValueProvider
- provideValue(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.valueprovider.ReduceValueProvider
- provideValue(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.valueprovider.SpellDamageValueProvider
- provideValue(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.valueprovider.SpellstoneValueProvider
- provideValue(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.valueprovider.TurnsNoCardPlayedValueProvider
- provideValue(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.valueprovider.ValueProvider
- provideValueForAttribute(GameContext, Attribute, Entity) - Static method in class net.demilich.metastone.game.spells.desc.valueprovider.AttributeValueProvider
- pruneContextStack - Variable in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
- pruneContextStack(Deque<GameStateValueBehaviour.Node>, int) - Method in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
-
Prunes the context stack to save memory.
- pruneEarlyEndTurn - Variable in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
- PublicDraftState - Class in com.hiddenswitch.spellsource.draft
-
Public information about the player's draft.
- PublicDraftState() - Constructor for class com.hiddenswitch.spellsource.draft.PublicDraftState
-
Creates a new public draft state that represents a draft that has
DraftStatus.NOT_STARTED
. - pushEventData(GameEvent) - Method in class net.demilich.metastone.game.logic.GameLogic
- pushHostReference(GameEvent, Trigger) - Method in class net.demilich.metastone.game.logic.GameLogic
- put(Attribute, Object) - Method in class net.demilich.metastone.game.cards.AttributeMap
- put(T, Object) - Method in class net.demilich.metastone.game.cards.desc.Desc
- PutCopyInHandSpell - Class in net.demilich.metastone.game.spells
-
Makes
SpellArg.HOW_MANY
copies of the base card of thetarget
. - PutCopyInHandSpell() - Constructor for class net.demilich.metastone.game.spells.PutCopyInHandSpell
- PutDeckTopSpell - Class in net.demilich.metastone.game.spells
-
Puts the specified cards (
target
or otherwise fromSpellUtils.getCards(GameContext, Player, Entity, Entity, SpellDesc, int)
) on the top of the deck. - PutDeckTopSpell() - Constructor for class net.demilich.metastone.game.spells.PutDeckTopSpell
- PutIntoEggSpell - Class in net.demilich.metastone.game.spells.custom
-
Gives the
SpellArg.SECONDARY_TARGET
the deathrattle, "Summontarget
", and removestarget
from wherever it is. - PutIntoEggSpell() - Constructor for class net.demilich.metastone.game.spells.custom.PutIntoEggSpell
- PutMiniCopyInHandSpell - Class in net.demilich.metastone.game.spells.custom
-
Deprecated.
- PutMiniCopyInHandSpell() - Constructor for class net.demilich.metastone.game.spells.custom.PutMiniCopyInHandSpell
-
Deprecated.
- PutMinionOnBoardFromDeckSpell - Class in net.demilich.metastone.game.spells
-
Puts the target minion card into the
Spellsource.ZonesMessage.Zones.BATTLEFIELD
from theSpellsource.ZonesMessage.Zones.DECK
. - PutMinionOnBoardFromDeckSpell() - Constructor for class net.demilich.metastone.game.spells.PutMinionOnBoardFromDeckSpell
- PutMinionOnBoardSpell - Class in net.demilich.metastone.game.spells
-
Summons a minion from the
target
card onto the board in a way that counts it as being played from the hand or deck. - PutMinionOnBoardSpell() - Constructor for class net.demilich.metastone.game.spells.PutMinionOnBoardSpell
- PutOnBottomOfDeckSpell - Class in net.demilich.metastone.game.spells
-
Puts the cards from
SpellUtils.getCards(GameContext, Player, Entity, Entity, SpellDesc, int)
on the bottom of the player's deck. - PutOnBottomOfDeckSpell() - Constructor for class net.demilich.metastone.game.spells.PutOnBottomOfDeckSpell
- PutRandomMinionOnBoardSpell - Class in net.demilich.metastone.game.spells
-
Deprecated.
- PutRandomMinionOnBoardSpell() - Constructor for class net.demilich.metastone.game.spells.PutRandomMinionOnBoardSpell
-
Deprecated.
- PutRandomSecretIntoPlaySpell - Class in net.demilich.metastone.game.spells
-
Takes
SpellArg.HOW_MANY
secret cards from theSpellArg.CARD_SOURCE
(defaulting to aDeckSource
) and puts those secrets directly into play without triggering aSecretPlayedTrigger
. - PutRandomSecretIntoPlaySpell() - Constructor for class net.demilich.metastone.game.spells.PutRandomSecretIntoPlaySpell
- putSecretIntoPlay(GameContext, Player, Card) - Method in class net.demilich.metastone.game.spells.PutRandomSecretIntoPlaySpell
Q
- query(DeckFormat) - Static method in class net.demilich.metastone.game.cards.CardCatalogue
- query(DeckFormat, Spellsource.CardTypeMessage.CardType) - Static method in class net.demilich.metastone.game.cards.CardCatalogue
- query(DeckFormat, Spellsource.CardTypeMessage.CardType, Spellsource.RarityMessage.Rarity, String) - Static method in class net.demilich.metastone.game.cards.CardCatalogue
- query(DeckFormat, Spellsource.CardTypeMessage.CardType, Spellsource.RarityMessage.Rarity, String, Attribute, boolean) - Static method in class net.demilich.metastone.game.cards.CardCatalogue
-
Queries the card catalogue for cards that match the specified filters.
- query(DeckFormat, String) - Static method in class net.demilich.metastone.game.cards.CardCatalogue
- query(DeckFormat, Predicate<Card>) - Static method in class net.demilich.metastone.game.cards.CardCatalogue
- QueryTargetSpell - Class in net.demilich.metastone.game.spells
-
Interprets the spell arguments as a query of targets and casts
SpellArg.SPELL
on each resultingtarget
in order. - QueryTargetSpell() - Constructor for class net.demilich.metastone.game.spells.QueryTargetSpell
- Quest - Class in net.demilich.metastone.game.spells.trigger.secrets
-
A quest is an enchantment and entity that goes into the
Spellsource.ZonesMessage.Zones.QUEST
zone. - Quest(EnchantmentDesc, Card) - Constructor for class net.demilich.metastone.game.spells.trigger.secrets.Quest
- Quest(EnchantmentDesc, EventTrigger, SpellDesc, Card, int, boolean) - Constructor for class net.demilich.metastone.game.spells.trigger.secrets.Quest
- QUEST - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
A
Attribute.QUEST
Entity
is an untargetable permanent that lives in theSpellsource.ZonesMessage.Zones.QUEST
zone but is visible to the opponent. - QUEST - Enum constant in enum class net.demilich.metastone.game.cards.desc.CardDescArg
- QUEST - Enum constant in enum class net.demilich.metastone.game.cards.desc.ParseValueType
-
An
EnchantmentDesc
that should be interpreted as aQuest
. - QUEST - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
Used by
AddQuestSpell
to define aQuest
to put into play. - QUEST_COUNTER_VALUE - Enum constant in enum class net.demilich.metastone.game.behaviour.heuristic.WeightedFeature
- QUEST_REWARD_VALUE - Enum constant in enum class net.demilich.metastone.game.behaviour.heuristic.WeightedFeature
- QuestPlayedEvent - Class in net.demilich.metastone.game.events
-
A quest was played.
- QuestPlayedEvent(GameContext, int, Card, Quest) - Constructor for class net.demilich.metastone.game.events.QuestPlayedEvent
- QuestPlayedTrigger - Class in net.demilich.metastone.game.spells.trigger
-
Fires after a quest is played.
- QuestPlayedTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.QuestPlayedTrigger
- QuestSuccessfulEvent - Class in net.demilich.metastone.game.events
-
A quest has processed.
- QuestSuccessfulEvent(GameContext, Quest, int) - Constructor for class net.demilich.metastone.game.events.QuestSuccessfulEvent
- QuestSuccessTrigger - Class in net.demilich.metastone.game.spells.trigger
- QuestSuccessTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.QuestSuccessTrigger
- questTriggered(Player, Quest) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Indicates that a quest was successful (its spell was casted).
- QUEUE_CONDITION - Enum constant in enum class net.demilich.metastone.game.spells.desc.trigger.EventTriggerArg
- queues(GameEvent) - Method in class net.demilich.metastone.game.spells.trigger.Enchantment
- queues(GameEvent) - Method in interface net.demilich.metastone.game.spells.trigger.Trigger
-
Checks if a trigger should queue in response to a specific event.
- queues(GameEvent, Enchantment, Entity, int) - Method in class net.demilich.metastone.game.spells.trigger.EventTrigger
- QUICK_DRAW - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Marks a card as using a "Quick Draw" effect for the Outlaw class
- QuickDrawSpell - Class in net.demilich.metastone.game.spells
-
Indicates that the
SpellArg.SPELL
andSpellArg.SPELLS
on this spell are Quick Draw effects. - QuickDrawSpell() - Constructor for class net.demilich.metastone.game.spells.QuickDrawSpell
- QuickDrawTrigger - Class in net.demilich.metastone.game.spells.trigger
-
Fires when a card is drawn for any reason besides the turn start.
- QuickDrawTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.QuickDrawTrigger
R
- Race - Class in net.demilich.metastone.game.entities.minions
-
The race / tribe of a card.
- Race() - Constructor for class net.demilich.metastone.game.entities.minions.Race
- RACE - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
The race of the entity.
- RACE - Enum constant in enum class net.demilich.metastone.game.cards.CardDescType
- RACE - Enum constant in enum class net.demilich.metastone.game.cards.desc.CardDescArg
- RACE - Enum constant in enum class net.demilich.metastone.game.spells.desc.condition.ConditionArg
- RACE - Enum constant in enum class net.demilich.metastone.game.spells.desc.filter.EntityFilterArg
- RACE - Enum constant in enum class net.demilich.metastone.game.spells.desc.manamodifier.CardCostModifierArg
-
The card's race that is required for this modifier to apply.
- RACE - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
Used by the
SetRaceSpell
to change a target minion's race. - RACE - Enum constant in enum class net.demilich.metastone.game.spells.desc.trigger.EventTriggerArg
- RACE - Enum constant in enum class net.demilich.metastone.game.spells.desc.valueprovider.ValueProviderArg
- RaceCondition - Class in net.demilich.metastone.game.spells.desc.condition
-
Evaluates to
true
if thetarget
or single entity resolved byConditionArg.TARGET
has the specifiedConditionArg.RACE
. - RaceCondition(ConditionDesc) - Constructor for class net.demilich.metastone.game.spells.desc.condition.RaceCondition
- RaceEqualsFilter - Class in net.demilich.metastone.game.spells.desc.filter
- RaceEqualsFilter(EntityFilterDesc) - Constructor for class net.demilich.metastone.game.spells.desc.filter.RaceEqualsFilter
- RaceFilter - Class in net.demilich.metastone.game.spells.desc.filter
- RaceFilter(EntityFilterDesc) - Constructor for class net.demilich.metastone.game.spells.desc.filter.RaceFilter
- RACES - Enum constant in enum class net.demilich.metastone.game.spells.desc.aura.AuraArg
- RafaamThiefSpell - Class in net.demilich.metastone.game.spells.custom
-
Gives the target minion, "Deathrattle: Shuffle this minion into the caster's deck."
- RafaamThiefSpell() - Constructor for class net.demilich.metastone.game.spells.custom.RafaamThiefSpell
- random(int) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Gets a random number.
- random(DeckFormat) - Static method in class net.demilich.metastone.game.entities.heroes.HeroClass
-
Retrieves a random hero in the specified
deckFormat
- RANDOM_CHOICES - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
When any
Entity
has a non-zero value for this attribute, spells are cast with random targets, random discover choices are made, physical attacks target randomly, and battlecries target randomly. - RANDOM_TARGET - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
When
true
, indicates that a random single target from the list of filtered targets should be cast on by this spell. - randomBool() - Method in class net.demilich.metastone.game.logic.GameLogic
-
Gets a random boolean value.
- RandomCardTargetSpell - Class in net.demilich.metastone.game.spells
-
Casts a spell card with random targets.
- RandomCardTargetSpell() - Constructor for class net.demilich.metastone.game.spells.RandomCardTargetSpell
- RandomCondition - Class in net.demilich.metastone.game.spells.desc.condition
-
This condition is fulfilled if the
GameLogic.randomBool()
method returnstrue
. - RandomCondition(ConditionDesc) - Constructor for class net.demilich.metastone.game.spells.desc.condition.RandomCondition
- randomDeck() - Static method in interface net.demilich.metastone.game.decks.Deck
- randomDeck(long) - Static method in interface net.demilich.metastone.game.decks.Deck
- randomDeck(String) - Static method in interface net.demilich.metastone.game.decks.Deck
- randomDeck(String, DeckFormat) - Static method in interface net.demilich.metastone.game.decks.Deck
-
Creates a random deck with the given hero class and deck format.
- randomDeck(DeckFormat) - Static method in interface net.demilich.metastone.game.decks.Deck
- RANDOMLY_PLAYED_QUEUE - Enum constant in enum class net.demilich.metastone.game.environment.Environment
-
Stores the cards that are currently selected to be randomly played, preventing them from being randomly played more than once per sequence.
- RandomlyCastSpell - Class in net.demilich.metastone.game.spells
-
Givem a list of effects in
SpellArg.SPELLS
, randomly choose one to cast thetarget
. - RandomlyCastSpell() - Constructor for class net.demilich.metastone.game.spells.RandomlyCastSpell
- RandomSpellTargetSpell - Class in net.demilich.metastone.game.spells
-
Deprecated.Use
CastRandomSpellSpell
instead. - RandomSpellTargetSpell() - Constructor for class net.demilich.metastone.game.spells.RandomSpellTargetSpell
-
Deprecated.
- randomSubset(List<T>, int, Random) - Method in class net.demilich.metastone.game.behaviour.PlayRandomBehaviour
- RandomValueProvider - Class in net.demilich.metastone.game.spells.desc.valueprovider
- RandomValueProvider(ValueProviderDesc) - Constructor for class net.demilich.metastone.game.spells.desc.valueprovider.RandomValueProvider
- RARITY - Enum constant in enum class net.demilich.metastone.game.cards.CardDescType
- RARITY - Enum constant in enum class net.demilich.metastone.game.cards.desc.CardDescArg
- RARITY - Enum constant in enum class net.demilich.metastone.game.cards.desc.ParseValueType
-
A string matching the name of a
Spellsource.RarityMessage.Rarity
enum. - RARITY - Enum constant in enum class net.demilich.metastone.game.spells.desc.condition.ConditionArg
- RARITY - Enum constant in enum class net.demilich.metastone.game.spells.desc.filter.EntityFilterArg
- RASTAKHANS_RUMBLE - Static variable in class net.demilich.metastone.game.cards.CardSet
- readSignedVarInt(byte[]) - Static method in class com.hiddenswitch.spellsource.util.Varint
- readSignedVarInt(DataInput) - Static method in class com.hiddenswitch.spellsource.util.Varint
- readSignedVarLong(DataInput) - Static method in class com.hiddenswitch.spellsource.util.Varint
- readUnsignedVarInt(byte[]) - Static method in class com.hiddenswitch.spellsource.util.Varint
- readUnsignedVarInt(DataInput) - Static method in class com.hiddenswitch.spellsource.util.Varint
- readUnsignedVarLong(DataInput) - Static method in class com.hiddenswitch.spellsource.util.Varint
- RecastIfMinionsDestroyedSpell - Class in net.demilich.metastone.game.spells.custom
-
Recasts the
SpellArg.SPELL
if any minions were destroyed. - RecastIfMinionsDestroyedSpell() - Constructor for class net.demilich.metastone.game.spells.custom.RecastIfMinionsDestroyedSpell
- RecastMinionSpells - Class in net.demilich.metastone.game.spells.custom
-
Deprecated.
- RecastMinionSpells() - Constructor for class net.demilich.metastone.game.spells.custom.RecastMinionSpells
-
Deprecated.
- RecastUntilMinionsDestroyedSpell - Class in net.demilich.metastone.game.spells.custom
-
Recasts until at least one minion is destroyed.
- RecastUntilMinionsDestroyedSpell() - Constructor for class net.demilich.metastone.game.spells.custom.RecastUntilMinionsDestroyedSpell
- RecastWhileSpell - Class in net.demilich.metastone.game.spells
-
Recasts the
SpellArg.SPELL
SpellArg.HOW_MANY
times or up to 60 (14 if this is Grim Patron) by default. - RecastWhileSpell() - Constructor for class net.demilich.metastone.game.spells.RecastWhileSpell
- receiveCard(int, Card) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Receives a card into the player's hand.
- receiveCard(int, Card, int) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Receives a card into the player's hand.
- receiveCard(int, Card, Entity) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Receives a card into the player's hand.
- receiveCard(int, Card, Entity, boolean) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Receives a card into the player's hand, as though it was drawn.
- ReceiveCardAndDoSomethingSpell - Class in net.demilich.metastone.game.spells
-
Deprecated.by
ReceiveCardSpell
, which supports sub spells inSpellArg.SPELL
. - ReceiveCardAndDoSomethingSpell() - Constructor for class net.demilich.metastone.game.spells.ReceiveCardAndDoSomethingSpell
-
Deprecated.
- ReceiveCardNextTurnSpell - Class in net.demilich.metastone.game.spells.custom
-
Puts
SpellArg.CARD
into the caster's hand at the start of the caster's next turn. - ReceiveCardNextTurnSpell() - Constructor for class net.demilich.metastone.game.spells.custom.ReceiveCardNextTurnSpell
- ReceiveCardsInStorageSpell - Class in net.demilich.metastone.game.spells.custom
-
Receives a copy of all the cards stored on
source
byStoreEntitySpell
. - ReceiveCardsInStorageSpell() - Constructor for class net.demilich.metastone.game.spells.custom.ReceiveCardsInStorageSpell
- ReceiveCardSpell - Class in net.demilich.metastone.game.spells
-
Puts a card in your hand.
- ReceiveCardSpell() - Constructor for class net.demilich.metastone.game.spells.ReceiveCardSpell
- RECEIVED_ON_TURN - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Whenever a
Card
is received into the hand, this attribute indicates on which turn (typicallyGameContext.getTurn()
the card was received. - ReceiveLastCardSpell - Class in net.demilich.metastone.game.spells
-
Retrieves the last card from the filtered list of cards specified by
SpellArg.CARD_SOURCE
andSpellArg.CARD_FILTER
. - ReceiveLastCardSpell() - Constructor for class net.demilich.metastone.game.spells.ReceiveLastCardSpell
- ReceiveOpponentsCastSpellsSpell - Class in net.demilich.metastone.game.spells.custom
-
Receives the spells the opponent cast from their hand their previous turn.
- ReceiveOpponentsCastSpellsSpell() - Constructor for class net.demilich.metastone.game.spells.custom.ReceiveOpponentsCastSpellsSpell
- RecruitSpell - Class in net.demilich.metastone.game.spells
-
Recruits (summons and removes the source card of)
SpellArg.VALUE
minions fromSpellArg.CARD_LOCATION
location. - RecruitSpell() - Constructor for class net.demilich.metastone.game.spells.RecruitSpell
- RED - Static variable in class net.demilich.metastone.game.entities.heroes.HeroClass
- RED_MODIFIER - Enum constant in enum class net.demilich.metastone.game.behaviour.heuristic.WeightedFeature
- ReduceValueProvider - Class in net.demilich.metastone.game.spells.desc.valueprovider
-
Performs
ValueProviderArg.OPERATION
on the values returned byValueProviderArg.VALUE1
applied to each entity resolved byValueProviderArg.TARGET
. - ReduceValueProvider(ValueProviderDesc) - Constructor for class net.demilich.metastone.game.spells.desc.valueprovider.ReduceValueProvider
- refreshAttacksPerRound() - Method in class net.demilich.metastone.game.entities.Actor
-
Refreshes the number of attacks an
Actor
has, typically to 1 or the number ofAttribute.WINDFURY
attacks if the actor has Windfury. - RefreshAttacksSpell - Class in net.demilich.metastone.game.spells
- RefreshAttacksSpell() - Constructor for class net.demilich.metastone.game.spells.RefreshAttacksSpell
- RefreshHeroPowerSpell - Class in net.demilich.metastone.game.spells
-
Refreshes the caster's hero power so it can be used again.
- RefreshHeroPowerSpell() - Constructor for class net.demilich.metastone.game.spells.RefreshHeroPowerSpell
- RefreshManaSpell - Class in net.demilich.metastone.game.spells
-
Refreshes the player's mana by gaining an amount of mana equal to the difference in their max mana and current mana.
- RefreshManaSpell() - Constructor for class net.demilich.metastone.game.spells.RefreshManaSpell
- RelativeToTargetEffectSpell - Class in net.demilich.metastone.game.spells
-
This abstract class provides a way to cast spell effects on targets.
- RelativeToTargetEffectSpell() - Constructor for class net.demilich.metastone.game.spells.RelativeToTargetEffectSpell
- remove(int) - Method in class net.demilich.metastone.game.cards.CardArrayList
- remove(int) - Method in class net.demilich.metastone.game.entities.EntityZone
- remove(Object) - Method in class net.demilich.metastone.game.cards.CardArrayList
- remove(Object) - Method in class net.demilich.metastone.game.entities.EntityZone
- remove(Card) - Method in class net.demilich.metastone.game.cards.CardArrayList
- remove(Card) - Method in interface net.demilich.metastone.game.cards.CardList
-
Removes the specified card instance by reference.
- remove(Card) - Method in class net.demilich.metastone.game.cards.CardZone
- REMOVE_EFFECT - Enum constant in enum class net.demilich.metastone.game.spells.desc.aura.AuraArg
- removeActor(Actor, boolean) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Removes an actor by moving it to...
- RemoveActorPeacefullySpell - Class in net.demilich.metastone.game.spells
-
Removes a
target
actor peacefully (without triggering its deathrattles) from its current zone. - RemoveActorPeacefullySpell() - Constructor for class net.demilich.metastone.game.spells.RemoveActorPeacefullySpell
- removeAll() - Method in class net.demilich.metastone.game.cards.CardArrayList
- removeAll() - Method in interface net.demilich.metastone.game.cards.CardList
-
Removes all the cards from this instance.
- removeAll() - Method in class net.demilich.metastone.game.cards.CardZone
-
Deprecated.
- removeArg(CardCostModifierArg) - Method in class net.demilich.metastone.game.spells.desc.manamodifier.CardCostModifierDesc
- removeArg(SpellArg) - Method in class net.demilich.metastone.game.spells.desc.SpellDesc
- removeAttribute(Player, Entity, Entity, Attribute) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Removes an attribute from an entity.
- RemoveAttributeSpell - Class in net.demilich.metastone.game.spells
-
Removes the
SpellArg.ATTRIBUTE
from the specifiedtarget
. - RemoveAttributeSpell() - Constructor for class net.demilich.metastone.game.spells.RemoveAttributeSpell
- removeAuraEffect - Variable in class net.demilich.metastone.game.spells.aura.SpellAura
- removeAuraEffect(GameContext, Entity) - Method in class net.demilich.metastone.game.spells.aura.Aura
- removeAuraEffect(GameContext, Entity) - Method in class net.demilich.metastone.game.spells.aura.StatefulAttributeValueAura
- removeBonusAttributes(Entity) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Removes all attributes that count as bonuses (essentially baked-in enchantments)
- RemoveBonusAttributes - Class in net.demilich.metastone.game.spells
-
Removes "bonus" attributes, or attributes that didn't start on the text of the minion.
- RemoveBonusAttributes() - Constructor for class net.demilich.metastone.game.spells.RemoveBonusAttributes
- removeCard(String) - Static method in class net.demilich.metastone.game.cards.CardCatalogue
-
Removes the specified card by ID from the catalogue.
- removeCard(Card) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Moves a card to the
Spellsource.ZonesMessage.Zones.GRAVEYARD
. - RemoveCardAndDoSomethingSpell - Class in net.demilich.metastone.game.spells
-
Deprecated.Use a
RemoveCardSpell
with a sub spell like{"class": "RemoveCardSpell", "spell": {"class": ..., "target": "OUTPUT"}}
instead. - RemoveCardAndDoSomethingSpell() - Constructor for class net.demilich.metastone.game.spells.RemoveCardAndDoSomethingSpell
-
Deprecated.
- RemoveCardSpell - Class in net.demilich.metastone.game.spells
-
Removes the
target
Card
by putting it directly from the zone it's currently in into theSpellsource.ZonesMessage.Zones.GRAVEYARD
. - RemoveCardSpell() - Constructor for class net.demilich.metastone.game.spells.RemoveCardSpell
- REMOVED_CARD_ID - Static variable in class com.hiddenswitch.spellsource.cards.base.BaseCardResources
- removeEnchantments(Entity) - Method in class net.demilich.metastone.game.logic.GameLogic
- removeEnchantments(Entity, boolean, boolean, boolean) - Method in class net.demilich.metastone.game.logic.GameLogic
- removeEnchantments(Entity, Predicate<Trigger>) - Method in class net.demilich.metastone.game.logic.GameLogic
- RemoveEnchantmentSpell - Class in net.demilich.metastone.game.spells
-
Expires and removes
SpellArg.HOW_MANY
copies (defaultInteger.MAX_VALUE
) of the enchantments whoseEntity.getSourceCard()
has the card ID ofSpellArg.CARD
from thetarget
. - RemoveEnchantmentSpell() - Constructor for class net.demilich.metastone.game.spells.RemoveEnchantmentSpell
- removeFirst() - Method in class net.demilich.metastone.game.cards.CardArrayList
- removeFirst() - Method in interface net.demilich.metastone.game.cards.CardList
-
Removes the first card.
- removeFirst() - Method in class net.demilich.metastone.game.cards.CardZone
-
Removes the first card in this instance and sets its location to
EntityLocation.UNASSIGNED
, so that it can be added to another zone. - removeInt(String) - Method in class net.demilich.metastone.game.GameContext
-
Removes the specified integer from the context's cloneable storage.
- removePeacefully(Entity) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Removes the specified entity peacefully.
- removeRandom(Multiset<T>) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Choose and remove a random item from a weighted list of options
- removeRandom(List<T>) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Choose and remove a random item from a list of options
- REMOVES_SELF_AT_END_OF_TURN - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Indicates that this
Entity
should remove itself from play peacefully at the end of the current turn. - removeSecrets(Player) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Removes all the secrets for the player.
- RemoveTopUntilMinionAndSummonSpell - Class in net.demilich.metastone.game.spells.custom
-
Removes cards from the top of the caster's deck until a minion is found.
- RemoveTopUntilMinionAndSummonSpell() - Constructor for class net.demilich.metastone.game.spells.custom.RemoveTopUntilMinionAndSummonSpell
- RenounceClassSpell - Class in net.demilich.metastone.game.spells
-
Deprecated.Has no implementation.
Renounce Darkness is now implemented as a combination of other spells and effects.
- RenounceClassSpell() - Constructor for class net.demilich.metastone.game.spells.RenounceClassSpell
-
Deprecated.
- RepeatAllAftermathsSpell - Class in net.demilich.metastone.game.spells.custom
-
Repeats all other aftermaths the casting player has triggered as long as the source is in play.
- RepeatAllAftermathsSpell() - Constructor for class net.demilich.metastone.game.spells.custom.RepeatAllAftermathsSpell
- RepeatAllOtherBattlecriesSpell - Class in net.demilich.metastone.game.spells.custom
-
Retrieves a list of cards using
SpellUtils.getCards(GameContext, Player, Entity, Entity, SpellDesc, int)
and plays their openers with thissource
actor as the source. - RepeatAllOtherBattlecriesSpell() - Constructor for class net.demilich.metastone.game.spells.custom.RepeatAllOtherBattlecriesSpell
- repeatedlyDestroyHero(int) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Repeatedly destroys the hero for the given player ID, to account for heroes that may replace themselves with new heroes on a deathrattle.
- RepeatLastAftermathsSpell - Class in net.demilich.metastone.game.spells.custom
-
Repeats the last
SpellArg.VALUE
aftermaths triggered by owner of thesource
. - RepeatLastAftermathsSpell() - Constructor for class net.demilich.metastone.game.spells.custom.RepeatLastAftermathsSpell
- replace(Card, Card) - Method in class net.demilich.metastone.game.cards.CardArrayList
- replace(Card, Card) - Method in interface net.demilich.metastone.game.cards.CardList
-
Replaces a card by index.
- replace(Card, Card) - Method in class net.demilich.metastone.game.cards.CardZone
-
Replaces a card in this zone, setting the old card's
Entity.entityLocation
toEntityLocation.UNASSIGNED
so that it can be added to another zone. - replaceCard(int, Card, Card) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Replaces the specified old card with the specified new card.
- replaceCard(int, Card, Card, boolean) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Replaces the specified old card with the specified new card.
- ReplaceCardLocationSpell - Class in net.demilich.metastone.game.spells
-
Deprecated.Use
ReplaceCardsSpell
instead. - ReplaceCardLocationSpell() - Constructor for class net.demilich.metastone.game.spells.ReplaceCardLocationSpell
-
Deprecated.
- ReplaceCardsSpell - Class in net.demilich.metastone.game.spells
-
Replaces the
target
with one of the cards fromSpellUtils.getCards(GameContext, Player, Entity, Entity, SpellDesc, int)
. - ReplaceCardsSpell() - Constructor for class net.demilich.metastone.game.spells.ReplaceCardsSpell
- replayContext() - Method in class net.demilich.metastone.game.logic.Trace
- replayContext(boolean) - Method in class net.demilich.metastone.game.logic.Trace
- replayContext(boolean, Consumer<GameContext>) - Method in class net.demilich.metastone.game.logic.Trace
-
Creates a game context and replays it using data from this trace.
- requestAction(GameContext, Player, List<GameAction>) - Method in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
-
Requests an action from the GameStateValueBehaviour using a scoring function.
- requestAction(GameContext, Player, List<GameAction>) - Method in interface net.demilich.metastone.game.behaviour.Behaviour
-
Requests an action from the player.
- requestAction(GameContext, Player, List<GameAction>) - Method in class net.demilich.metastone.game.behaviour.ChooseLastBehaviour
- requestAction(GameContext, Player, List<GameAction>) - Method in class net.demilich.metastone.game.behaviour.FlatMonteCarloBehaviour
- requestAction(GameContext, Player, List<GameAction>) - Method in class net.demilich.metastone.game.behaviour.GreedyOptimizeTurn
- requestAction(GameContext, Player, List<GameAction>) - Method in class net.demilich.metastone.game.behaviour.mcts.MonteCarloTreeSearchBehaviour
- requestAction(GameContext, Player, List<GameAction>) - Method in class net.demilich.metastone.game.behaviour.PlayRandomBehaviour
- requestAction(GameContext, Player, List<GameAction>) - Method in class net.demilich.metastone.game.behaviour.RequestActionFunction
- requestAction(GameContext, Player, List<GameAction>) - Method in interface net.demilich.metastone.game.behaviour.RequestActionFunction.T
- requestAction(Player, List<GameAction>) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Requests an action internally, allowing special request logic to be executed.
- requestActionAsync(GameContext, Player, List<GameAction>, Consumer<GameAction>) - Method in class net.demilich.metastone.game.behaviour.AbstractBehaviour
- requestActionAsync(GameContext, Player, List<GameAction>, Consumer<GameAction>) - Method in interface net.demilich.metastone.game.behaviour.Behaviour
-
Requests an action from a player asynchronously.
- RequestActionFunction - Class in net.demilich.metastone.game.behaviour
-
Delegates the behaviour to a function passed in the constructor of this class.
- RequestActionFunction(RequestActionFunction.T) - Constructor for class net.demilich.metastone.game.behaviour.RequestActionFunction
-
The provided delegate will be called whenever this instance's
RequestActionFunction.requestAction(GameContext, Player, List)
is called. - RequestActionFunction.T - Interface in net.demilich.metastone.game.behaviour
- requestActionStartTime - Variable in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
- REQUIRED_ATTRIBUTE - Enum constant in enum class net.demilich.metastone.game.spells.desc.manamodifier.CardCostModifierArg
-
An attribute that is required for this modifier to apply.
- REQUIRED_ATTRIBUTE - Enum constant in enum class net.demilich.metastone.game.spells.desc.trigger.EventTriggerArg
- requireDraftStatus(DraftStatus) - Method in class com.hiddenswitch.spellsource.draft.DraftLogic
- requiresAtLeastOneTarget() - Method in class net.demilich.metastone.game.spells.desc.condition.AllMatchFilterCondition
- requiresAtLeastOneTarget() - Method in class net.demilich.metastone.game.spells.desc.condition.Condition
-
When
true
andCondition.multipleTargetsEvaluatedAsAnd()
, there must be at least one target in the resolved targets. - RESERVED_BOOLEAN_1 - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Allows spell effects to mark things without a dedicated enchantment.
- RESERVED_BOOLEAN_2 - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Allows spell effects to mark things without a dedicated enchantment.
- RESERVED_BOOLEAN_3 - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Allows spell effects to mark things without a dedicated enchantment.
- RESERVED_BOOLEAN_4 - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Allows spell effects to mark things without a dedicated enchantment.
- RESERVED_BOOLEAN_5 - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Allows spell effects to mark things without a dedicated enchantment.
- RESERVED_INTEGER_1 - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Allows spell effects to count and keep track of values without a dedicate enchantment.
- RESERVED_INTEGER_2 - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Allows spell effects to count and keep track of values without a dedicated enchantment.
- RESERVED_INTEGER_3 - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Allows spell effects to count and keep track of values without a dedicated enchantment.
- RESERVED_INTEGER_4 - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Allows spell effects to count and keep track of values without a dedicated enchantment.
- RESERVED_INTEGER_5 - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Allows spell effects to count and keep track of values without a dedicated enchantment.
- ReservoirCondition - Class in net.demilich.metastone.game.spells.desc.condition
-
true
when the number of cards in the player's deck is greater or equal to theConditionArg.VALUE
. - ReservoirCondition(ConditionDesc) - Constructor for class net.demilich.metastone.game.spells.desc.condition.ReservoirCondition
- ReservoirsAlwaysActiveAura - Class in net.demilich.metastone.game.spells.aura
-
When this aura is in play, the
ReservoirCondition
always evaluates totrue
andReservoirSpell
always include their bonus effects. - ReservoirsAlwaysActiveAura(AuraDesc) - Constructor for class net.demilich.metastone.game.spells.aura.ReservoirsAlwaysActiveAura
- reservoirsForced(GameContext, Player, Entity) - Static method in class net.demilich.metastone.game.spells.desc.condition.ReservoirCondition
- ReservoirsNeverActiveAura - Class in net.demilich.metastone.game.spells.aura
-
When this aura is in play,
ReservoirSpell
effects are never activated andReservoirCondition
always evalutes tofalse
. - ReservoirsNeverActiveAura(AuraDesc) - Constructor for class net.demilich.metastone.game.spells.aura.ReservoirsNeverActiveAura
- ReservoirSpell - Class in net.demilich.metastone.game.spells
-
Shorthand for a
ConditionalEffectSpell
that only plays the conditional (second) spell if the caster's deck has a number of cards greater than or equal to theSpellArg.VALUE
. - ReservoirSpell() - Constructor for class net.demilich.metastone.game.spells.ReservoirSpell
- ResetDeckSpell - Class in net.demilich.metastone.game.spells
-
Sets the deck to its initial state at the start of the game.
- ResetDeckSpell() - Constructor for class net.demilich.metastone.game.spells.ResetDeckSpell
- resetEntityLocations() - Method in class net.demilich.metastone.game.entities.Entity
-
Should not be called.
- resolveAftermaths(int, EntityReference, List<SpellDesc>, int, int) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Casts a list of deathrattle spells given information about the entity that "hosts" those deathrattles
- resolveAftermaths(int, EntityReference, List<SpellDesc>, int, int, boolean) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Casts a list of aftermath spells given information about the entity that "hosts" those aftermath
- resolveAftermaths(Player, Actor) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Executes the deathrattle effect written for this
Actor
. - resolveAftermaths(Player, Actor, EntityLocation) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Executes the deathrattle effect written on this
Actor
, wherever it is. - resolveDamageEvent(Player, Actor, Entity, int, boolean, EnumSet<Spellsource.DamageTypeMessage.DamageType>) - Method in class net.demilich.metastone.game.logic.GameLogic
- resolveDamageEvent(Player, Actor, Entity, int, EnumSet<Spellsource.DamageTypeMessage.DamageType>) - Method in class net.demilich.metastone.game.logic.GameLogic
- resolveFinalString(GameContext, Player, Entity) - Method in class net.demilich.metastone.game.cards.dynamicdescription.ConditionalDescription
- resolveFinalString(GameContext, Player, Entity) - Method in class net.demilich.metastone.game.cards.dynamicdescription.DynamicDescription
- resolveFinalString(GameContext, Player, Entity) - Method in class net.demilich.metastone.game.cards.dynamicdescription.MetaDescription
- resolveFinalString(GameContext, Player, Entity) - Method in class net.demilich.metastone.game.cards.dynamicdescription.PluralDescription
- resolveFinalString(GameContext, Player, Entity) - Method in class net.demilich.metastone.game.cards.dynamicdescription.StringDescription
- resolveFinalString(GameContext, Player, Entity) - Method in class net.demilich.metastone.game.cards.dynamicdescription.ValueDescription
- resolveOpeners(int, Actor) - Method in class net.demilich.metastone.game.logic.GameLogic
- resolveSingleTarget(Player, Entity, EntityReference) - Method in class net.demilich.metastone.game.GameContext
-
Resolves a single target that could be a
EntityReference.isTargetGroup()
that points to exactly one entity, likeEntityReference.FRIENDLY_HERO
. - resolveSingleTarget(EntityReference) - Method in class net.demilich.metastone.game.GameContext
-
Tries to find the entity references by the
EntityReference
. - resolveSingleTarget(EntityReference, boolean) - Method in class net.demilich.metastone.game.GameContext
-
Resolves a single target given the specification, even if the specification is a
EntityReference.isTargetGroup()
- resolveTarget(Player, Entity, EntityReference) - Method in class net.demilich.metastone.game.GameContext
-
Interprets
EntityReference
that specifies a group ofEntity
objects, likeEntityReference.ALL_MINIONS
. - resolveTarget(Player, Entity, EntityReference, SpellDesc, GameAction) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Resolves a targeting
EntityReference
, triggering a target acquisition event on the board. - resolveTargetKey(GameContext, Player, Entity, EntityReference) - Method in class net.demilich.metastone.game.logic.TargetLogic
-
Resolves an
EntityReference
from the point of view of the specified player, context and entity. - restoreStartingStateTo(GameContext) - Method in class net.demilich.metastone.game.logic.Trace
- resume() - Method in class net.demilich.metastone.game.GameContext
-
Resumes a game, playing it to completion.
- ResurrectFromBothSpell - Class in net.demilich.metastone.game.spells
-
Resurrects minions from both player's graveyards.
- ResurrectFromBothSpell() - Constructor for class net.demilich.metastone.game.spells.ResurrectFromBothSpell
- ResurrectFromEntityStorageSpell - Class in net.demilich.metastone.game.spells.custom
-
Resurrects and clears the entities stored on the
source
. - ResurrectFromEntityStorageSpell() - Constructor for class net.demilich.metastone.game.spells.custom.ResurrectFromEntityStorageSpell
- ResurrectSpell - Class in net.demilich.metastone.game.spells
-
Resurrects minions from the caster's graveyard.
- ResurrectSpell() - Constructor for class net.demilich.metastone.game.spells.ResurrectSpell
- RETIRED - Enum constant in enum class com.hiddenswitch.spellsource.draft.DraftStatus
-
The draft has been retired (ended) by the user.
- ReturnMinionToHandSpell - Class in net.demilich.metastone.game.spells
-
Deprecated.Use
ReturnTargetToHandSpell
instead. - ReturnMinionToHandSpell() - Constructor for class net.demilich.metastone.game.spells.ReturnMinionToHandSpell
-
Deprecated.
- ReturnTargetToHandSpell - Class in net.demilich.metastone.game.spells
-
Returns the
target
to the player's hand as a card. - ReturnTargetToHandSpell() - Constructor for class net.demilich.metastone.game.spells.ReturnTargetToHandSpell
- ReturnToHandEvent - Class in net.demilich.metastone.game.events
-
Encapsulates the information related to returning a target to the hand.
- ReturnToHandEvent(GameContext, int, Card, Entity) - Constructor for class net.demilich.metastone.game.events.ReturnToHandEvent
- ReturnToHandTrigger - Class in net.demilich.metastone.game.spells.trigger
- ReturnToHandTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.ReturnToHandTrigger
- ReturnToHandWithEnchantmentsSpell - Class in net.demilich.metastone.game.spells
-
Returns the
target
to the hand, keeping its enchantments. - ReturnToHandWithEnchantmentsSpell() - Constructor for class net.demilich.metastone.game.spells.ReturnToHandWithEnchantmentsSpell
- revealCard(Player, Card) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Reveals a card to both players.
- RevealCardSpell - Class in net.demilich.metastone.game.spells
-
Reveals a card from a filter,
SpellArg.CARD
or thetarget
if neither is specified. - RevealCardSpell() - Constructor for class net.demilich.metastone.game.spells.RevealCardSpell
- revealsSelf() - Method in class net.demilich.metastone.game.cards.desc.CardDesc
-
Indicates whether, based on the code written on this card, this card ever reveals itself.
- revert(boolean) - Static method in class net.demilich.metastone.game.spells.SetCardSpell
- REVERT_TRIGGER - Enum constant in enum class net.demilich.metastone.game.spells.desc.aura.AuraArg
- REVERT_TRIGGER - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
Used by the
RevertableSpell
series of spells to indicate whichEventTrigger
will cause the effects to be "reverted." - RevertableSpell - Class in net.demilich.metastone.game.spells
-
This spell is the base class for spells that can be undone by a
SpellArg.REVERT_TRIGGER
orSpellArg.SECOND_REVERT_TRIGGER
. - RevertableSpell() - Constructor for class net.demilich.metastone.game.spells.RevertableSpell
- ReviveMinionSpell - Class in net.demilich.metastone.game.spells
-
Reviving a minion, unlike resurrecting it, puts a minion back into the position on the board where it died.
- ReviveMinionSpell() - Constructor for class net.demilich.metastone.game.spells.ReviveMinionSpell
- REWARD - Static variable in class net.demilich.metastone.game.cards.CardSet
- rhs(GameContext, Player, ConditionDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.condition.EntityEqualityCondition
- rhs(GameContext, Player, ConditionDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.condition.EntityEqualsCondition
- rhs(GameContext, Player, ConditionDesc, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.condition.EventTargetMatchesReferenceCondition
- RIGHT - Enum constant in enum class net.demilich.metastone.game.entities.minions.BoardPositionRelative
- RIGHT_ADJACENT_MINION - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References the minion to the right of the
source
of this targeting resolution, or a zero-length list if there isn't one - RIGHTMOST_ENEMY_MINION - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References the enemy minion with the largest index in the minions zone, or an empty list if the minion zone is empty.
- RIGHTMOST_FRIENDLY_CARD_HAND - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References the card in the friendly player's hand with the highest index.
- RIGHTMOST_FRIENDLY_MINION - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References the friendly minion with the largest index in the minions zone, or an empty list if the minion zone is empty.
- RISE_OF_SHADOWS - Static variable in class net.demilich.metastone.game.cards.CardSet
- ROASTED - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Indicates this card was roasted (removed from the top of the deck) by a
RoastSpell
on the specifiedInteger
turn. - RoastEvent - Class in net.demilich.metastone.game.events
-
A card was roasted (discarded from the deck).
- RoastEvent(GameContext, int, Card) - Constructor for class net.demilich.metastone.game.events.RoastEvent
- RoastSpell - Class in net.demilich.metastone.game.spells
-
Roasting a card removes the card from the top of the deck and adds the
Attribute.ROASTED
to it. - RoastSpell() - Constructor for class net.demilich.metastone.game.spells.RoastSpell
- RoastTrigger - Class in net.demilich.metastone.game.spells.trigger
- RoastTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.RoastTrigger
- rollout(GameAction, GameContext, Player, Collection<GameAction>) - Method in class net.demilich.metastone.game.logic.ActionLogic
-
Rolls out actions.
- rollOut(Node) - Method in class net.demilich.metastone.game.behaviour.mcts.Node
- ROUNDS - Static variable in class com.hiddenswitch.spellsource.draft.DraftLogic
-
Indicates the number of rounds of choices the user will make among
DraftLogic.CARDS_PER_ROUND
options to build a deck for a draft. - RUNNING - Enum constant in enum class net.demilich.metastone.game.logic.GameStatus
- RUSH - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
S
- SameHeroClassFilter - Class in net.demilich.metastone.game.spells.desc.filter
- SameHeroClassFilter(EntityFilterDesc) - Constructor for class net.demilich.metastone.game.spells.desc.filter.SameHeroClassFilter
- SANDS_OF_TIME - Static variable in class net.demilich.metastone.game.cards.CardSet
- save(GameContext, double) - Method in class net.demilich.metastone.game.behaviour.TranspositionTable
- savePlan(Optional<GameStateValueBehaviour.Node>) - Method in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
-
Saves the plan and retrieves the game action from the max score
- SCHEME - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Counter for each time a "XXXXX's Scheme" card has upgraded
- SECOND_PLAYER_BONUS_CARDS - Enum constant in enum class net.demilich.metastone.game.cards.desc.CardDescArg
- SECOND_REVERT_TRIGGER - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
Used by the
RevertableSpell
series of spells to indicate anotherEventTrigger
that will cause the effects to be "reverted." - SECONDARY_FILTER - Enum constant in enum class net.demilich.metastone.game.spells.desc.aura.AuraArg
- SECONDARY_NAME - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
Used by the
CreateCardSpell
to name the card is creates. - SECONDARY_TARGET - Enum constant in enum class net.demilich.metastone.game.spells.desc.aura.AuraArg
- SECONDARY_TARGET - Enum constant in enum class net.demilich.metastone.game.spells.desc.condition.ConditionArg
- SECONDARY_TARGET - Enum constant in enum class net.demilich.metastone.game.spells.desc.filter.EntityFilterArg
- SECONDARY_TARGET - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
Typically interpreted as a second target for effects that have a
source
, atarget
, and another entity that does something to thetarget
. - SECONDARY_TRIGGER - Enum constant in enum class net.demilich.metastone.game.spells.desc.aura.AuraArg
-
Deprecated.
- SECONDARY_VALUE - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
Indicates a second value.
- Secret - Class in net.demilich.metastone.game.spells.trigger.secrets
- Secret(EnchantmentDesc, Card) - Constructor for class net.demilich.metastone.game.spells.trigger.secrets.Secret
- Secret(EventTrigger, SpellDesc, Card) - Constructor for class net.demilich.metastone.game.spells.trigger.secrets.Secret
- SECRET - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
A
Card
has this attribute to help spells find secrets in the deck. - SECRET - Enum constant in enum class net.demilich.metastone.game.cards.desc.CardDescArg
- SECRET - Enum constant in enum class net.demilich.metastone.game.cards.desc.ParseValueType
-
An
EnchantmentDesc
that should be interpreted as aSecret
. - SECRET - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
Used by the
AddSecretSpell
to define aSecret
to put into play. - SECRET_COUNT - Enum constant in enum class net.demilich.metastone.game.spells.PlayerAttribute
-
The number of secrets the player has.
- SecretPlayedEvent - Class in net.demilich.metastone.game.events
-
A secret was played.
- SecretPlayedEvent(GameContext, int, Card) - Constructor for class net.demilich.metastone.game.events.SecretPlayedEvent
- SecretPlayedTrigger - Class in net.demilich.metastone.game.spells.trigger
-
Fires when a secret is played from the hand.
- SecretPlayedTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.SecretPlayedTrigger
- SecretRevealedEvent - Class in net.demilich.metastone.game.events
-
A secret was revealed.
- SecretRevealedEvent(GameContext, Card, int) - Constructor for class net.demilich.metastone.game.events.SecretRevealedEvent
- SecretRevealedTrigger - Class in net.demilich.metastone.game.spells.trigger
- SecretRevealedTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.SecretRevealedTrigger
- SecretsContainsFilter - Class in net.demilich.metastone.game.spells.desc.filter
- SecretsContainsFilter(EntityFilterDesc) - Constructor for class net.demilich.metastone.game.spells.desc.filter.SecretsContainsFilter
- SecretSource - Class in net.demilich.metastone.game.spells.desc.source
-
Returns a list of
Secret
cards from the controller's hero class or theCardSourceArg.HERO_CLASS
if this controller ordinarily does not have secrets. - SecretSource(CardSourceDesc) - Constructor for class net.demilich.metastone.game.spells.desc.source.SecretSource
- SecretsTriggerTwiceAura - Class in net.demilich.metastone.game.spells.aura
-
When this aura is active, spells from
Secret
will be performed twice - SecretsTriggerTwiceAura(AuraDesc) - Constructor for class net.demilich.metastone.game.spells.aura.SecretsTriggerTwiceAura
- secretTriggered(Player, Secret) - Method in class net.demilich.metastone.game.logic.GameLogic
- select(Node) - Method in class net.demilich.metastone.game.behaviour.mcts.UctPolicy
- SELECT_HERO - Enum constant in enum class com.hiddenswitch.spellsource.draft.DraftStatus
-
The draft expects the user to select a champion.
- selectCard() - Method in class com.hiddenswitch.spellsource.draft.DraftContext
- selectCard(int) - Method in class com.hiddenswitch.spellsource.draft.DraftLogic
-
Selects a card from teh current choice index.
- selectHero() - Method in class com.hiddenswitch.spellsource.draft.DraftContext
- SELF - Enum constant in enum class net.demilich.metastone.game.cards.desc.HasEntrySet.BfsEnum
- SELF - Enum constant in enum class net.demilich.metastone.game.spells.TargetPlayer
-
The player that owns the
source
of the spell or action. - SELF - Static variable in class net.demilich.metastone.game.entities.heroes.HeroClass
- SELF - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
Returns the
source
of the target resolution. - SerializationContext() - Constructor for class net.demilich.metastone.game.cards.desc.DescDeserializer.SerializationContext
- serialize(JsonGenerator, SerializerProvider) - Method in class net.demilich.metastone.game.cards.CardAttributeMap
- serialize(Desc, JsonGenerator, SerializerProvider) - Method in class net.demilich.metastone.game.cards.desc.DescSerializer
- serialize(HasDesc, JsonGenerator, SerializerProvider) - Method in class net.demilich.metastone.game.cards.desc.HasDescSerializer
- serialize(XORShiftRandom, JsonGenerator, SerializerProvider) - Method in class net.demilich.metastone.game.logic.XORShiftRandom.XORShiftRandomSerializer
- serialize(Enchantment, JsonGenerator, SerializerProvider) - Method in class net.demilich.metastone.game.cards.desc.EnchantmentSerializer
- serialize(EntityReference, JsonGenerator, SerializerProvider) - Method in class net.demilich.metastone.game.cards.desc.EntityReferenceSerializer
- serializeWithType(JsonGenerator, SerializerProvider, TypeSerializer) - Method in class net.demilich.metastone.game.cards.CardAttributeMap
- set(int, E) - Method in class net.demilich.metastone.game.entities.EntityZone
- set(int, Card) - Method in class net.demilich.metastone.game.cards.CardArrayList
- set(WeightedFeature, double) - Method in class net.demilich.metastone.game.behaviour.heuristic.FeatureVector
- set(Statistic, Object) - Method in class net.demilich.metastone.game.statistics.GameStatistics
- SET - Enum constant in enum class net.demilich.metastone.game.spells.desc.valueprovider.AlgebraicOperation
- setActions(List<Integer>) - Method in class net.demilich.metastone.game.logic.Trace
- setActionStack(Deque<GameAction>) - Method in class net.demilich.metastone.game.GameContext
- setActionsThisTurn(int) - Method in class net.demilich.metastone.game.GameContext
- setActionType(Spellsource.ActionTypeMessage.ActionType) - Method in class net.demilich.metastone.game.actions.GameAction
- setActivated(boolean) - Method in class net.demilich.metastone.game.spells.trigger.Enchantment
- setActivationTriggers(List<EventTrigger>) - Method in class net.demilich.metastone.game.spells.trigger.Enchantment
- setActivationTriggers(EventTriggerDesc[]) - Method in class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDesc
- setActive(boolean) - Method in class net.demilich.metastone.game.entities.weapons.Weapon
- setActivePlayerId(int) - Method in class net.demilich.metastone.game.GameContext
- setApplyAuraEffect(SpellDesc) - Method in class net.demilich.metastone.game.spells.aura.SpellAura
- setArt(Spellsource.Art) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- setAttack(int) - Method in class net.demilich.metastone.game.entities.Actor
- SetAttackerSpell - Class in net.demilich.metastone.game.spells
-
During a
TargetAcquisitionEvent
or aPhysicalAttackEvent
firing, changes theEntityReference.ATTACKER
to the specifiedtarget
. - SetAttackerSpell() - Constructor for class net.demilich.metastone.game.spells.SetAttackerSpell
- SetAttackSpell - Class in net.demilich.metastone.game.spells
-
Sets the
target
's attack-related attributes such that the result ofActor.getAttack()
orCard.getAttack()
is equal to theSpellArg.VALUE
. - SetAttackSpell() - Constructor for class net.demilich.metastone.game.spells.SetAttackSpell
- setAttribute(Attribute) - Method in class net.demilich.metastone.game.entities.Entity
-
Sets an attribute.
- setAttribute(Attribute, int) - Method in class net.demilich.metastone.game.entities.Entity
-
Sets an attribute to a specific integer value.
- setAttribute(Attribute, Object) - Method in class net.demilich.metastone.game.entities.Entity
-
Sets an attribute to a generic object, like a string.
- setAttributes(AttributeMap) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- SetAttributeSpell - Class in net.demilich.metastone.game.spells
- SetAttributeSpell() - Constructor for class net.demilich.metastone.game.spells.SetAttributeSpell
- setAura(AuraDesc) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- setAuras(AuraDesc[]) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- setAuthor(String) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- setBaseAttack(int) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- setBaseAttack(int) - Method in class net.demilich.metastone.game.entities.Actor
- setBaseHp(int) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- setBaseHp(int) - Method in class net.demilich.metastone.game.entities.Actor
- setBaseManaCost(int) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- setBaseStats(int, int) - Method in class net.demilich.metastone.game.entities.minions.Minion
- setBattlecry(OpenerDesc) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- setBehaviour(int, Behaviour) - Method in class net.demilich.metastone.game.GameContext
- setBehaviour(DraftBehaviour) - Method in class com.hiddenswitch.spellsource.draft.DraftContext
-
Sets the behaviour.
- setBehaviours(Behaviour[]) - Method in class net.demilich.metastone.game.GameContext
- setCard(Card) - Method in class net.demilich.metastone.game.actions.DiscoverAction
- setCard(Card) - Method in class net.demilich.metastone.game.cards.CardAttributeMap
- setCardCostModifier(CardCostModifierDesc) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- setCardIds(List<String>) - Method in class net.demilich.metastone.game.decks.DeckCreateRequest
- setCardIds(List<String>) - Method in class net.demilich.metastone.game.logic.DeckTrace
- setCards(List<List<String>>) - Method in class com.hiddenswitch.spellsource.draft.PrivateDraftState
- setCards(CardList) - Method in class net.demilich.metastone.game.decks.GameDeck
- SetCardSpell - Class in net.demilich.metastone.game.spells
-
Sets the
target
Card
'sAttribute.CARD_ID
orAttribute.AURA_CARD_ID
to the card ID specified inSpellArg.CARD
. - SetCardSpell() - Constructor for class net.demilich.metastone.game.spells.SetCardSpell
- setCardsRemaining(int) - Method in class com.hiddenswitch.spellsource.draft.PublicDraftState
- setCatalogueVersion(int) - Method in class net.demilich.metastone.game.logic.Trace
- setChooseBothBattlecry(OpenerDesc) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- setChooseBothCardId(String) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- setChooseOneBattlecries(OpenerDesc[]) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- setChooseOneCardIds(String[]) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- setChooseOneOptionIndex(Integer) - Method in class net.demilich.metastone.game.actions.GameAction
- setCollectible(boolean) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- setCondition(Condition) - Method in class net.demilich.metastone.game.actions.OpenerAction
- setCondition(ConditionDesc) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- setCondition(ConditionDesc) - Method in class net.demilich.metastone.game.spells.desc.OpenerDesc
- setContext(GameContext) - Method in class net.demilich.metastone.game.logic.GameLogic
- setCopyToActor(boolean) - Method in class net.demilich.metastone.game.spells.trigger.Enchantment
- setCountByValue(boolean) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- setCountByValue(boolean) - Method in class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDesc
- setCountByValue(boolean) - Method in class net.demilich.metastone.game.spells.trigger.Enchantment
- setCountUntilCast(int) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- setCountUntilCast(Integer) - Method in class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDesc
- setCountUntilCast(Integer) - Method in class net.demilich.metastone.game.spells.trigger.Enchantment
- setCurrentCardChoices(List<String>) - Method in class com.hiddenswitch.spellsource.draft.PublicDraftState
- setDamage(int) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- setDeathrattle(SpellDesc) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- setDeck(int, GameDeck) - Method in class net.demilich.metastone.game.GameContext
-
Sets the specified player's deck and hero (by implication)
- setDeckCardIds(List<DeckTrace>) - Method in class net.demilich.metastone.game.logic.Trace
- setDeckFormat(DeckFormat) - Method in class net.demilich.metastone.game.GameContext
- setDeckFormatName(String) - Method in class net.demilich.metastone.game.logic.Trace
- setDeckFormatSets(List<String>) - Method in class net.demilich.metastone.game.logic.Trace
- setDeckId(String) - Method in class com.hiddenswitch.spellsource.draft.PublicDraftState
- setDeckId(String) - Method in class net.demilich.metastone.game.decks.CollectionDeck
- setDeckId(String) - Method in class net.demilich.metastone.game.decks.GameDeck
- setDeckTrigger(EnchantmentDesc) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- setDeckTriggers(EnchantmentDesc[]) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- setDesc(CardDesc) - Method in class net.demilich.metastone.game.cards.Card
- setDesc(CardDesc) - Method in class net.demilich.metastone.game.cards.CardCatalogueRecord
- setDesc(Desc<?, ?>) - Method in class net.demilich.metastone.game.cards.costmodifier.CardCostModifier
- setDesc(Desc<?, ?>) - Method in class net.demilich.metastone.game.cards.desc.Desc
- setDesc(Desc<?, ?>) - Method in interface net.demilich.metastone.game.cards.desc.HasDesc
- setDesc(Desc<?, ?>) - Method in class net.demilich.metastone.game.cards.dynamicdescription.DynamicDescription
- setDesc(Desc<?, ?>) - Method in class net.demilich.metastone.game.spells.aura.Aura
- setDesc(Desc<?, ?>) - Method in class net.demilich.metastone.game.spells.desc.condition.Condition
- setDesc(Desc<?, ?>) - Method in class net.demilich.metastone.game.spells.desc.filter.EntityFilter
- setDesc(Desc<?, ?>) - Method in class net.demilich.metastone.game.spells.desc.source.CardSource
- setDesc(Desc<?, ?>) - Method in class net.demilich.metastone.game.spells.desc.valueprovider.ValueProvider
- setDesc(Desc<?, ?>) - Method in class net.demilich.metastone.game.spells.Spell
- setDesc(Desc<?, ?>) - Method in class net.demilich.metastone.game.spells.trigger.EventTrigger
- setDescription(String) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- setDescription(String) - Method in class net.demilich.metastone.game.decks.GameDeck
- setDescription(String) - Method in class net.demilich.metastone.game.entities.Entity
-
Sets the description by setting the
Attribute.DESCRIPTION
attribute. - setDescription(String) - Method in class net.demilich.metastone.game.spells.desc.OpenerDesc
- setDescription(String) - Method in class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDesc
- SetDescriptionSpell - Class in net.demilich.metastone.game.spells
-
Sets the
target
entity'sAttribute.DESCRIPTION
to the string specified inSpellArg.DESCRIPTION
, or clears it if no description is specified. - SetDescriptionSpell() - Constructor for class net.demilich.metastone.game.spells.SetDescriptionSpell
- setDisposeNodes(boolean) - Method in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
- setDraft(boolean) - Method in class net.demilich.metastone.game.decks.DeckCreateRequest
- setDraftIndex(int) - Method in class com.hiddenswitch.spellsource.draft.PublicDraftState
- setDurability(int) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- setDynamicDescription(DynamicDescriptionDesc[]) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- setEffectSource(Entity) - Method in class net.demilich.metastone.game.entities.Entity
- setEntityIds(List<Integer>) - Method in class net.demilich.metastone.game.logic.MulliganTrace
- setEntityLocation(EntityLocation) - Method in class net.demilich.metastone.game.entities.Entity
-
Should not be called.
- setEnvironment(Map<Environment, Object>) - Method in class net.demilich.metastone.game.GameContext
- setEventTrigger(EventTriggerDesc) - Method in class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDesc
- setExceptionCount(int) - Method in class net.demilich.metastone.game.statistics.SimulationResult
- setExpandDepthForLethal(boolean) - Method in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
- setExpirationTriggers(List<EventTrigger>) - Method in class net.demilich.metastone.game.spells.trigger.Enchantment
- setExpirationTriggers(EventTriggerDesc[]) - Method in class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDesc
- setFileFormatVersion(int) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- setFires(int) - Method in class net.demilich.metastone.game.spells.trigger.Enchantment
- setFlavor(String) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- setForceGarbageCollection(boolean) - Method in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
- setFormat(String) - Method in class net.demilich.metastone.game.decks.DeckCreateRequest
- setFormat(DeckFormat) - Method in class net.demilich.metastone.game.decks.GameDeck
- setGameState(GameState) - Method in class net.demilich.metastone.game.GameContext
- setGameTriggers(EnchantmentDesc[]) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- setGlowConditions(List<Condition>) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- setGroup(SpellDesc[]) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- setHero(String) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- setHero(Hero) - Method in class net.demilich.metastone.game.Player
-
Sets the player's current hero.
- setHeroCard(Card) - Method in class net.demilich.metastone.game.decks.GameDeck
- setHeroCardId(String) - Method in class net.demilich.metastone.game.decks.DeckCreateRequest
- setHeroClass(String) - Method in class com.hiddenswitch.spellsource.draft.PublicDraftState
- setHeroClass(String) - Method in class net.demilich.metastone.game.cards.Card
- setHeroClass(String) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- setHeroClass(String) - Method in class net.demilich.metastone.game.decks.DeckCreateRequest
- setHeroClass(String) - Method in class net.demilich.metastone.game.decks.GameDeck
- setHeroClass(String) - Method in class net.demilich.metastone.game.entities.heroes.Hero
- setHeroClassChoices(List<String>) - Method in class com.hiddenswitch.spellsource.draft.PublicDraftState
- setHeroClasses(String[]) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- setHeroClasses(List<String>) - Method in class net.demilich.metastone.game.logic.Trace
- SetHeroHpSpell - Class in net.demilich.metastone.game.spells
-
Deprecated.
- SetHeroHpSpell() - Constructor for class net.demilich.metastone.game.spells.SetHeroHpSpell
-
Deprecated.
- setHeroPower(String) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- setHostReference(EntityReference) - Method in class net.demilich.metastone.game.spells.trigger.Enchantment
- setHostReference(EntityReference) - Method in interface net.demilich.metastone.game.spells.trigger.Trigger
-
Sets or changes the
Entity
that is the owner / host of this trigger. - setHp(int) - Method in class net.demilich.metastone.game.entities.Actor
- setHpAndMaxHp(Actor, int) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Increment or decrement the
Actor.getMaxHp()
property of aActor
- SetHpSpell - Class in net.demilich.metastone.game.spells
-
Sets the
Actor
orCard
's hitpoints to the specifiedSpellArg.VALUE
, overriding any existing bonuses stored inAttribute.HP_BONUS
. - SetHpSpell() - Constructor for class net.demilich.metastone.game.spells.SetHpSpell
- setId(int) - Method in class net.demilich.metastone.game.actions.GameAction
- setId(int) - Method in class net.demilich.metastone.game.entities.Actor
- setId(int) - Method in class net.demilich.metastone.game.entities.Entity
- setId(int) - Method in class net.demilich.metastone.game.Player
-
Sets the player's ID.
- setId(int) - Method in class net.demilich.metastone.game.targeting.EntityReference
- setId(String) - Method in class net.demilich.metastone.game.cards.CardCatalogueRecord
- setId(String) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- setId(String) - Method in class net.demilich.metastone.game.logic.Trace
- setIdFactory(IdFactoryImpl) - Method in class net.demilich.metastone.game.logic.GameLogic
- setIgnoreEvents(boolean) - Method in class net.demilich.metastone.game.GameContext
- setIndexPlan(Deque<Integer>) - Method in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
- setInventoryIds(List<String>) - Method in class net.demilich.metastone.game.decks.DeckCreateRequest
- setKeepAfterTransform(boolean) - Method in class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDesc
- setKeepAfterTransform(boolean) - Method in class net.demilich.metastone.game.spells.trigger.Enchantment
- setLastCardPlayed(int, EntityReference) - Method in class net.demilich.metastone.game.GameContext
- setLastCardPlayedBeforeCurrentSequence(int, EntityReference) - Method in class net.demilich.metastone.game.GameContext
- setLastSpellPlayedThisTurn(int, EntityReference) - Method in class net.demilich.metastone.game.GameContext
- setLegacy(Boolean) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- setLethalTimeout(long) - Method in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
- setLockedMana(int) - Method in class net.demilich.metastone.game.Player
-
Sets the amount of mana that was overloaded.
- setLogger(Logger) - Method in class net.demilich.metastone.game.GameContext
- setLogic(DraftLogic) - Method in class com.hiddenswitch.spellsource.draft.DraftContext
- setLogic(GameLogic) - Method in class net.demilich.metastone.game.GameContext
- setLookup(Map<Integer, Entity>) - Method in class net.demilich.metastone.game.entities.EntityZone
- setLosses(int) - Method in class com.hiddenswitch.spellsource.draft.PublicDraftState
- setMana(int) - Method in class net.demilich.metastone.game.Player
-
Sets the current mana this player has.
- setManaCostModifier(ValueProviderDesc) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- setMaxDepth(int) - Method in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
- setMaxFires(Integer) - Method in class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDesc
- setMaxFires(Integer) - Method in class net.demilich.metastone.game.spells.trigger.Enchantment
- setMaxFiresPerSequence(Integer) - Method in class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDesc
- setMaxFiresPerSequence(Integer) - Method in class net.demilich.metastone.game.spells.trigger.Enchantment
- setMaxHp(int) - Method in class net.demilich.metastone.game.entities.Actor
- setMaxMana(int) - Method in class net.demilich.metastone.game.Player
-
Gives the player this many "empty mana crystals."
- SetMaxManaSpell - Class in net.demilich.metastone.game.spells
-
Sets a player's max mana to the given
SpellArg.VALUE
- SetMaxManaSpell() - Constructor for class net.demilich.metastone.game.spells.SetMaxManaSpell
- setMulligans(List<MulliganTrace>) - Method in class net.demilich.metastone.game.logic.Trace
- setName(String) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- setName(String) - Method in class net.demilich.metastone.game.decks.DeckCreateRequest
- setName(String) - Method in class net.demilich.metastone.game.decks.DeckFormat
- setName(String) - Method in class net.demilich.metastone.game.decks.GameDeck
- setName(String) - Method in class net.demilich.metastone.game.entities.Entity
- setName(String) - Method in class net.demilich.metastone.game.spells.desc.OpenerDesc
- setName(String) - Method in class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDesc
- setNumberOfGames(int) - Method in class net.demilich.metastone.game.statistics.SimulationResult
- setOnEquip(SpellDesc) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- setOnEquip(SpellDesc) - Method in class net.demilich.metastone.game.entities.weapons.Weapon
- setOneTurn(boolean) - Method in class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDesc
- setOneTurn(boolean) - Method in class net.demilich.metastone.game.spells.trigger.Enchantment
- setOnUnequip(SpellDesc) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- setOnUnequip(SpellDesc) - Method in class net.demilich.metastone.game.entities.weapons.Weapon
- setOpener(OpenerDesc) - Method in interface net.demilich.metastone.game.actions.OpenerOverridable
-
Sets the battlecry.
- setOpener(OpenerDesc) - Method in class net.demilich.metastone.game.actions.PlayHeroCardAction
- setOpener(OpenerDesc) - Method in class net.demilich.metastone.game.actions.PlayMinionCardAction
- setOpener(OpenerDesc) - Method in class net.demilich.metastone.game.actions.PlayWeaponCardAction
- setOtherTriggers(List<Trigger>) - Method in class net.demilich.metastone.game.GameContext
- setOverrideChild(boolean) - Method in class net.demilich.metastone.game.actions.GameAction
- setOwner(int) - Method in class net.demilich.metastone.game.entities.Actor
- setOwner(int) - Method in class net.demilich.metastone.game.entities.Entity
- setOwner(int) - Method in interface net.demilich.metastone.game.spells.trigger.Trigger
-
Sets the player who is the owner of this trigger.
- setPact(boolean) - Method in class net.demilich.metastone.game.spells.trigger.secrets.Quest
-
Set to
true
by theAddPactSpell
. - setParallel(boolean) - Method in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
- setPassiveTrigger(EnchantmentDesc) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- setPassiveTriggers(EnchantmentDesc[]) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- setPersistentOwner(boolean) - Method in class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDesc
- setPersistentOwner(boolean) - Method in class net.demilich.metastone.game.spells.trigger.Enchantment
- setPlayer(int) - Method in class net.demilich.metastone.game.entities.EntityZone
- setPlayer(int, Player) - Method in class net.demilich.metastone.game.GameContext
- setPlayer1(Player) - Method in class net.demilich.metastone.game.GameContext
- setPlayer2(Player) - Method in class net.demilich.metastone.game.GameContext
- setPlayerAttributes(AttributeMap) - Method in class net.demilich.metastone.game.decks.GameDeck
- setPlayerId(int) - Method in class net.demilich.metastone.game.environment.EnvironmentAftermathTriggeredList.EnvironmentAftermathTriggeredItem
- setPlayerId(int) - Method in class net.demilich.metastone.game.logic.DeckTrace
- setPlayerId(int) - Method in class net.demilich.metastone.game.logic.MulliganTrace
- setPrivateState(PrivateDraftState) - Method in class com.hiddenswitch.spellsource.draft.DraftContext
- setPruneContextStack(boolean) - Method in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
- setPruneEarlyEndTurn(boolean) - Method in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
- setPublicState(PublicDraftState) - Method in class com.hiddenswitch.spellsource.draft.DraftContext
- setQuest(EventTriggerDesc) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- setRace(String) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- setRace(String) - Method in class net.demilich.metastone.game.entities.Actor
- SetRaceFromAttributeSpell - Class in net.demilich.metastone.game.spells.custom
-
Reads the
SpellArg.ATTRIBUTE
from theSpellArg.SECONDARY_TARGET
, and puts therace
(tribe) specified in that attribute onto thetarget
. - SetRaceFromAttributeSpell() - Constructor for class net.demilich.metastone.game.spells.custom.SetRaceFromAttributeSpell
- SetRaceSpell - Class in net.demilich.metastone.game.spells
- SetRaceSpell() - Constructor for class net.demilich.metastone.game.spells.SetRaceSpell
- setRandom(XORShiftRandom) - Method in class com.hiddenswitch.spellsource.draft.PrivateDraftState
- setRandom(XORShiftRandom) - Method in class net.demilich.metastone.game.logic.GameLogic
- setRarity(Spellsource.RarityMessage.Rarity) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- setRawActions(List<GameAction>) - Method in class net.demilich.metastone.game.logic.Trace
- setRemoveAuraEffect(SpellDesc) - Method in class net.demilich.metastone.game.spells.aura.SpellAura
- setRequestActionStartTime(long) - Method in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
- setResolveOpener(boolean) - Method in interface net.demilich.metastone.game.actions.OpenerOverridable
- setResolveOpener(boolean) - Method in class net.demilich.metastone.game.actions.PlayHeroCardAction
- setResolveOpener(boolean) - Method in class net.demilich.metastone.game.actions.PlayMinionCardAction
- setResolveOpener(boolean) - Method in class net.demilich.metastone.game.actions.PlayWeaponCardAction
- SETS - Enum constant in enum class net.demilich.metastone.game.cards.desc.CardDescArg
- setSecondPlayerBonusCards(String[]) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- setSecondPlayerBonusCards(String[]) - Method in class net.demilich.metastone.game.decks.DeckFormat
- setSecondPlayerBonusCards(List<String>) - Method in class net.demilich.metastone.game.logic.Trace
- setSecret(EventTriggerDesc) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- setSeed(long) - Method in class net.demilich.metastone.game.logic.Trace
- setSelectedCards(List<String>) - Method in class com.hiddenswitch.spellsource.draft.PublicDraftState
- setSet(String) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- setSets(String[]) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- setSource(EntityReference) - Method in class net.demilich.metastone.game.environment.EnvironmentAftermathTriggeredList.EnvironmentAftermathTriggeredItem
- setSourceCard(Card) - Method in class net.demilich.metastone.game.entities.Entity
- setSourceReference(EntityReference) - Method in class net.demilich.metastone.game.actions.GameAction
- setSpanContext(SpanContext) - Method in class net.demilich.metastone.game.GameContext
- setSpell(SpellDesc) - Method in class net.demilich.metastone.game.actions.PlayChooseOneCardAction
- setSpell(SpellDesc) - Method in class net.demilich.metastone.game.actions.PlaySpellCardAction
- setSpell(SpellDesc) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- setSpell(SpellDesc) - Method in class net.demilich.metastone.game.environment.EnvironmentAftermathTriggeredList.EnvironmentAftermathTriggeredItem
- setSpell(SpellDesc) - Method in class net.demilich.metastone.game.spells.desc.OpenerDesc
- setSpell(SpellDesc) - Method in class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDesc
- setSpell(SpellDesc) - Method in class net.demilich.metastone.game.spells.trigger.Enchantment
- setStandardDeck(boolean) - Method in class net.demilich.metastone.game.decks.DeckCreateRequest
- setStartState(GameState) - Method in class net.demilich.metastone.game.logic.Trace
- setState(long) - Method in class net.demilich.metastone.game.logic.XORShiftRandom
- setStatus(DraftStatus) - Method in class com.hiddenswitch.spellsource.draft.PublicDraftState
- setStatus(GameStatus) - Method in class net.demilich.metastone.game.GameContext
- setStrictPlan(Deque<GameAction>) - Method in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
- setTarget(Entity) - Method in class net.demilich.metastone.game.actions.GameAction
- setTarget(EntityReference) - Method in class net.demilich.metastone.game.spells.desc.SpellDesc
- setTargetContextStackSize(int) - Method in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
- setTargetLogic(TargetLogic) - Method in class net.demilich.metastone.game.GameContext
- setTargetOverride(EntityReference) - Method in class net.demilich.metastone.game.GameContext
- setTargetReference(EntityReference) - Method in class net.demilich.metastone.game.actions.GameAction
- setTargetRequirement(TargetSelection) - Method in class net.demilich.metastone.game.actions.GameAction
- setTargetRequirement(TargetSelection) - Method in class net.demilich.metastone.game.cards.Card
- setTargetSelection(TargetSelection) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- setTargetSelection(TargetSelection) - Method in class net.demilich.metastone.game.spells.desc.OpenerDesc
- setTargetSelectionCondition(Condition) - Method in class net.demilich.metastone.game.actions.OpenerAction
- setTargetSelectionCondition(ConditionDesc) - Method in class net.demilich.metastone.game.cards.Card
- setTargetSelectionCondition(ConditionDesc) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- setTargetSelectionCondition(ConditionDesc) - Method in class net.demilich.metastone.game.spells.desc.OpenerDesc
- setTargetSelectionOverride(TargetSelection) - Method in class net.demilich.metastone.game.actions.OpenerAction
- setTargetSelectionOverride(TargetSelection) - Method in class net.demilich.metastone.game.cards.Card
- setTargetSelectionOverride(TargetSelection) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- setTargetSelectionOverride(TargetSelection) - Method in class net.demilich.metastone.game.spells.desc.OpenerDesc
- setTempCards(CardList) - Method in class net.demilich.metastone.game.GameContext
- setThread(Thread) - Method in class net.demilich.metastone.game.GameContext
- setThrowOnInvalidPlan(boolean) - Method in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
- setThrowsExceptions(boolean) - Method in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
- setTimeout(long) - Method in class net.demilich.metastone.game.behaviour.FlatMonteCarloBehaviour
- setTimeout(long) - Method in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
- setTooltips(Spellsource.Tooltip[]) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- setTrace(Trace) - Method in class net.demilich.metastone.game.GameContext
- setTraceErrors(boolean) - Method in class net.demilich.metastone.game.logic.Trace
- setTrigger(EnchantmentDesc) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- setTriggers(List<EventTrigger>) - Method in class net.demilich.metastone.game.spells.trigger.Enchantment
- setTriggers(EnchantmentDesc[]) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- setTriggerStartTurns(boolean) - Method in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
- setTurn(int) - Method in class net.demilich.metastone.game.GameContext
- setTurnState(TurnState) - Method in class net.demilich.metastone.game.GameContext
- setType(Spellsource.CardTypeMessage.CardType) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- setUnchecked(int, E) - Method in class net.demilich.metastone.game.entities.EntityZone
- setUsed(int) - Method in class net.demilich.metastone.game.cards.Card
- setUserId(String) - Method in class net.demilich.metastone.game.entities.Entity
- setUsesSpellTrigger(boolean) - Method in class net.demilich.metastone.game.spells.trigger.Enchantment
- setValidDeckCondition(ConditionDesc) - Method in class net.demilich.metastone.game.decks.DeckFormat
- setVersion(int) - Static method in class net.demilich.metastone.game.cards.CardCatalogue
- setVersion(int) - Method in class net.demilich.metastone.game.logic.Trace
- setWiki(String) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- setWinner(Player) - Method in class net.demilich.metastone.game.GameContext
- setWins(int) - Method in class com.hiddenswitch.spellsource.draft.PublicDraftState
- setZones(Spellsource.ZonesMessage.Zones[]) - Method in class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDesc
- setZones(Spellsource.ZonesMessage.Zones[]) - Method in class net.demilich.metastone.game.spells.trigger.Enchantment
- SHADOWFORM - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Shadowform implements a hero power upgrading mechanic.
- shouldNotifyEnchantmentFired(GameEvent) - Method in class net.demilich.metastone.game.cards.costmodifier.CardCostModifier
- shouldNotifyEnchantmentFired(GameEvent) - Method in class net.demilich.metastone.game.spells.trigger.Enchantment
- shouldOverrideTargetSelection(GameContext, Player, Actor) - Method in class net.demilich.metastone.game.actions.OpenerAction
- shouldRemoveCard(Card, Player, GameContext) - Method in class net.demilich.metastone.game.spells.ChooseOneSpell
- shouldRemoveCard(Card, Player, GameContext) - Method in class net.demilich.metastone.game.spells.InvokeSpell
- shuffle() - Method in class net.demilich.metastone.game.cards.CardArrayList
-
Deprecated.
- shuffle(GameContext, Player, Entity, Entity, Card, boolean, int) - Method in class net.demilich.metastone.game.spells.ShuffleMinionToDeckSpell
- shuffle(GameContext, Player, Entity, Entity, Card, boolean, int) - Method in class net.demilich.metastone.game.spells.ShuffleOriginalToDeckSpell
- shuffle(GameContext, Player, Entity, Entity, Card, boolean, int) - Method in class net.demilich.metastone.game.spells.ShuffleToDeckSpell
- shuffle(XORShiftRandom) - Method in class net.demilich.metastone.game.cards.CardArrayList
- shuffle(XORShiftRandom) - Method in interface net.demilich.metastone.game.cards.CardList
-
Shuffles the instance with the given random number generator.
- shuffle(XORShiftRandom) - Method in class net.demilich.metastone.game.cards.CardZone
- SHUFFLED_CARDS_LIST - Enum constant in enum class net.demilich.metastone.game.environment.Environment
-
This entity list implements Bonefetcher, keeping track of the cards that were shuffled in each player's deck.
- ShuffledCardsSource - Class in net.demilich.metastone.game.spells.desc.source
-
Returns a snapshot of all the cards that the specified
CardSourceArg.TARGET_PLAYER
has shuffled into their deck. - ShuffledCardsSource(CardSourceDesc) - Constructor for class net.demilich.metastone.game.spells.desc.source.ShuffledCardsSource
- ShuffledEvent - Class in net.demilich.metastone.game.events
-
A card was shuffled.
- ShuffledEvent(GameContext, int, int, boolean, Card) - Constructor for class net.demilich.metastone.game.events.ShuffledEvent
- ShuffledEvent(GameContext, int, int, boolean, Entity, Card) - Constructor for class net.demilich.metastone.game.events.ShuffledEvent
- ShuffledOnlyOriginalCopiesTrigger - Class in net.demilich.metastone.game.spells.trigger
- ShuffledOnlyOriginalCopiesTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.ShuffledOnlyOriginalCopiesTrigger
- ShuffledTrigger - Class in net.demilich.metastone.game.spells.trigger
- ShuffledTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.ShuffledTrigger
- ShuffleMinionToDeckSpell - Class in net.demilich.metastone.game.spells
-
Peacefully removes the
target
minion and shuffles it into the caster's deck. - ShuffleMinionToDeckSpell() - Constructor for class net.demilich.metastone.game.spells.ShuffleMinionToDeckSpell
- ShuffleOriginalToDeckSpell - Class in net.demilich.metastone.game.spells
-
Shuffles a card directly into the deck, not its copy.
- ShuffleOriginalToDeckSpell() - Constructor for class net.demilich.metastone.game.spells.ShuffleOriginalToDeckSpell
- shuffleToDeck(Player, Card) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Shuffles the specified card into the player's deck.
- shuffleToDeck(Player, Card, boolean) - Method in class net.demilich.metastone.game.logic.GameLogic
- shuffleToDeck(Player, Card, boolean, int) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Implements a "Shuffle into deck" text.
- shuffleToDeck(Player, Entity, Card, boolean, boolean) - Method in class net.demilich.metastone.game.logic.GameLogic
- shuffleToDeck(Player, Entity, Card, boolean, boolean, int) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Implements a "Shuffle into deck" text.
- ShuffleToDeckSpell - Class in net.demilich.metastone.game.spells
-
Shuffles copies of the specified
target
orSpellArg.CARD_SOURCE
&SpellArg.CARD_FILTER
cards into the deck. - ShuffleToDeckSpell() - Constructor for class net.demilich.metastone.game.spells.ShuffleToDeckSpell
- ShuffleToDeckWithEnchantmentsSpell - Class in net.demilich.metastone.game.spells
-
Shuffles the
target
Spellsource.EntityTypeMessage.EntityType.MINION
into the player's deck with the enchantments - ShuffleToDeckWithEnchantmentsSpell() - Constructor for class net.demilich.metastone.game.spells.ShuffleToDeckWithEnchantmentsSpell
- ShuffleWithCardCostModifierSpell - Class in net.demilich.metastone.game.spells.custom
-
Generates the cards retrieved by
SpellUtils.getCards(GameContext, Player, Entity, Entity, SpellDesc)
rules, moves each card to theSpellsource.ZonesMessage.Zones.SET_ASIDE_ZONE
, casts theSpellArg.SPELL
sub-spell on each as thetarget
, and then moves the card to theSpellsource.ZonesMessage.Zones.REMOVED_FROM_PLAY
zone if they have not been moved out of set aside. - ShuffleWithCardCostModifierSpell() - Constructor for class net.demilich.metastone.game.spells.custom.ShuffleWithCardCostModifierSpell
- SIGNATURE - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Attribute determining which card is the "Signature" for Ringmaster cards.
- silence(int, Actor) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Silence is an ability which removes all current card text, enchantments, and abilities from the targeted minion.
- SILENCED - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Records that an
Entity
was silenced. - SilenceEvent - Class in net.demilich.metastone.game.events
-
An
Actor
was silenced usingSilenceSpell
. - SilenceEvent(GameContext, int, Actor) - Constructor for class net.demilich.metastone.game.events.SilenceEvent
- SilenceSpell - Class in net.demilich.metastone.game.spells
-
Silences the specified
Actor
. - SilenceSpell() - Constructor for class net.demilich.metastone.game.spells.SilenceSpell
- SilenceTrigger - Class in net.demilich.metastone.game.spells.trigger
-
Fires whenever an
Actor
isAttribute.SILENCED
. - SilenceTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.SilenceTrigger
- SILVER - Static variable in class net.demilich.metastone.game.entities.heroes.HeroClass
- simulate(List<GameDeck>, Supplier<Behaviour>, Supplier<Behaviour>, int, boolean, boolean) - Static method in class net.demilich.metastone.game.GameContext
-
Runs a simulation of the decks with the specified AIs.
- simulate(List<GameDeck>, Supplier<Behaviour>, Supplier<Behaviour>, int, boolean, boolean, AtomicInteger, Consumer<GameContext>, Consumer<GameContext>) - Static method in class net.demilich.metastone.game.GameContext
-
Runs a simulation of the decks with the specified AIs.
- simulate(List<GameDeck>, Supplier<Behaviour>, Supplier<Behaviour>, int, boolean, AtomicInteger) - Static method in class net.demilich.metastone.game.GameContext
-
Runs a simulation of the decks with the specified AIs.
- simulate(List<GameDeck>, List<Supplier<Behaviour>>, int, boolean, Consumer<SimulationResult>) - Static method in class net.demilich.metastone.game.GameContext
-
A generator of simulation results.
- Simulation - Class in com.hiddenswitch.spellsource.util
- Simulation() - Constructor for class com.hiddenswitch.spellsource.util.Simulation
- simulationCount(int, int, boolean) - Static method in class net.demilich.metastone.game.GameContext
-
Calculates the expected number of simulations that will be run given the parameters of the simulation function.
- SimulationResult - Class in net.demilich.metastone.game.statistics
-
Summarizing the results of one or more games.
- SimulationResult(int) - Constructor for class net.demilich.metastone.game.statistics.SimulationResult
- SimulationResult(GameContext) - Constructor for class net.demilich.metastone.game.statistics.SimulationResult
-
Creates a simulation result from a single, completed (
GameContext.updateAndGetGameOver()
== true
) game. - singleTargetOnly() - Method in class net.demilich.metastone.game.spells.desc.condition.AdjacentToPermanentCondition
- singleTargetOnly() - Method in class net.demilich.metastone.game.spells.desc.condition.AllMatchFilterCondition
- singleTargetOnly() - Method in class net.demilich.metastone.game.spells.desc.condition.AllModuloValueEqualsZeroCondition
- singleTargetOnly() - Method in class net.demilich.metastone.game.spells.desc.condition.AnyMatchFilterCondition
- singleTargetOnly() - Method in class net.demilich.metastone.game.spells.desc.condition.AttributeCondition
- singleTargetOnly() - Method in class net.demilich.metastone.game.spells.desc.condition.ComparisonCondition
- singleTargetOnly() - Method in class net.demilich.metastone.game.spells.desc.condition.Condition
-
Expects a single target only.
- singleTargetOnly() - Method in class net.demilich.metastone.game.spells.desc.condition.EntityEqualsCondition
- singleTargetOnly() - Method in class net.demilich.metastone.game.spells.desc.condition.GraveyardContainsCondition
- singleTargetOnly() - Method in class net.demilich.metastone.game.spells.desc.condition.HasHeroPowerCondition
- singleTargetOnly() - Method in class net.demilich.metastone.game.spells.desc.condition.InvokeCondition
- singleTargetOnly() - Method in class net.demilich.metastone.game.spells.desc.condition.IsAdjacentCondition
- singleTargetOnly() - Method in class net.demilich.metastone.game.spells.desc.condition.IsDeadCondition
- singleTargetOnly() - Method in class net.demilich.metastone.game.spells.desc.condition.OwnedByPlayerCondition
- singleTargetOnly() - Method in class net.demilich.metastone.game.spells.desc.condition.PlayedLastTurnCondition
- singleTargetOnly() - Method in class net.demilich.metastone.game.spells.desc.condition.RaceCondition
- size() - Method in class net.demilich.metastone.game.cards.CardArrayList
- size() - Method in class net.demilich.metastone.game.entities.EntityZone
- SleightOfHandSpell - Class in net.demilich.metastone.game.spells.custom
-
Records the
target
minion's deathrattles. - SleightOfHandSpell() - Constructor for class net.demilich.metastone.game.spells.custom.SleightOfHandSpell
- sort(Comparator<? super E>) - Method in class net.demilich.metastone.game.entities.EntityZone
- SortDeckByManaCostSpell - Class in net.demilich.metastone.game.spells
-
Sorts a deck by mana costs, putting the lowest cost cards on top.
- SortDeckByManaCostSpell() - Constructor for class net.demilich.metastone.game.spells.SortDeckByManaCostSpell
- SoulscreamSpell - Class in net.demilich.metastone.game.spells.custom
-
Discover a minion in your graveyard.
- SoulscreamSpell() - Constructor for class net.demilich.metastone.game.spells.custom.SoulscreamSpell
- SOURCE - Enum constant in enum class net.demilich.metastone.game.spells.desc.source.CardSourceArg
- SOURCE - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
Overrides the source of an effect with the specified
EntityReference
, which must resolve to zero to one targets. - SOURCE_ENTITY_TYPE - Enum constant in enum class net.demilich.metastone.game.spells.desc.trigger.EventTriggerArg
- SOURCE_PLAYER - Enum constant in enum class net.demilich.metastone.game.spells.desc.trigger.EventTriggerArg
- SOURCE_TYPE - Enum constant in enum class net.demilich.metastone.game.spells.desc.trigger.EventTriggerArg
- sourceCard - Variable in class net.demilich.metastone.game.entities.Entity
- SowDistrustSpell - Class in net.demilich.metastone.game.spells.custom
-
Forces the leftmost and rightmost enemy minions to attack their neighbors.
- SowDistrustSpell() - Constructor for class net.demilich.metastone.game.spells.custom.SowDistrustSpell
- spanContext - Variable in class net.demilich.metastone.game.GameContext
- SpecificCardFilter - Class in net.demilich.metastone.game.spells.desc.filter
-
A card or actor will pass this filter if its
Entity.getSourceCard()
Card.getCardId()
matches theEntityFilterArg.CARD
argument. - SpecificCardFilter(EntityFilterDesc) - Constructor for class net.demilich.metastone.game.spells.desc.filter.SpecificCardFilter
- SpecificCardFilterOverrideAura - Class in net.demilich.metastone.game.spells.aura
-
This aura tricks
SpecificCardFilter
into thinking the affected entities are actuallyAuraArg.CARD
. - SpecificCardFilterOverrideAura(AuraDesc) - Constructor for class net.demilich.metastone.game.spells.aura.SpecificCardFilterOverrideAura
- spell - Variable in class net.demilich.metastone.game.actions.PlayChooseOneCardAction
- spell - Variable in class net.demilich.metastone.game.spells.desc.OpenerDesc
- spell - Variable in class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDesc
- spell - Variable in class net.demilich.metastone.game.spells.trigger.Enchantment
- Spell - Class in net.demilich.metastone.game.spells
-
The base class for "spells," or collections of effects in the engine.
- Spell() - Constructor for class net.demilich.metastone.game.spells.Spell
- SPELL - Enum constant in enum class net.demilich.metastone.game.cards.CardDescType
- SPELL - Enum constant in enum class net.demilich.metastone.game.cards.desc.CardDescArg
- SPELL - Enum constant in enum class net.demilich.metastone.game.cards.desc.ParseValueType
-
A
SpellDesc
. - SPELL - Enum constant in enum class net.demilich.metastone.game.spells.desc.aura.AuraArg
- SPELL - Enum constant in enum class net.demilich.metastone.game.spells.desc.BattlecryDescArg
- SPELL - Enum constant in enum class net.demilich.metastone.game.spells.desc.filter.EntityFilterArg
- SPELL - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
Typically the
SpellDesc
that is cast withEntityReference.OUTPUT
set to the result of the parent spell's effect; or, the spell that is cast when aCondition
is met. - SPELL - Enum constant in enum class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDescArg
- SPELL_ARRAY - Enum constant in enum class net.demilich.metastone.game.cards.desc.ParseValueType
-
An array of
SpellDesc
objects. - SPELL_CONDITION - Enum constant in enum class net.demilich.metastone.game.spells.desc.aura.AuraArg
- SPELL_DAMAGE - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
The total amount of spell damage that an
Entity
contributes. - SPELL_DAMAGE_AMPLIFY_MULTIPLIER - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
When any friendly
Entity
has this attribute, all friendly spell damage effects (typically cast byDamageSpell
deal damage multiplied by this attribute's value. - SPELL_DAMAGE_MULTIPLIER - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
When a
Card
that casts aDamageSpell
has this attribute, its bonus from spell damage is doubled. - SPELL_HEAL_AMPLIFY_MULTIPLIER - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
- SPELL_TARGET - Enum constant in enum class net.demilich.metastone.game.environment.Environment
-
This variable stores the current target of a spell.
- SPELL_TARGET - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
This reference allows you to distinguish the target of an effect (the spell target) versus the target selected by a player (the
EntityReference.TARGET
). - SPELL_VALUE - Enum constant in enum class net.demilich.metastone.game.spells.GameValue
- SPELL_VALUE_STACK - Enum constant in enum class net.demilich.metastone.game.environment.Environment
-
This implements Living Mana and Earthen Scales.
- SPELL1 - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
Like
SpellArg.SPELL
, aSpellDesc
that's typically interpreted as the "first" or primary spell. - SPELL2 - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
Like
SpellArg.SPELL
, aSpellDesc
that's typically interpreted as the "second" or alternative spell. - SpellArg - Enum Class in net.demilich.metastone.game.spells.desc
- SpellAura - Class in net.demilich.metastone.game.spells.aura
- SpellAura(AuraDesc) - Constructor for class net.demilich.metastone.game.spells.aura.SpellAura
- SpellCastedEvent - Class in net.demilich.metastone.game.events
-
A spell was casted on the specified target.
- SpellCastedEvent(GameContext, int, Card, Entity) - Constructor for class net.demilich.metastone.game.events.SpellCastedEvent
- SpellCastedTrigger - Class in net.demilich.metastone.game.spells.trigger
- SpellCastedTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.SpellCastedTrigger
- SpellDamageValueProvider - Class in net.demilich.metastone.game.spells.desc.valueprovider
- SpellDamageValueProvider(ValueProviderDesc) - Constructor for class net.demilich.metastone.game.spells.desc.valueprovider.SpellDamageValueProvider
- SpellDesc - Class in net.demilich.metastone.game.spells.desc
-
A definition for a spell.
- SpellDesc() - Constructor for class net.demilich.metastone.game.spells.desc.SpellDesc
- SpellDesc(Class<? extends Spell>) - Constructor for class net.demilich.metastone.game.spells.desc.SpellDesc
- SpellDesc(Class<? extends Spell>, EntityReference, EntityFilter, boolean) - Constructor for class net.demilich.metastone.game.spells.desc.SpellDesc
- SpellDesc(Map<SpellArg, Object>) - Constructor for class net.demilich.metastone.game.spells.desc.SpellDesc
- SpellDescDeserializer - Class in net.demilich.metastone.game.cards.desc
-
The serializer that interprets JSON representations of a spell.
- SpellDescDeserializer() - Constructor for class net.demilich.metastone.game.cards.desc.SpellDescDeserializer
- SpellDescDeserializer(Class<? extends SpellDesc>) - Constructor for class net.demilich.metastone.game.cards.desc.SpellDescDeserializer
- SpellEffectsCastTwiceAura - Class in net.demilich.metastone.game.spells.aura
-
Causes effects (rather than spells specifically) to occur twice.
- SpellEffectsCastTwiceAura(AuraDesc) - Constructor for class net.demilich.metastone.game.spells.aura.SpellEffectsCastTwiceAura
- SpellFilter - Class in net.demilich.metastone.game.spells.desc.filter
- SpellFilter(EntityFilterDesc) - Constructor for class net.demilich.metastone.game.spells.desc.filter.SpellFilter
- SpellOverrideAura - Class in net.demilich.metastone.game.spells.aura
-
As long as the
Player
entity that matches theplayerId
of an effect is in this aura'sAura.getAffectedEntities()
, spells whose key/value pairs are a superset of theAura.removeAuraEffect(net.demilich.metastone.game.GameContext, net.demilich.metastone.game.entities.Entity)
have their key/values overwritten by the spells inAura.applyAuraEffect(net.demilich.metastone.game.GameContext, net.demilich.metastone.game.entities.Entity)
. - SpellOverrideAura(AuraDesc) - Constructor for class net.demilich.metastone.game.spells.aura.SpellOverrideAura
- SPELLS - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
An array of spells, used almost exclusively by
MetaSpell
as the spells to cast, one after another, or byConditionalSpell
, cast when the corresponding conditions inSpellArg.CONDITIONS
are met. - SPELLS_CAST - Enum constant in enum class net.demilich.metastone.game.spells.PlayerAttribute
-
The number of spells the player has cast this game.
- SPELLS_CAST - Enum constant in enum class net.demilich.metastone.game.statistics.Statistic
- SPELLS_CAST_THRICE - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Self explanatory.
- SPELLS_CAST_TWICE - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Implements Electra Stormsurge.
- SPELLS_COST_HEALTH - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
When any
Entity
has this attribute in play, spells cost health instead of mana. - spellsCastThrice(Player, Card, Entity) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Determines if spells should be casting thrice.
- SpellsCastThriceAura - Class in net.demilich.metastone.game.spells.aura
-
Actors affected by this aura will get spells cast on them thrice if the
AuraArg.SPELL_CONDITION
is met on the spell's target. - SpellsCastThriceAura(AuraDesc) - Constructor for class net.demilich.metastone.game.spells.aura.SpellsCastThriceAura
- spellsCastTwice(Player, Card, Entity) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Determines if spells should be casting twice.
- SpellsCastTwiceAura - Class in net.demilich.metastone.game.spells.aura
-
Actors affected by this aura will get spells cast on them twice if the
AuraArg.SPELL_CONDITION
is met on the spell's target. - SpellsCastTwiceAura(AuraDesc) - Constructor for class net.demilich.metastone.game.spells.aura.SpellsCastTwiceAura
- spellsource() - Static method in class net.demilich.metastone.game.decks.DeckFormat
-
The current
Spellsource
format containing all Spellsource sets. - SPELLSOURCE - Static variable in class net.demilich.metastone.game.cards.CardSet
-
Spellsource / Minionate legacy cards.
- SPELLSOURCE_BASIC - Static variable in class net.demilich.metastone.game.cards.CardSet
-
Cards in the Spellsource basic set.
- SPELLSOURCE_NAME - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Indicates the name in Spellsource for the specified card.
- SpellstoneValueProvider - Class in net.demilich.metastone.game.spells.desc.valueprovider
- SpellstoneValueProvider(ValueProviderDesc) - Constructor for class net.demilich.metastone.game.spells.desc.valueprovider.SpellstoneValueProvider
- spellStream() - Method in class net.demilich.metastone.game.spells.desc.SpellDesc
- spellStream(boolean) - Method in class net.demilich.metastone.game.spells.desc.SpellDesc
- spellStream(int) - Method in class net.demilich.metastone.game.spells.desc.SpellDesc
- spellStream(int, boolean) - Method in class net.demilich.metastone.game.spells.desc.SpellDesc
- SpellTargetsAdjacentAura - Class in net.demilich.metastone.game.spells.aura
-
When this aura is in play, spells with minion targets also target adjacent minions.
- SpellTargetsAdjacentAura(AuraDesc) - Constructor for class net.demilich.metastone.game.spells.aura.SpellTargetsAdjacentAura
- SpellToHeroPowerSpell - Class in net.demilich.metastone.game.spells.custom
-
Creates a skill from the specified spell.
- SpellToHeroPowerSpell() - Constructor for class net.demilich.metastone.game.spells.custom.SpellToHeroPowerSpell
- SpellUtils - Class in net.demilich.metastone.game.spells
-
A set of utilities to help write spells.
- SpellUtils() - Constructor for class net.demilich.metastone.game.spells.SpellUtils
- SpellUtils.DetermineCastingPlayer - Class in net.demilich.metastone.game.spells
-
An object that contains results of a
SpellUtils.determineCastingPlayer(GameContext, Player, Entity, TargetPlayer)
call. - SPIRIT - Static variable in class net.demilich.metastone.game.entities.minions.Race
- SplashDamageSpell - Class in net.demilich.metastone.game.spells
- SplashDamageSpell() - Constructor for class net.demilich.metastone.game.spells.SplashDamageSpell
- start() - Method in class com.hiddenswitch.spellsource.common.GameState
-
Gets a
MapDifference
that corresponds to this state being the first state. - startDraft(String) - Method in class com.hiddenswitch.spellsource.draft.DraftLogic
-
Starts the draft given the choice of the specified hero class.
- STARTED_IN_DECK - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
An attribute given to
Card
entities that started in the player's deck, as opposed to being generated by other cards. - STARTED_IN_HAND - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
An attribute given to
Card
entities that started in the player's opening hand - STARTER_CARDS - Static variable in class net.demilich.metastone.game.logic.GameLogic
- startGame() - Method in class net.demilich.metastone.game.GameContext
-
Fire the start game events here instead
- startGameForPlayer(Player) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Activates all the appropriate enchantments for a player who has mulliganned, and gives that player the player's
GameStartEvent
. - STARTING_HAND_DRAWN - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Indicates the player has drawn their starting hand.
- STARTING_INDEX - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Returns the index of the entity in its current zone at the start of the game.
- STARTING_PLAYER - Enum constant in enum class net.demilich.metastone.game.environment.Environment
-
This variable stores the player that was chosen as the starting player
- STARTING_TURN - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
When set on a player entity, indicates the player is currently in the starting turn phase.
- startTrace() - Method in class net.demilich.metastone.game.GameContext
-
Ensures that the game state is traced / recorded
- startTurn() - Method in class net.demilich.metastone.game.statistics.GameStatistics
- startTurn(int) - Method in class net.demilich.metastone.game.GameContext
-
Starts the turn for a player.
- startTurn(int) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Starts a turn.
- startTurnForEntity(Player, Entity) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Resets turn temporary fields on the specified entity and prepares it for the next turn.
- StatefulAttributeValueAura - Class in net.demilich.metastone.game.spells.aura
-
This class maintains a stateful aura for an
Attribute
, increasing or decreasing its value by the appropriate amount whenever the main aura triggers (WillEndSequenceTrigger
andBoardChangedTrigger
) fire and any additional triggers inAuraArg.TRIGGERS
fire. - StatefulAttributeValueAura(AuraDesc) - Constructor for class net.demilich.metastone.game.spells.aura.StatefulAttributeValueAura
- Statistic - Enum Class in net.demilich.metastone.game.statistics
- stealCard(Player, Entity, Card, Spellsource.ZonesMessage.Zones) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Steals the card, transferring its owner and moving its current zones.
- StealCardSpell - Class in net.demilich.metastone.game.spells
-
Steals the
target
card and moves it to the caster's zone fromSpellArg.CARD_LOCATION
. - StealCardSpell() - Constructor for class net.demilich.metastone.game.spells.StealCardSpell
- StealHealthSpell - Class in net.demilich.metastone.game.spells
- StealHealthSpell() - Constructor for class net.demilich.metastone.game.spells.StealHealthSpell
- StealRandomSecretSpell - Class in net.demilich.metastone.game.spells
-
Steals a random secret belonging to the opponent of
SpellArg.TARGET_PLAYER
. - StealRandomSecretSpell() - Constructor for class net.demilich.metastone.game.spells.StealRandomSecretSpell
- STEALTH - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
A
Minion
with stealth cannot be targeted by spells, hero powers or physical attacks until it attacks. - STEALTH_FOR_TURNS - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Indicates how many turns an actor should have
Attribute.STEALTH
for - stealthForTurns(Player, Entity) - Method in class net.demilich.metastone.game.logic.GameLogic
- StorageContainsCondition - Class in net.demilich.metastone.game.spells.desc.condition
- StorageContainsCondition(ConditionDesc) - Constructor for class net.demilich.metastone.game.spells.desc.condition.StorageContainsCondition
- StorageContainsFilter - Class in net.demilich.metastone.game.spells.desc.filter
- StorageContainsFilter(EntityFilterDesc) - Constructor for class net.demilich.metastone.game.spells.desc.filter.StorageContainsFilter
- StoredEntitiesSource - Class in net.demilich.metastone.game.spells.desc.source
-
Retrieves a snapshot of the cards stored in the
source
Entity
orCardSourceArg.SOURCE
EntityReference
by aStoreEntitySpell
. - StoredEntitiesSource(CardSourceDesc) - Constructor for class net.demilich.metastone.game.spells.desc.source.StoredEntitiesSource
- StoreEntitySpell - Class in net.demilich.metastone.game.spells.custom
-
Stores the specified
SpellArg.TARGET
into a list keyed by thesource
of the casting spell. - StoreEntitySpell() - Constructor for class net.demilich.metastone.game.spells.custom.StoreEntitySpell
- StoreRaceToAttributeSpell - Class in net.demilich.metastone.game.spells.custom
-
Stores the race of the
target
onto thesource
orSpellArg.SECONDARY_TARGET
in theSpellArg.ATTRIBUTE
. - StoreRaceToAttributeSpell() - Constructor for class net.demilich.metastone.game.spells.custom.StoreRaceToAttributeSpell
- stream() - Method in class net.demilich.metastone.game.cards.CardArrayList
- stream() - Static method in class net.demilich.metastone.game.cards.CardCatalogue
- stream() - Method in interface net.demilich.metastone.game.cards.CardList
-
Gets the
Stream
API representation of this card list. - stream() - Method in class net.demilich.metastone.game.cards.CardZone
- strictPlan - Variable in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
- STRING - Enum constant in enum class net.demilich.metastone.game.cards.desc.ParseValueType
-
A string, typically a card ID, description field or name field.
- STRING - Enum constant in enum class net.demilich.metastone.game.cards.dynamicdescription.DynamicDescriptionArg
- STRING_ARRAY - Enum constant in enum class net.demilich.metastone.game.cards.desc.ParseValueType
-
An array of strings, typically an array of card IDs.
- StringDescription - Class in net.demilich.metastone.game.cards.dynamicdescription
-
Represents a simple string description.
- StringDescription(String) - Constructor for class net.demilich.metastone.game.cards.dynamicdescription.StringDescription
- StringDescription(DynamicDescriptionDesc) - Constructor for class net.demilich.metastone.game.cards.dynamicdescription.StringDescription
- subCast(GameContext, Player, SpellDesc, Entity, List<Entity>, List<Entity>, Entity, SpellDesc) - Method in class net.demilich.metastone.game.spells.CastFromGroupSpell
- subSpells() - Method in class net.demilich.metastone.game.spells.desc.SpellDesc
- subSpells(int) - Method in class net.demilich.metastone.game.spells.desc.SpellDesc
- SUBTRACT - Enum constant in enum class net.demilich.metastone.game.spells.desc.valueprovider.AlgebraicOperation
- summon(int, Minion, Entity, int, boolean) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Summons a
Minion
. - SUMMON_AURA - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
For internal use only.
- SUMMON_BASE_ATTACK - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
For internal use only.
- SUMMON_BASE_HP - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
For internal use only.
- SUMMON_BATTLECRY - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
For internal use only.
- SUMMON_CHARGE - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
For internal use only.
- SUMMON_DEATHRATTLE - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
For internal use only.
- SUMMON_DIVINE_SHIELD - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
For internal use only.
- SUMMON_REFERENCE_STACK - Enum constant in enum class net.demilich.metastone.game.environment.Environment
-
This variable stores the minions that are pending a summon.
- SUMMON_STEALTH - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
For internal use only.
- SUMMON_TAUNT - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
For internal use only.
- SUMMON_TRIGGERS - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
For internal use only.
- SUMMON_WINDFURY - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
For internal use only.
- SummonCardFromAttributeSpell - Class in net.demilich.metastone.game.spells
-
Reads a card ID from the specified attribute
SpellArg.ATTRIBUTE
. - SummonCardFromAttributeSpell() - Constructor for class net.demilich.metastone.game.spells.SummonCardFromAttributeSpell
- SUMMONED_BY_PLAYER - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
The player ID of the owner of the source entity that summoned this minion.
- SUMMONED_ON_TURN - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Indicates which turn a minion was summoned.
- SummonedByPlayerFilter - Class in net.demilich.metastone.game.spells.desc.filter
-
Matches a minion if it was summoned by a entity whose owner was
EntityFilterArg.TARGET_PLAYER
. - SummonedByPlayerFilter(EntityFilterDesc) - Constructor for class net.demilich.metastone.game.spells.desc.filter.SummonedByPlayerFilter
- SummonEvent - Class in net.demilich.metastone.game.events
-
A minion was summoned and its openers were resolved if
SummonEvent.isResolvedOpener()
istrue
. - SummonEvent(GameContext, Actor, Entity, boolean, OpenerAction...) - Constructor for class net.demilich.metastone.game.events.SummonEvent
- SummonFriendlyMinionsThatDiedSpell - Class in net.demilich.metastone.game.spells.custom
-
Summons all the friendly minions that died this turn.
- SummonFriendlyMinionsThatDiedSpell() - Constructor for class net.demilich.metastone.game.spells.custom.SummonFriendlyMinionsThatDiedSpell
- SUMMONING_SICKNESS - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Summoning sickness prevents a
Minion
from attacking the same turn it is played or summoned. - SummonMinionWithMostCopiesInDeckSpell - Class in net.demilich.metastone.game.spells.custom
-
Summons a minion from the player's deck with the most copies in the deck.
- SummonMinionWithMostCopiesInDeckSpell() - Constructor for class net.demilich.metastone.game.spells.custom.SummonMinionWithMostCopiesInDeckSpell
- SummonSpell - Class in net.demilich.metastone.game.spells
-
Summons minions specified by cards; summons random minions from card filters; or copies minions according to targets.
- SummonSpell() - Constructor for class net.demilich.metastone.game.spells.SummonSpell
- SummonWithoutReplacementCardSource - Class in net.demilich.metastone.game.spells.desc.source
-
Returns the list of source cards for the minions on the battlefield of the
CardSourceArg.TARGET_PLAYER
. - SummonWithoutReplacementCardSource(CardSourceDesc) - Constructor for class net.demilich.metastone.game.spells.desc.source.SummonWithoutReplacementCardSource
- SUPREMACIES_THIS_GAME - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Counts the number of supremacies (kills, but not overkills) that the
Actor
has achieved. - SUPREMACIES_THIS_GAME - Enum constant in enum class net.demilich.metastone.game.spells.PlayerAttribute
-
The number of
SupremacySpell
effects this player has done this game. - SupremaciesTriggerTwiceAura - Class in net.demilich.metastone.game.spells.aura
-
When this aura is active, subspells of
SupremacySpell
will be cast twice. - SupremaciesTriggerTwiceAura(AuraDesc) - Constructor for class net.demilich.metastone.game.spells.aura.SupremaciesTriggerTwiceAura
- SUPREMACY - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Indicates an
Actor
will do something when it attacks and kills a minion. - SupremacyBonusEffectAura - Class in net.demilich.metastone.game.spells.aura
-
Gives a bonus effect to the player's supremacies specified in this aura's
AuraArg.APPLY_EFFECT
. - SupremacyBonusEffectAura(AuraDesc) - Constructor for class net.demilich.metastone.game.spells.aura.SupremacyBonusEffectAura
- SupremacySpell - Class in net.demilich.metastone.game.spells
-
Indicates that the subspells should be cast as the "Supremacy" effect.
- SupremacySpell() - Constructor for class net.demilich.metastone.game.spells.SupremacySpell
- SupremacyTrigger - Class in net.demilich.metastone.game.spells.trigger
- SupremacyTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.SupremacyTrigger
- SURGE - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
The keyword for cards with Surge (a bonus gained when the card is drawn that turn).
- SurgeCondition - Class in net.demilich.metastone.game.spells.desc.condition
- SurgeCondition(ConditionDesc) - Constructor for class net.demilich.metastone.game.spells.desc.condition.SurgeCondition
- swap(E, E, EntityZoneTable) - Static method in class net.demilich.metastone.game.entities.EntityZone
-
Swaps two entities with each other.
- swap(GameContext, Card, Card) - Static method in class net.demilich.metastone.game.spells.SwapCardsSpell
-
Swaps two cards.
- SwapAttackAndHpSpell - Class in net.demilich.metastone.game.spells
-
Swaps the
target
's attack and hitpoints, making the target's hitpoints its attack value and vice versa. - SwapAttackAndHpSpell() - Constructor for class net.demilich.metastone.game.spells.SwapAttackAndHpSpell
- SwapAttackSpell - Class in net.demilich.metastone.game.spells
-
Swaps the
target
's attack with thesource
actor's attack. - SwapAttackSpell() - Constructor for class net.demilich.metastone.game.spells.SwapAttackSpell
- SwapCardsInHandAndDeckSpell - Class in net.demilich.metastone.game.spells.custom
-
Swaps a card from the hand filtered using the first item in the
SpellArg.CARD_FILTERS
with a card in the deck filtered with the second filter in the card filters array. - SwapCardsInHandAndDeckSpell() - Constructor for class net.demilich.metastone.game.spells.custom.SwapCardsInHandAndDeckSpell
- SwapCardsSpell - Class in net.demilich.metastone.game.spells
- SwapCardsSpell() - Constructor for class net.demilich.metastone.game.spells.SwapCardsSpell
- SwapHpAndCostSpell - Class in net.demilich.metastone.game.spells.custom
-
Swaps the HP and the cost of the
target
. - SwapHpAndCostSpell() - Constructor for class net.demilich.metastone.game.spells.custom.SwapHpAndCostSpell
- SwapHpSpell - Class in net.demilich.metastone.game.spells
-
Swaps the
target
's hitpoints with thesource
actor's hitpoints. - SwapHpSpell() - Constructor for class net.demilich.metastone.game.spells.SwapHpSpell
- SwapMinionSpell - Class in net.demilich.metastone.game.spells
-
Swaps the minion specified by
SpellArg.SECONDARY_TARGET
with thetarget
. - SwapMinionSpell() - Constructor for class net.demilich.metastone.game.spells.SwapMinionSpell
- SwapMinionWithDeckSpell - Class in net.demilich.metastone.game.spells.custom
- SwapMinionWithDeckSpell() - Constructor for class net.demilich.metastone.game.spells.custom.SwapMinionWithDeckSpell
- SwapWithHandSpell - Class in net.demilich.metastone.game.spells.custom
-
Swaps a
target
minion with a random one in your hand. - SwapWithHandSpell() - Constructor for class net.demilich.metastone.game.spells.custom.SwapWithHandSpell
- SwipeSpell - Class in net.demilich.metastone.game.spells
-
Deals
SpellArg.VALUE
damage to thetarget
andSpellArg.SECONDARY_VALUE
damage to theSpellArg.SECONDARY_TARGET
actors. - SwipeSpell() - Constructor for class net.demilich.metastone.game.spells.SwipeSpell
T
- TAKE_DOUBLE_DAMAGE - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
An
Entity
with this attribute takes twice the damage whenever it is dealt damage. - takeActionInTurn() - Method in class net.demilich.metastone.game.GameContext
-
Requests an action from a player and takes it in the turn.
- TARGET - Enum constant in enum class net.demilich.metastone.game.environment.Environment
-
This variable stores the current target of an event or action.
- TARGET - Enum constant in enum class net.demilich.metastone.game.spells.desc.aura.AuraArg
- TARGET - Enum constant in enum class net.demilich.metastone.game.spells.desc.condition.ConditionArg
- TARGET - Enum constant in enum class net.demilich.metastone.game.spells.desc.filter.EntityFilterArg
- TARGET - Enum constant in enum class net.demilich.metastone.game.spells.desc.manamodifier.CardCostModifierArg
-
The entities that this
CardCostModifier
should apply to. - TARGET - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
Specifies the
EntityReference
on which this spell should be cast, overriding thetarget
received from the parent or selected by the user. - TARGET - Enum constant in enum class net.demilich.metastone.game.spells.desc.trigger.EventTriggerArg
- TARGET - Enum constant in enum class net.demilich.metastone.game.spells.desc.valueprovider.ValueProviderArg
- TARGET - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
When the player performs a
GameAction
that has a target choice, like a physical attack, a targeted battlecry, casting a targeted spell or summoning a minion (interpreted as the minion the player is summoning next to), this reference will return the target that the player originally chose regardless of target overriding effects or effects in the sequence that may later destroy or transform the target. - TARGET_ENTITY_TYPE - Enum constant in enum class net.demilich.metastone.game.spells.desc.trigger.EventTriggerArg
- TARGET_OVERRIDE - Enum constant in enum class net.demilich.metastone.game.environment.Environment
-
This variable, when defined, specifies that the target of a spell or physical attack should be overriden.
- TARGET_OVERRIDE_STACK - Enum constant in enum class net.demilich.metastone.game.environment.Environment
-
Stores the next target of an
GameLogic.castSpell(int, SpellDesc, EntityReference, EntityReference, TargetSelection, boolean, GameAction)
invocation to allow it to be modified. - TARGET_PLAYER - Enum constant in enum class net.demilich.metastone.game.cards.desc.ParseValueType
-
A string matching the name of a
TargetPlayer
enum. - TARGET_PLAYER - Enum constant in enum class net.demilich.metastone.game.spells.desc.condition.ConditionArg
- TARGET_PLAYER - Enum constant in enum class net.demilich.metastone.game.spells.desc.filter.EntityFilterArg
- TARGET_PLAYER - Enum constant in enum class net.demilich.metastone.game.spells.desc.manamodifier.CardCostModifierArg
-
The player against which we should evaluate this
CardCostModifier
, considering theEnchantment.getHostReference()
andEntity.getOwner()
. - TARGET_PLAYER - Enum constant in enum class net.demilich.metastone.game.spells.desc.source.CardSourceArg
- TARGET_PLAYER - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
Indicates whose point of view this spell should be cast from.
- TARGET_PLAYER - Enum constant in enum class net.demilich.metastone.game.spells.desc.trigger.EventTriggerArg
- TARGET_PLAYER - Enum constant in enum class net.demilich.metastone.game.spells.desc.valueprovider.ValueProviderArg
- TARGET_REFERENCE - Enum constant in enum class net.demilich.metastone.game.cards.desc.ParseValueType
-
A string matching the name of a
EntityReference
static field name. - TARGET_SELECTION - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Returns the
Card
'sCardDesc.targetSelection
field. - TARGET_SELECTION - Enum constant in enum class net.demilich.metastone.game.cards.desc.CardDescArg
- TARGET_SELECTION - Enum constant in enum class net.demilich.metastone.game.cards.desc.ParseValueType
-
A string matching the name of a
TargetSelection
enum. - TARGET_SELECTION - Enum constant in enum class net.demilich.metastone.game.spells.desc.aura.AuraArg
- TARGET_SELECTION - Enum constant in enum class net.demilich.metastone.game.spells.desc.BattlecryDescArg
- TARGET_SELECTION - Enum constant in enum class net.demilich.metastone.game.spells.desc.filter.EntityFilterArg
- TARGET_SELECTION - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
Used by the
CreateCardSpell
to indicate the card's target selection. - TARGET_SELECTION - Enum constant in enum class net.demilich.metastone.game.spells.desc.trigger.EventTriggerArg
- TARGET_SELECTION_CONDITION - Enum constant in enum class net.demilich.metastone.game.cards.desc.CardDescArg
- TARGET_SELECTION_CONDITION - Enum constant in enum class net.demilich.metastone.game.spells.desc.BattlecryDescArg
- TARGET_SELECTION_OVERRIDE - Enum constant in enum class net.demilich.metastone.game.cards.desc.CardDescArg
- TARGET_SELECTION_OVERRIDE - Enum constant in enum class net.demilich.metastone.game.spells.desc.BattlecryDescArg
- TARGET_TYPE - Enum constant in enum class net.demilich.metastone.game.cards.desc.ParseValueType
-
A string matching the name of a
TargetType
enum. - targetAcquisition(Player, Entity, GameAction) - Method in class net.demilich.metastone.game.logic.GameLogic
-
Processes an action for its appropriate target overriding effects, if any, and triggers target acquisition.
- TargetAcquisitionEvent - Class in net.demilich.metastone.game.events
-
A target will be acquired for the specified game action.
- TargetAcquisitionEvent(GameContext, GameAction, Entity, Entity) - Constructor for class net.demilich.metastone.game.events.TargetAcquisitionEvent
- TargetAcquisitionTrigger - Class in net.demilich.metastone.game.spells.trigger
- TargetAcquisitionTrigger() - Constructor for class net.demilich.metastone.game.spells.trigger.TargetAcquisitionTrigger
- TargetAcquisitionTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.TargetAcquisitionTrigger
- targetConditionArgOverridesSuppliedTarget() - Method in class net.demilich.metastone.game.spells.desc.condition.AdjacentToPermanentCondition
- targetConditionArgOverridesSuppliedTarget() - Method in class net.demilich.metastone.game.spells.desc.condition.AttributeExistsCondition
- targetConditionArgOverridesSuppliedTarget() - Method in class net.demilich.metastone.game.spells.desc.condition.CanPlayPactCondition
- targetConditionArgOverridesSuppliedTarget() - Method in class net.demilich.metastone.game.spells.desc.condition.CanSummonCondition
- targetConditionArgOverridesSuppliedTarget() - Method in class net.demilich.metastone.game.spells.desc.condition.ComboCondition
- targetConditionArgOverridesSuppliedTarget() - Method in class net.demilich.metastone.game.spells.desc.condition.Condition
-
When
true
,ConditionArg.TARGET
is evaluated instead of being interpreted by the subclass, replacingtarget
if it is specified. - targetConditionArgOverridesSuppliedTarget() - Method in class net.demilich.metastone.game.spells.desc.condition.ControlsSecretCondition
- targetConditionArgOverridesSuppliedTarget() - Method in class net.demilich.metastone.game.spells.desc.condition.DeckContainsCondition
- targetConditionArgOverridesSuppliedTarget() - Method in class net.demilich.metastone.game.spells.desc.condition.EventTargetMatchesReferenceCondition
- targetConditionArgOverridesSuppliedTarget() - Method in class net.demilich.metastone.game.spells.desc.condition.HasHeroPowerCondition
- targetConditionArgOverridesSuppliedTarget() - Method in class net.demilich.metastone.game.spells.desc.condition.HasWeaponCondition
- targetConditionArgOverridesSuppliedTarget() - Method in class net.demilich.metastone.game.spells.desc.condition.HeroClassCondition
- targetConditionArgOverridesSuppliedTarget() - Method in class net.demilich.metastone.game.spells.desc.condition.HighlanderHandCondition
- targetConditionArgOverridesSuppliedTarget() - Method in class net.demilich.metastone.game.spells.desc.condition.HoldsCardCondition
- targetConditionArgOverridesSuppliedTarget() - Method in class net.demilich.metastone.game.spells.desc.condition.ManaMaxedCondition
- targetConditionArgOverridesSuppliedTarget() - Method in class net.demilich.metastone.game.spells.desc.condition.MinionOnBoardCondition
- targetConditionArgOverridesSuppliedTarget() - Method in class net.demilich.metastone.game.spells.desc.condition.NumberOfCopiesCondition
- targetConditionArgOverridesSuppliedTarget() - Method in class net.demilich.metastone.game.spells.desc.condition.OverloadedCondition
- targetConditionArgOverridesSuppliedTarget() - Method in class net.demilich.metastone.game.spells.desc.condition.PlayedLastTurnCondition
- targetConditionArgOverridesSuppliedTarget() - Method in class net.demilich.metastone.game.spells.desc.condition.RandomCondition
- targetConditionArgOverridesSuppliedTarget() - Method in class net.demilich.metastone.game.spells.desc.condition.ReservoirCondition
- targetConditionArgOverridesSuppliedTarget() - Method in class net.demilich.metastone.game.spells.desc.condition.SurgeCondition
- targetContextStackSize - Variable in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
- TargetLogic - Class in net.demilich.metastone.game.logic
- TargetLogic() - Constructor for class net.demilich.metastone.game.logic.TargetLogic
- TargetNotFoundException - Exception Class in net.demilich.metastone.game.targeting
-
This exception is thrown when a given target is not found and the game requires one to be found.
- TargetNotFoundException(String, EntityReference) - Constructor for exception class net.demilich.metastone.game.targeting.TargetNotFoundException
-
Creates a new instance of this exception.
- TargetPlayer - Enum Class in net.demilich.metastone.game.spells
-
Indicates a player reference.
- TargetResolution(boolean, List<Entity>) - Constructor for class net.demilich.metastone.game.logic.GameLogic.TargetResolution
- targetSelection - Variable in class net.demilich.metastone.game.spells.desc.OpenerDesc
- TargetSelection - Enum Class in net.demilich.metastone.game.targeting
- targetSelectionCondition - Variable in class net.demilich.metastone.game.spells.desc.OpenerDesc
- TargetSelectionFilter - Class in net.demilich.metastone.game.spells.desc.filter
- TargetSelectionFilter(EntityFilterDesc) - Constructor for class net.demilich.metastone.game.spells.desc.filter.TargetSelectionFilter
- targetSelectionOverride - Variable in class net.demilich.metastone.game.spells.desc.OpenerDesc
- TargetSelectionOverrideAura - Class in net.demilich.metastone.game.spells.aura
-
Entities affected by this aura, like minions with battlecries and spells, have their
TargetSelection
set to this aura'sAuraArg.TARGET_SELECTION
. - TargetSelectionOverrideAura(AuraDesc) - Constructor for class net.demilich.metastone.game.spells.aura.TargetSelectionOverrideAura
- targetsSelf() - Method in class net.demilich.metastone.game.cards.costmodifier.CardCostModifier
- TargetToSourceSecondaryToTargetSpell - Class in net.demilich.metastone.game.spells
-
Puts the
target
that's passed into this spell as the sub spell'ssource
. - TargetToSourceSecondaryToTargetSpell() - Constructor for class net.demilich.metastone.game.spells.TargetToSourceSecondaryToTargetSpell
- TargetType - Enum Class in net.demilich.metastone.game.targeting
-
The possible values for an enchantment's "hostTargetType".
- TAUNT - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
- TEMPORARY_ATTACK_BONUS - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
A one-turn long attack bonus given to the
Actor
. - TemporaryAttackSpell - Class in net.demilich.metastone.game.spells
-
Gives the
target
actorSpellArg.VALUE
bonus attack until the end of the current turn. - TemporaryAttackSpell() - Constructor for class net.demilich.metastone.game.spells.TemporaryAttackSpell
- test(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.filter.AmalgamRaceFilter
- test(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.filter.AndFilter
- test(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.filter.AttributeFilter
- test(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.filter.CardAuraCardFilter
- test(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.filter.CardFilter
- test(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.filter.CollectibleFilter
- test(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.filter.CopiesHaveBeenPlayedFilter
- test(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.filter.DamagedFilter
- test(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.filter.EntityEqualsFilter
- test(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.filter.EntityFilter
-
The subclasses of this class implement this method to actually perform the logic of the filtering.
- test(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.filter.EntityTypeFilter
- test(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.filter.EvenCostFilter
- test(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.filter.HasAttackedFilter
- test(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.filter.HasAttackedLastTurnFilter
- test(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.filter.HasEffectsFilter
- test(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.filter.HasEnchantmentFilter
- test(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.filter.HasTextFilter
- test(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.filter.HasTurnEffectsFilter
- test(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.filter.HealedFilter
- test(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.filter.HighestAttributeFilter
- test(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.filter.IsDestroyedFilter
- test(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.filter.ManaCostFilter
- test(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.filter.NullFilter
- test(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.filter.OddCostFilter
- test(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.filter.OrFilter
- test(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.filter.OwnedByPlayerFilter
- test(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.filter.RaceEqualsFilter
- test(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.filter.RaceFilter
- test(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.filter.SameHeroClassFilter
- test(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.filter.SpecificCardFilter
- test(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.filter.SpellFilter
- test(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.filter.StorageContainsFilter
- test(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.filter.SummonedByPlayerFilter
- test(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.filter.TargetSelectionFilter
- test(GameContext, Player, Entity, Entity) - Method in class net.demilich.metastone.game.spells.desc.filter.ZoneContainsFilter
- TEST - Static variable in class net.demilich.metastone.game.cards.CardSet
- TEST - Static variable in class net.demilich.metastone.game.entities.heroes.HeroClass
- TextifySpell - Class in net.demilich.metastone.game.spells.custom
-
Puts text from a random
SpellDesc.getFilteredCards(GameContext, Player, Entity)
card onto thetarget
Card
. - TextifySpell() - Constructor for class net.demilich.metastone.game.spells.custom.TextifySpell
- THE_GRAND_TOURNAMENT - Static variable in class net.demilich.metastone.game.cards.CardSet
- THE_OLD_GODS - Static variable in class net.demilich.metastone.game.cards.CardSet
- TheliaSilentdreamerAura - Class in net.demilich.metastone.game.spells.aura
-
Implements Thelia Silentdreamer's effect, which is a
SpellsCastTwiceAura
as long as the target is itself. - TheliaSilentdreamerAura(AuraDesc) - Constructor for class net.demilich.metastone.game.spells.aura.TheliaSilentdreamerAura
- ThreatBasedHeuristic - Class in net.demilich.metastone.game.behaviour.heuristic
-
A heuristic that considers a linear combination of game state entities to determine the strength of a game state.
- ThreatBasedHeuristic(FeatureVector) - Constructor for class net.demilich.metastone.game.behaviour.heuristic.ThreatBasedHeuristic
- throwOnInvalidPlan - Variable in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
- throwsExceptions - Variable in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
- throwsExceptions() - Method in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
-
Indicates this game state value behaviour should throw exceptions when its underlying assumptions about the mechanics of the game are violated.
- timeout - Variable in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
- TIMES_HEALED - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Indicates how many times the target
Actor
has been healed. - to(GameState) - Method in class com.hiddenswitch.spellsource.common.GameState
-
Gets a difference between this game state and the
nextState
in terms of entity locations. - toCamelCase(String) - Static method in class net.demilich.metastone.game.cards.desc.ParseUtils
- toGameDeck() - Method in class net.demilich.metastone.game.decks.DeckCreateRequest
- TOGGLE_OFF_TRIGGER - Enum constant in enum class net.demilich.metastone.game.spells.desc.manamodifier.CardCostModifierArg
-
A trigger that, when fired, turns off this
CardCostModifier
effect. - TOGGLE_ON_TRIGGER - Enum constant in enum class net.demilich.metastone.game.spells.desc.manamodifier.CardCostModifierArg
-
A trigger that, when fired, turns on this
CardCostModifier
effect. - ToggleCostModifier - Class in net.demilich.metastone.game.cards.costmodifier
-
A card cost modifier that toggles on and off as
CardCostModifierArg.TOGGLE_ON_TRIGGER
andCardCostModifierArg.TOGGLE_OFF_TRIGGER
triggers fire. - ToggleCostModifier(CardCostModifierDesc) - Constructor for class net.demilich.metastone.game.cards.costmodifier.ToggleCostModifier
- toJson() - Method in class net.demilich.metastone.game.logic.Trace
- toKeyCase() - Method in enum class net.demilich.metastone.game.cards.Attribute
- toList() - Method in class net.demilich.metastone.game.cards.CardArrayList
- toList() - Method in interface net.demilich.metastone.game.cards.CardList
-
Gets a
List
that references the contents of this instance. - toList() - Method in class net.demilich.metastone.game.cards.CardZone
- toOpenerAction() - Method in class net.demilich.metastone.game.spells.desc.OpenerDesc
- TopCardsOfDeckSource - Class in net.demilich.metastone.game.spells.desc.source
-
Returns the top N cards of the deck, where N is defined by the
CardSourceArg.VALUE
arg - TopCardsOfDeckSource(CardSourceDesc) - Constructor for class net.demilich.metastone.game.spells.desc.source.TopCardsOfDeckSource
- TopThreeCardsOfDeckSource - Class in net.demilich.metastone.game.spells.desc.source
-
Returns the top three cards of the deck.
- TopThreeCardsOfDeckSource(CardSourceDesc) - Constructor for class net.demilich.metastone.game.spells.desc.source.TopThreeCardsOfDeckSource
- toString() - Method in class net.demilich.metastone.game.actions.DiscoverAction
- toString() - Method in class net.demilich.metastone.game.actions.GameAction
- toString() - Method in class net.demilich.metastone.game.behaviour.heuristic.FeatureVector
- toString() - Method in class net.demilich.metastone.game.cards.BaseMap
- toString() - Method in class net.demilich.metastone.game.cards.Card
- toString() - Method in class net.demilich.metastone.game.cards.desc.Desc
- toString() - Method in class net.demilich.metastone.game.decks.DeckCreateRequest
- toString() - Method in class net.demilich.metastone.game.decks.GameDeck
- toString() - Method in class net.demilich.metastone.game.entities.Actor
- toString() - Method in class net.demilich.metastone.game.entities.EntityLocation
- toString() - Method in exception class net.demilich.metastone.game.entities.TransformCycleException
- toString() - Method in class net.demilich.metastone.game.events.GameEvent
- toString() - Method in class net.demilich.metastone.game.GameContext
- toString() - Method in class net.demilich.metastone.game.logic.Trace
- toString() - Method in class net.demilich.metastone.game.Player
- toString() - Method in class net.demilich.metastone.game.spells.desc.SpellDesc
- toString() - Method in class net.demilich.metastone.game.spells.Spell
- toString() - Method in class net.demilich.metastone.game.spells.trigger.Enchantment
- toString() - Method in class net.demilich.metastone.game.spells.trigger.EventTrigger
- toString() - Method in class net.demilich.metastone.game.statistics.GameStatistics
- toString() - Method in class net.demilich.metastone.game.statistics.SimulationResult
- toString() - Method in class net.demilich.metastone.game.targeting.EntityReference
- TOTAL_DAMAGE_DEALT - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Every time an
Actor
damages a target, increment this attribute with the total amount of damage dealt across all games. - TOTAL_DAMAGE_DEALT_THIS_GAME - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Keeps track of damage dealt by this
source
minion this game. - TOTAL_DAMAGE_RECEIVED - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Every time an
Actor
receives damage, increment this attribute with the total amount of damage dealt. - TOTAL_DRAINED - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Indicates how much an entity has
DrainSpell
drained over its lifetime. - TOTAL_HP_INCREASES - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Every time an
Actor
has its max HP increased, this value increases. - TOTAL_KILLS - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Every time an
Actor
kills a target, increment this attribute. - TOTAL_MINION_DAMAGE_DEALT_THIS_GAME - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Records how much damage was dealt to minions by this player or entity this game.
- TOTAL_MINIONS_SUMMONED_THIS_TURN - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Every time a
Player
successfully summons a minion, this counter is incremented on both players - toTargetPlayer() - Method in class net.demilich.metastone.game.Player
-
Returns a
TargetPlayer
specifier for this player. - TOTEM - Static variable in class net.demilich.metastone.game.entities.minions.Race
- TouchingNotification - Class in net.demilich.metastone.game.events
-
An entity is being "touched" by the client.
- TouchingNotification(int, int, boolean) - Constructor for class net.demilich.metastone.game.events.TouchingNotification
- toUpperCase(String) - Static method in class net.demilich.metastone.game.cards.desc.ParseUtils
- Trace - Class in net.demilich.metastone.game.logic
-
Stores information about a game context that allows you to reproduce exactly what happened in the match.
- Trace() - Constructor for class net.demilich.metastone.game.logic.Trace
- traceMulligans(List<Card>, List<Card>) - Method in class net.demilich.metastone.game.GameContext
- transferEnchantments(Entity, Entity, Predicate<Trigger>) - Method in class net.demilich.metastone.game.logic.GameLogic
- TRANSFORM_REFERENCE - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
For entities that are in the
Spellsource.ZonesMessage.Zones.REMOVED_FROM_PLAY
zone due to a transform effect, this attribute points to the entity that replaced this one. - TRANSFORM_REFERENCE - Enum constant in enum class net.demilich.metastone.game.environment.Environment
-
This variable stores a reference to the new minion as a result of a transform.
- TRANSFORM_REFERENCE - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
Deprecated.
- TransformCardSpell - Class in net.demilich.metastone.game.spells
-
Transforms a
target
card to the specifiedSpellArg.CARD
by removing the old card and receiving a new one. - TransformCardSpell() - Constructor for class net.demilich.metastone.game.spells.TransformCardSpell
- TransformCycleException - Exception Class in net.demilich.metastone.game.entities
-
Indicates that an infinite loop occurred trying to follow the link from an entity that was removed from play due to being transformed towards the entity it was eventually transformed into.
- TransformCycleException(Entity) - Constructor for exception class net.demilich.metastone.game.entities.TransformCycleException
- TransformInHandSpell - Class in net.demilich.metastone.game.spells.custom
-
Transforms the
target
card into a card retrieved fromSpellUtils.getCards(GameContext, Player, Entity, Entity, SpellDesc)
, keeping important attributes likeAttribute.STARTED_IN_DECK
,Attribute.STARTED_IN_HAND
andAttribute.REMOVES_SELF_AT_END_OF_TURN
(ghostly) consistent. - TransformInHandSpell() - Constructor for class net.demilich.metastone.game.spells.custom.TransformInHandSpell
- transformMinion(SpellDesc, Entity, Minion, Minion, boolean) - Method in class net.demilich.metastone.game.logic.GameLogic
- TransformMinionSpell - Class in net.demilich.metastone.game.spells
-
Transforms the
target
minion into theSpellArg.CARD
or the source card of the entity pointed to bySpellArg.SECONDARY_TARGET
. - TransformMinionSpell() - Constructor for class net.demilich.metastone.game.spells.TransformMinionSpell
- transformResolved(GameContext) - Method in class net.demilich.metastone.game.entities.Entity
-
Follows
Attribute.TRANSFORM_REFERENCE
until the resolved entity is found. - transformResolved(GameContext, int) - Method in class net.demilich.metastone.game.entities.Entity
- TransformToAndBackSpell - Class in net.demilich.metastone.game.spells.custom
- TransformToAndBackSpell() - Constructor for class net.demilich.metastone.game.spells.custom.TransformToAndBackSpell
- TransformToRandomMinionSpell - Class in net.demilich.metastone.game.spells
-
Transforms the
target
into a random base minion fromSpellUtils.getCards(GameContext, Player, Entity, Entity, SpellDesc, int)
. - TransformToRandomMinionSpell() - Constructor for class net.demilich.metastone.game.spells.TransformToRandomMinionSpell
- TranspositionTable - Class in net.demilich.metastone.game.behaviour
- TranspositionTable() - Constructor for class net.demilich.metastone.game.behaviour.TranspositionTable
- TREANT - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Indicates a minion is an official Treant, considered for Treant-related synergies
- Trigger - Interface in net.demilich.metastone.game.spells.trigger
- TRIGGER - Enum constant in enum class net.demilich.metastone.game.cards.CardDescType
- TRIGGER - Enum constant in enum class net.demilich.metastone.game.cards.desc.ParseValueType
-
A
EnchantmentDesc
object. - TRIGGER - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
Specifies the
EnchantmentDesc
enchantment that should be created, typically by theAddEnchantmentSpell
. - TRIGGER_HOST - Static variable in class net.demilich.metastone.game.targeting.EntityReference
-
References the
Entity
that hosts theEnchantment
whose fire condition or spell is currently being evaluated. - TRIGGER_HOST_STACK - Enum constant in enum class net.demilich.metastone.game.environment.Environment
-
Stores the stack of trigger hosts as triggers are processed
- TriggerDeathrattleSpell - Class in net.demilich.metastone.game.spells
-
Triggers the
target
entity's aftermaths. - TriggerDeathrattleSpell() - Constructor for class net.demilich.metastone.game.spells.TriggerDeathrattleSpell
- TriggerDistinctAftermathsInGraveyard - Class in net.demilich.metastone.game.spells.custom
-
Triggers
SpellArg.VALUE
distinct aftermaths in the player's graveyard whose entities match theSpellArg.FILTER
specified. - TriggerDistinctAftermathsInGraveyard() - Constructor for class net.demilich.metastone.game.spells.custom.TriggerDistinctAftermathsInGraveyard
- TriggerFired - Class in net.demilich.metastone.game.events
-
A trigger was fired from the specified enchantment.
- TriggerFired(GameContext, Enchantment) - Constructor for class net.demilich.metastone.game.events.TriggerFired
- TriggerOpenerSpell - Class in net.demilich.metastone.game.spells
-
Triggers the opener written on each
target
entity with random targets (except itself). - TriggerOpenerSpell() - Constructor for class net.demilich.metastone.game.spells.TriggerOpenerSpell
- TriggerQuickDrawSpell - Class in net.demilich.metastone.game.spells
-
Triggers the Quick Draw effect wrapped by the
QuickDrawSpell
written on thetarget
. - TriggerQuickDrawSpell() - Constructor for class net.demilich.metastone.game.spells.TriggerQuickDrawSpell
- triggers - Variable in class net.demilich.metastone.game.spells.trigger.Enchantment
- TRIGGERS - Enum constant in enum class net.demilich.metastone.game.cards.desc.CardDescArg
- TRIGGERS - Enum constant in enum class net.demilich.metastone.game.cards.desc.ParseValueType
-
An array of
EnchantmentDesc
objects. - TRIGGERS - Enum constant in enum class net.demilich.metastone.game.spells.desc.aura.AuraArg
- TRIGGERS - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
The plural version of
SpellArg.TRIGGER
. - TriggerSecretRevealSpell - Class in net.demilich.metastone.game.spells.custom
- TriggerSecretRevealSpell() - Constructor for class net.demilich.metastone.game.spells.custom.TriggerSecretRevealSpell
- TriggerSecretSpell - Class in net.demilich.metastone.game.spells
-
Triggers a specific secret, either from the
SpellArg.CARD
if specified or thetarget
card. - TriggerSecretSpell() - Constructor for class net.demilich.metastone.game.spells.TriggerSecretSpell
- triggerStartTurns - Variable in class net.demilich.metastone.game.behaviour.GameStateValueBehaviour
- tryCreate(GameContext, Player, Entity, Card, Entity, boolean) - Method in class net.demilich.metastone.game.cards.desc.CardDesc
- tryCreate(GameContext, Player, Entity, Card, Entity, boolean) - Method in interface net.demilich.metastone.game.spells.desc.AbstractEnchantmentDesc
- tryCreate(GameContext, Player, Entity, Card, Entity, boolean) - Method in class net.demilich.metastone.game.spells.desc.aura.AuraDesc
- tryCreate(GameContext, Player, Entity, Card, Entity, boolean) - Method in class net.demilich.metastone.game.spells.desc.manamodifier.CardCostModifierDesc
- tryCreate(GameContext, Player, Entity, Card, Entity, boolean) - Method in class net.demilich.metastone.game.spells.desc.OpenerDesc
- tryCreate(GameContext, Player, Entity, Card, Entity, boolean) - Method in class net.demilich.metastone.game.spells.desc.SpellDesc
- tryCreate(GameContext, Player, Entity, Card, Entity, boolean) - Method in class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDesc
- tryCreateAftermath(SpellDesc, Entity, Card, Entity, boolean) - Method in class net.demilich.metastone.game.logic.GameLogic
- tryCreateAura(Player, AuraDesc, Entity, Card, Entity, boolean) - Method in class net.demilich.metastone.game.logic.GameLogic
- tryCreateCardCostModifier(CardCostModifierDesc, Entity, Card, Entity, boolean) - Method in class net.demilich.metastone.game.logic.GameLogic
- tryCreateEnchantment(Player, EnchantmentDesc, Entity, Card, Entity, boolean) - Method in class net.demilich.metastone.game.logic.GameLogic
- tryCreateEnchantmentCard(GameContext, Player, Entity, Card, Entity, boolean) - Method in class net.demilich.metastone.game.logic.GameLogic
- tryCreateOpener(Player, OpenerDesc, Entity, Card, Entity, boolean) - Method in class net.demilich.metastone.game.logic.GameLogic
- tryFind(EntityReference) - Method in class net.demilich.metastone.game.GameContext
-
Tries to find an entity given the reference.
- tryFind(EntityReference, boolean) - Method in class net.demilich.metastone.game.GameContext
-
Tries to find an entity given the reference.
- TURN_ENDED - Enum constant in enum class net.demilich.metastone.game.logic.TurnState
- TURN_IN_PROGRESS - Enum constant in enum class net.demilich.metastone.game.logic.TurnState
- TURN_LIMIT - Static variable in class net.demilich.metastone.game.logic.GameLogic
-
The maximum number of turns until a game is forced into a draw.
- TURN_START_TIME_MILLIS - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Indicates the time, in millis since the beginning of the match, that a player's turn was started.
- TURN_TIME - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Indicates the amount of time, in seconds, a player has to perform their turn.
- TurnEndEvent - Class in net.demilich.metastone.game.events
-
The player ended their turn.
- TurnEndEvent(GameContext, int) - Constructor for class net.demilich.metastone.game.events.TurnEndEvent
- TurnEndTrigger - Class in net.demilich.metastone.game.spells.trigger
- TurnEndTrigger() - Constructor for class net.demilich.metastone.game.spells.trigger.TurnEndTrigger
- TurnEndTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.TurnEndTrigger
- TurnEndTrigger(TargetPlayer) - Constructor for class net.demilich.metastone.game.spells.trigger.TurnEndTrigger
- TURNS_TAKEN - Enum constant in enum class net.demilich.metastone.game.statistics.Statistic
- TurnsNoCardPlayedValueProvider - Class in net.demilich.metastone.game.spells.desc.valueprovider
-
Returns the number of turns the specified player did not player a card.
- TurnsNoCardPlayedValueProvider(ValueProviderDesc) - Constructor for class net.demilich.metastone.game.spells.desc.valueprovider.TurnsNoCardPlayedValueProvider
- TurnStartEvent - Class in net.demilich.metastone.game.events
-
The player started their turn.
- TurnStartEvent(GameContext, int) - Constructor for class net.demilich.metastone.game.events.TurnStartEvent
- TurnStartTrigger - Class in net.demilich.metastone.game.spells.trigger
- TurnStartTrigger() - Constructor for class net.demilich.metastone.game.spells.trigger.TurnStartTrigger
- TurnStartTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.TurnStartTrigger
- TurnState - Enum Class in net.demilich.metastone.game.logic
- TurnTrigger - Class in net.demilich.metastone.game.spells.trigger
- TurnTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.TurnTrigger
- TWILIGHT - Static variable in class net.demilich.metastone.game.entities.heroes.HeroClass
- TYPE - Enum constant in enum class net.demilich.metastone.game.cards.desc.CardDescArg
U
- UctPolicy - Class in net.demilich.metastone.game.behaviour.mcts
-
A selection criteria that implements upper confidence bound for selecting children given information about the parent node.
- UctPolicy() - Constructor for class net.demilich.metastone.game.behaviour.mcts.UctPolicy
- UNASSIGNED - Static variable in class net.demilich.metastone.game.entities.EntityLocation
-
An unassigned location.
- UNASSIGNED - Static variable in interface net.demilich.metastone.game.targeting.IdFactory
- UNCENSORED - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
When set on a card in the
Spellsource.ZonesMessage.Zones.DISCOVER
, indicates the card should be turned over and visible to the discovering player's opponent. - uncheckedAdd(int, E) - Method in class net.demilich.metastone.game.entities.EntityZone
- UncollectibleCatalogueSource - Class in net.demilich.metastone.game.spells.desc.source
-
Returns all cards, including uncollectible ones, in the game context's
DeckFormat
. - UncollectibleCatalogueSource(CardSourceDesc) - Constructor for class net.demilich.metastone.game.spells.desc.source.UncollectibleCatalogueSource
- UNDEFINED - Enum constant in enum class net.demilich.metastone.game.entities.minions.BoardPositionRelative
- UngoroPackRarityWeightedCardSource - Class in net.demilich.metastone.game.spells.desc.source
-
This weighted card source returns legendaries and epics more frequently than normal and only cards from the
CardSet.JOURNEY_TO_UNGORO
set. - UngoroPackRarityWeightedCardSource(CardSourceDesc) - Constructor for class net.demilich.metastone.game.spells.desc.source.UngoroPackRarityWeightedCardSource
- UNIQUE_CHAMPION_IDS - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Every unique user ID that has summoned this minion is stored in this attribute's array of
String
. - UNIQUE_CHAMPION_IDS_SIZE - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
- UNLIMITED_ATTACKS - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
An
Actor
withAttribute.UNLIMITED_ATTACKS
has unlimited attacks per turn. - unloadCards() - Static method in class net.demilich.metastone.game.cards.CardCatalogue
- UNNERFED - Static variable in class net.demilich.metastone.game.cards.CardSet
- unsafeKeySet() - Method in class net.demilich.metastone.game.cards.AttributeMap
- unsafeKeySet() - Method in class net.demilich.metastone.game.cards.CardAttributeMap
- UNTARGETABLE_BY_OPPONENT_SPELLS - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Marks an
Actor
to be untargetable by an opponent's spells or hero powers. - UNTARGETABLE_BY_SPELLS - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Marks an
Actor
to be untargetable by spells or hero powers. - UnweightedCatalogueSource - Class in net.demilich.metastone.game.spells.desc.source
-
Returns a list of collectible cards from the
DeckFormat
for this game (fromGameContext.getDeckFormat()
) of equal probability for all classes and neutrals. - UnweightedCatalogueSource(CardSourceDesc) - Constructor for class net.demilich.metastone.game.spells.desc.source.UnweightedCatalogueSource
- updateAndGetGameOver() - Method in class net.demilich.metastone.game.GameContext
-
Determines whether the game is over (decided).
- updateLookup(Entity) - Method in class net.demilich.metastone.game.Player
-
Updates the lookup table with the specified entity's ID
- UpgradeHeroPowerSpell - Class in net.demilich.metastone.game.spells.custom
-
Upgrades the player's hero power as specified in its
CardDesc.heroPower
. - UpgradeHeroPowerSpell() - Constructor for class net.demilich.metastone.game.spells.custom.UpgradeHeroPowerSpell
- USED_THIS_TURN - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Indicates the number of uses of a hero power.
- UseHeroPowerSpell - Class in net.demilich.metastone.game.spells
-
Uses the
SpellArg.TARGET_PLAYER
's hero power, choosing a target randomly. - UseHeroPowerSpell() - Constructor for class net.demilich.metastone.game.spells.UseHeroPowerSpell
- USER_ID - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
This attribute is a
String
that describes the inventory owner (as opposed to in-match owner) of the card. - usesFilter() - Method in class net.demilich.metastone.game.spells.desc.condition.AllMatchFilterCondition
- usesFilter() - Method in class net.demilich.metastone.game.spells.desc.condition.AllModuloValueEqualsZeroCondition
- usesFilter() - Method in class net.demilich.metastone.game.spells.desc.condition.AnyMatchFilterCondition
- usesFilter() - Method in class net.demilich.metastone.game.spells.desc.condition.AttributeExistsCondition
- usesFilter() - Method in class net.demilich.metastone.game.spells.desc.condition.Condition
- usesFilter() - Method in class net.demilich.metastone.game.spells.desc.condition.IsDamagedCondition
- usesFilter() - Method in class net.demilich.metastone.game.spells.desc.condition.NumberOfCopiesCondition
- usesSpellTrigger - Variable in class net.demilich.metastone.game.spells.trigger.Enchantment
- UtilityBehaviour - Class in net.demilich.metastone.game.behaviour
-
Utility behaviours help server and test code mock users or glue code together.
- UtilityBehaviour() - Constructor for class net.demilich.metastone.game.behaviour.UtilityBehaviour
V
- VALID_ZONES - Static variable in class net.demilich.metastone.game.logic.GameLogic
- VALUE - Enum constant in enum class net.demilich.metastone.game.cards.desc.ParseValueType
-
An integer, or a
ValueProviderDesc
. - VALUE - Enum constant in enum class net.demilich.metastone.game.cards.dynamicdescription.DynamicDescriptionArg
- VALUE - Enum constant in enum class net.demilich.metastone.game.spells.desc.aura.AuraArg
- VALUE - Enum constant in enum class net.demilich.metastone.game.spells.desc.condition.ConditionArg
- VALUE - Enum constant in enum class net.demilich.metastone.game.spells.desc.filter.EntityFilterArg
- VALUE - Enum constant in enum class net.demilich.metastone.game.spells.desc.manamodifier.CardCostModifierArg
-
The value that will be interpreted by the given
CardCostModifierArg.OPERATION
to determine the final cost effect. - VALUE - Enum constant in enum class net.demilich.metastone.game.spells.desc.source.CardSourceArg
- VALUE - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
The value is either an integer or a
ValueProvider
which is typically interpreted as the amount or copies of an action. - VALUE - Enum constant in enum class net.demilich.metastone.game.spells.desc.trigger.EventTriggerArg
- VALUE - Enum constant in enum class net.demilich.metastone.game.spells.desc.valueprovider.ValueProviderArg
- VALUE_PROVIDER - Enum constant in enum class net.demilich.metastone.game.cards.desc.ParseValueType
- VALUE1 - Enum constant in enum class net.demilich.metastone.game.spells.desc.condition.ConditionArg
- VALUE1 - Enum constant in enum class net.demilich.metastone.game.spells.desc.valueprovider.ValueProviderArg
- VALUE2 - Enum constant in enum class net.demilich.metastone.game.spells.desc.condition.ConditionArg
- VALUE2 - Enum constant in enum class net.demilich.metastone.game.spells.desc.valueprovider.ValueProviderArg
- ValueDescription - Class in net.demilich.metastone.game.cards.dynamicdescription
-
Converts the
ValueProvider
inDynamicDescriptionArg.VALUE
to a string. - ValueDescription(DynamicDescriptionDesc) - Constructor for class net.demilich.metastone.game.cards.dynamicdescription.ValueDescription
- ValueEvent - Class in net.demilich.metastone.game.events
-
An event that contains a value.
- ValueEvent(Spellsource.GameEventTypeMessage.GameEventType, boolean, GameContext, Player, Entity, Entity, int) - Constructor for class net.demilich.metastone.game.events.ValueEvent
- ValueEvent(Spellsource.GameEventTypeMessage.GameEventType, boolean, GameContext, int, int, Entity, int) - Constructor for class net.demilich.metastone.game.events.ValueEvent
- ValueEvent(Spellsource.GameEventTypeMessage.GameEventType, GameContext, int, int, Entity, int) - Constructor for class net.demilich.metastone.game.events.ValueEvent
- ValueEvent(Spellsource.GameEventTypeMessage.GameEventType, GameContext, int, Entity, Entity, int) - Constructor for class net.demilich.metastone.game.events.ValueEvent
- ValueEvent(Spellsource.GameEventTypeMessage.GameEventType, GameContext, Player, Entity, Entity, int) - Constructor for class net.demilich.metastone.game.events.ValueEvent
- valueOf(String) - Static method in enum class com.hiddenswitch.spellsource.draft.DraftStatus
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.demilich.metastone.game.behaviour.heuristic.WeightedFeature
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.demilich.metastone.game.cards.Attribute
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.demilich.metastone.game.cards.CardDescType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.demilich.metastone.game.cards.ChooseOneOverride
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.demilich.metastone.game.cards.desc.CardDescArg
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.demilich.metastone.game.cards.desc.HasEntrySet.BfsEnum
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.demilich.metastone.game.cards.desc.ParseValueType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.demilich.metastone.game.cards.dynamicdescription.DynamicDescriptionArg
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.demilich.metastone.game.entities.minions.BoardPositionRelative
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.demilich.metastone.game.environment.Environment
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.demilich.metastone.game.logic.GameStatus
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.demilich.metastone.game.logic.TurnState
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.demilich.metastone.game.spells.desc.aura.AuraArg
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.demilich.metastone.game.spells.desc.BattlecryDescArg
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.demilich.metastone.game.spells.desc.condition.ConditionArg
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.demilich.metastone.game.spells.desc.filter.ComparisonOperation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.demilich.metastone.game.spells.desc.filter.EntityFilterArg
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.demilich.metastone.game.spells.desc.manamodifier.CardCostModifierArg
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.demilich.metastone.game.spells.desc.source.CardSourceArg
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDescArg
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.demilich.metastone.game.spells.desc.trigger.EventTriggerArg
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.demilich.metastone.game.spells.desc.valueprovider.AlgebraicOperation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.demilich.metastone.game.spells.desc.valueprovider.ValueProviderArg
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.demilich.metastone.game.spells.GameValue
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.demilich.metastone.game.spells.PlayerAttribute
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.demilich.metastone.game.spells.TargetPlayer
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.demilich.metastone.game.statistics.Statistic
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.demilich.metastone.game.targeting.TargetSelection
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.demilich.metastone.game.targeting.TargetType
-
Returns the enum constant of this class with the specified name.
- ValueProvider - Class in net.demilich.metastone.game.spells.desc.valueprovider
-
Value providers compute an integer value given
ValueProviderArg
, an underlying implementation, and theplayer
,host
andtarget
from whose point of view the value should be calculated. - ValueProvider(ValueProviderDesc) - Constructor for class net.demilich.metastone.game.spells.desc.valueprovider.ValueProvider
- ValueProviderArg - Enum Class in net.demilich.metastone.game.spells.desc.valueprovider
- ValueProviderDesc - Class in net.demilich.metastone.game.spells.desc.valueprovider
-
This instance stores the definition of a
ValueProvider
. - ValueProviderDesc() - Constructor for class net.demilich.metastone.game.spells.desc.valueprovider.ValueProviderDesc
- ValueProviderDesc(Class<? extends ValueProvider>) - Constructor for class net.demilich.metastone.game.spells.desc.valueprovider.ValueProviderDesc
- ValueProviderDesc(Map<ValueProviderArg, Object>) - Constructor for class net.demilich.metastone.game.spells.desc.valueprovider.ValueProviderDesc
- ValueProviderDescDeserializer - Class in net.demilich.metastone.game.cards.desc
- ValueProviderDescDeserializer() - Constructor for class net.demilich.metastone.game.cards.desc.ValueProviderDescDeserializer
- values() - Static method in enum class com.hiddenswitch.spellsource.draft.DraftStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.demilich.metastone.game.behaviour.heuristic.WeightedFeature
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.demilich.metastone.game.cards.Attribute
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.demilich.metastone.game.cards.CardDescType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.demilich.metastone.game.cards.ChooseOneOverride
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.demilich.metastone.game.cards.desc.CardDescArg
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.demilich.metastone.game.cards.desc.HasEntrySet.BfsEnum
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.demilich.metastone.game.cards.desc.ParseValueType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.demilich.metastone.game.cards.dynamicdescription.DynamicDescriptionArg
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.demilich.metastone.game.entities.minions.BoardPositionRelative
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.demilich.metastone.game.environment.Environment
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.demilich.metastone.game.logic.GameStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.demilich.metastone.game.logic.TurnState
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.demilich.metastone.game.spells.desc.aura.AuraArg
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.demilich.metastone.game.spells.desc.BattlecryDescArg
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.demilich.metastone.game.spells.desc.condition.ConditionArg
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.demilich.metastone.game.spells.desc.filter.ComparisonOperation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.demilich.metastone.game.spells.desc.filter.EntityFilterArg
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.demilich.metastone.game.spells.desc.manamodifier.CardCostModifierArg
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.demilich.metastone.game.spells.desc.source.CardSourceArg
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDescArg
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.demilich.metastone.game.spells.desc.trigger.EventTriggerArg
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.demilich.metastone.game.spells.desc.valueprovider.AlgebraicOperation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.demilich.metastone.game.spells.desc.valueprovider.ValueProviderArg
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.demilich.metastone.game.spells.GameValue
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.demilich.metastone.game.spells.PlayerAttribute
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.demilich.metastone.game.spells.TargetPlayer
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.demilich.metastone.game.statistics.Statistic
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.demilich.metastone.game.targeting.TargetSelection
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.demilich.metastone.game.targeting.TargetType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- ValueToHowManySpell - Class in net.demilich.metastone.game.spells
- ValueToHowManySpell() - Constructor for class net.demilich.metastone.game.spells.ValueToHowManySpell
- Varint - Class in com.hiddenswitch.spellsource.util
-
Encodes signed and unsigned values using a common variable-length scheme, found for example in Google's Protocol Buffers.
- VERDANT_DREAMS - Static variable in class net.demilich.metastone.game.cards.CardSet
- VileIntentSpell - Class in net.demilich.metastone.game.spells.custom
-
Buffs all minions in your hand and deck that have a copy in the graveyard.
- VileIntentSpell() - Constructor for class net.demilich.metastone.game.spells.custom.VileIntentSpell
- VIOLET - Static variable in class net.demilich.metastone.game.entities.heroes.HeroClass
- VohkrovanisSpell - Class in net.demilich.metastone.game.spells.custom
-
Replaces the
SpellArg.TARGET_PLAYER
's deck with 30 random cards. - VohkrovanisSpell() - Constructor for class net.demilich.metastone.game.spells.custom.VohkrovanisSpell
- VolatileWisdomSpell - Class in net.demilich.metastone.game.spells.custom
-
Both players swap their leftmost and rightmost cards with their opponent.
- VolatileWisdomSpell() - Constructor for class net.demilich.metastone.game.spells.custom.VolatileWisdomSpell
W
- WEAKEST_ON_BATTLEFIELD_WHEN_DESTROYED_COUNT - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Whenever an
Actor
dies, increment this attribute by 1 if the actor had the lowest attack on the battlefield. - weapon() - Method in class net.demilich.metastone.game.cards.Card
-
Gets the weapon equipped by a
EquipWeaponSpell
in this hero's battlecry. - Weapon - Class in net.demilich.metastone.game.entities.weapons
- Weapon(Card) - Constructor for class net.demilich.metastone.game.entities.weapons.Weapon
- WeaponDamageSpell - Class in net.demilich.metastone.game.spells
-
Deals magical damage from the weapon equipped by the
player
(SpellArg.TARGET_PLAYER
), correctly accounting for effects likeAttribute.LIFESTEAL
andAttribute.POISONOUS
. - WeaponDamageSpell() - Constructor for class net.demilich.metastone.game.spells.WeaponDamageSpell
- WeaponDestroyedEvent - Class in net.demilich.metastone.game.events
-
The player destroyed their weapon.
- WeaponDestroyedEvent(GameContext, Weapon) - Constructor for class net.demilich.metastone.game.events.WeaponDestroyedEvent
- WeaponDestroyedTrigger - Class in net.demilich.metastone.game.spells.trigger
- WeaponDestroyedTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.WeaponDestroyedTrigger
- WeaponEquippedEvent - Class in net.demilich.metastone.game.events
-
The player equipped a weapon.
- WeaponEquippedEvent(GameContext, Weapon, Card) - Constructor for class net.demilich.metastone.game.events.WeaponEquippedEvent
- WeaponEquippedTrigger - Class in net.demilich.metastone.game.spells.trigger
- WeaponEquippedTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.WeaponEquippedTrigger
- WeaponOnEquipEffectSpell - Class in net.demilich.metastone.game.spells.custom
- WeaponOnEquipEffectSpell() - Constructor for class net.demilich.metastone.game.spells.custom.WeaponOnEquipEffectSpell
- WeaponOnUnEquipEffectSpell - Class in net.demilich.metastone.game.spells.custom
- WeaponOnUnEquipEffectSpell() - Constructor for class net.demilich.metastone.game.spells.custom.WeaponOnUnEquipEffectSpell
- WeaponPlayedTrigger - Class in net.demilich.metastone.game.spells.trigger
- WeaponPlayedTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.WeaponPlayedTrigger
- WEAPONS_EQUIPPED - Enum constant in enum class net.demilich.metastone.game.statistics.Statistic
- WEAPONS_PLAYED - Enum constant in enum class net.demilich.metastone.game.statistics.Statistic
- WeightedFeature - Enum Class in net.demilich.metastone.game.behaviour.heuristic
-
The coefficients in a linear combination of features used by
ThreatBasedHeuristic
to calculate a score for a game state. - WhereverTheyAreEnchantment - Class in net.demilich.metastone.game.spells.trigger
-
Represents an enchantment that affects a minion with the given
cardId
at construction time with whateverdesc
spell was provided, "wherever it is." - WhereverTheyAreEnchantment(EntityFilter, SpellDesc, Card) - Constructor for class net.demilich.metastone.game.spells.trigger.WhereverTheyAreEnchantment
- WhereverTheyAreSpell - Class in net.demilich.metastone.game.spells
-
Casts a spell on a target and its copies "wherever they are" in the
player
(casting player's) zones. - WhereverTheyAreSpell() - Constructor for class net.demilich.metastone.game.spells.WhereverTheyAreSpell
- WHITE - Static variable in class net.demilich.metastone.game.entities.heroes.HeroClass
- WIKI - Enum constant in enum class net.demilich.metastone.game.cards.desc.CardDescArg
- WillEndSequenceEvent - Class in net.demilich.metastone.game.events
-
The sequence is about to end.
- WillEndSequenceEvent(GameContext) - Constructor for class net.demilich.metastone.game.events.WillEndSequenceEvent
- WillEndSequenceTrigger - Class in net.demilich.metastone.game.spells.trigger
- WillEndSequenceTrigger() - Constructor for class net.demilich.metastone.game.spells.trigger.WillEndSequenceTrigger
- WillEndSequenceTrigger(EventTriggerDesc) - Constructor for class net.demilich.metastone.game.spells.trigger.WillEndSequenceTrigger
- WIN_RATE - Enum constant in enum class net.demilich.metastone.game.statistics.Statistic
- WINDFURY - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
An
Actor
withAttribute.WINDFURY
has two attacks per turn. - WINDFURY_ATTACKS - Static variable in class net.demilich.metastone.game.logic.GameLogic
-
The number of attacks gained by
Attribute.WINDFURY
. - WITCHWOOD - Static variable in class net.demilich.metastone.game.cards.CardSet
- withBehaviour(DraftBehaviour) - Method in class com.hiddenswitch.spellsource.draft.DraftContext
- withCardIds(List<String>) - Method in class net.demilich.metastone.game.decks.DeckCreateRequest
- withCardSets(Iterable<String>) - Method in class net.demilich.metastone.game.decks.DeckFormat
- withCardSets(String...) - Method in class net.demilich.metastone.game.decks.DeckFormat
- withDraft(boolean) - Method in class net.demilich.metastone.game.decks.DeckCreateRequest
- WITHER - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Indicates this actor has a wither effect active on it.
- WITHERED - Enum constant in enum class net.demilich.metastone.game.cards.Attribute
-
Indicates this actor has been withered.
- WitherSpell - Class in net.demilich.metastone.game.spells
- WitherSpell() - Constructor for class net.demilich.metastone.game.spells.WitherSpell
- withFormat(String) - Method in class net.demilich.metastone.game.decks.DeckCreateRequest
- withHeroCardId(String) - Method in class net.demilich.metastone.game.decks.DeckCreateRequest
- withHeroClass(String) - Method in class net.demilich.metastone.game.decks.DeckCreateRequest
- withInventoryIds(List<String>) - Method in class net.demilich.metastone.game.decks.DeckCreateRequest
- withLogic(DraftLogic) - Method in class com.hiddenswitch.spellsource.draft.DraftContext
- withName(String) - Method in class net.demilich.metastone.game.decks.DeckCreateRequest
- withName(String) - Method in class net.demilich.metastone.game.decks.DeckFormat
- withoutPermanents(List<E>) - Static method in class net.demilich.metastone.game.logic.TargetLogic
- withPrivateState(PrivateDraftState) - Method in class com.hiddenswitch.spellsource.draft.DraftContext
- withPublicState(PublicDraftState) - Method in class com.hiddenswitch.spellsource.draft.DraftContext
- withTargetReference(EntityReference) - Method in class net.demilich.metastone.game.actions.GameAction
- withUserId(String) - Method in class net.demilich.metastone.game.decks.DeckCreateRequest
- WON - Enum constant in enum class net.demilich.metastone.game.logic.GameStatus
- writeResults(PrintStream, Map<String[], SimulationResult>) - Static method in class com.hiddenswitch.spellsource.util.Simulation
- writeSignedVarInt(int) - Static method in class com.hiddenswitch.spellsource.util.Varint
- writeSignedVarInt(int, DataOutput) - Static method in class com.hiddenswitch.spellsource.util.Varint
- writeSignedVarLong(long, DataOutput) - Static method in class com.hiddenswitch.spellsource.util.Varint
-
Encodes a value using the variable-length encoding from Google Protocol Buffers.
- writeUnsignedVarInt(int) - Static method in class com.hiddenswitch.spellsource.util.Varint
- writeUnsignedVarInt(int, DataOutput) - Static method in class com.hiddenswitch.spellsource.util.Varint
- writeUnsignedVarLong(long, DataOutput) - Static method in class com.hiddenswitch.spellsource.util.Varint
-
Encodes a value using the variable-length encoding from Google Protocol Buffers.
X
- XORShiftRandom - Class in net.demilich.metastone.game.logic
-
A non-thread-safe random number generator that uses the "XOR Shift" pattern to produce numbers.
- XORShiftRandom(long) - Constructor for class net.demilich.metastone.game.logic.XORShiftRandom
- XORShiftRandom.XORShiftRandomDeserializer - Class in net.demilich.metastone.game.logic
- XORShiftRandom.XORShiftRandomSerializer - Class in net.demilich.metastone.game.logic
- XORShiftRandomDeserializer() - Constructor for class net.demilich.metastone.game.logic.XORShiftRandom.XORShiftRandomDeserializer
- XORShiftRandomSerializer() - Constructor for class net.demilich.metastone.game.logic.XORShiftRandom.XORShiftRandomSerializer
Y
- YaganLifetakerSpell - Class in net.demilich.metastone.game.spells.custom
-
Drains damage from the
target
and randomly buffs among theSpellArg.SECONDARY_TARGET
entities. - YaganLifetakerSpell() - Constructor for class net.demilich.metastone.game.spells.custom.YaganLifetakerSpell
- YELLOW_MODIFIER - Enum constant in enum class net.demilich.metastone.game.behaviour.heuristic.WeightedFeature
Z
- zone - Variable in class net.demilich.metastone.game.entities.EntityZone
- ZoneContainsFilter - Class in net.demilich.metastone.game.spells.desc.filter
- ZoneContainsFilter(EntityFilterDesc) - Constructor for class net.demilich.metastone.game.spells.desc.filter.ZoneContainsFilter
- zones - Variable in class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDesc
- zones - Variable in class net.demilich.metastone.game.spells.trigger.Enchantment
- ZONES - Enum constant in enum class net.demilich.metastone.game.cards.desc.ParseValueType
-
An array of
Spellsource.ZonesMessage.Zones
enum values. - ZONES - Enum constant in enum class net.demilich.metastone.game.spells.desc.aura.AuraArg
- ZONES - Enum constant in enum class net.demilich.metastone.game.spells.desc.SpellArg
-
Specifies which zones the spell's effects apply to.
- ZONES - Enum constant in enum class net.demilich.metastone.game.spells.desc.trigger.EnchantmentDescArg
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
BuffSpell
instead.