Skip to content

AskIfIsVillain / AskIfIsVillainTarget are limited #5

@jamespicone

Description

@jamespicone
  • AskIfIsVillain won't compose. If two CardControllers implement it and they disagree on the villain-ness of a target the first one to be asked will win (if it gives a definitive answer; this is a little complicated).
  • It's not run for code that wants to know if something is a non-hero target (or a hero target or other kind of target, etc.). You can use it to change what something sees when it looks for a villain or non-villain card, other uses don't work.

This isn't a bug as such, it's just a limitation on the API. It's unlikely to be changed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    not_fully_generalAn engine feature that looks general will only work for specific cases

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions