-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
engine_issueThe engine does something weird internallyThe engine does something weird internallynot_fully_generalAn engine feature that looks general will only work for specific casesAn engine feature that looks general will only work for specific cases
Description
public bool IsEnvironmentTarget
{
get
{
if (TargetKind != DeckDefinition.DeckKind.Environment)
{
if (IsEnvironment)
{
return IsTarget;
}
return false;
}
return true;
}
}IsVillainTarget has the same pattern. This isn't correct; a card with kind: "Environment" and targetKind: "Villain" will return true for IsEnvironmentTarget.
In general, targetKind only works if:
kindis OthertargetKindis Environment or Villain.
Any other combination won't be treated correctly by the engine or base game cards.
Metadata
Metadata
Assignees
Labels
engine_issueThe engine does something weird internallyThe engine does something weird internallynot_fully_generalAn engine feature that looks general will only work for specific casesAn engine feature that looks general will only work for specific cases