Class AttributeCondition

java.lang.Object
net.demilich.metastone.game.spells.desc.condition.Condition
net.demilich.metastone.game.spells.desc.condition.AttributeCondition
All Implemented Interfaces:
Serializable, HasDesc<ConditionDesc>

public class AttributeCondition extends Condition
true when the target or ConditionArg.TARGET has an attribute ConditionArg.ATTRIBUTE that evaluates to true with the ConditionArg.OPERATION.

Only supports single targets.

Uses the ComparisonOperation.HAS by default, or compares with the ConditionArg.VALUE.

See Also: