Skip to content

is it possible to check the gameplay properties of a certain card? (like, can it be destroyed, can it be targeted, etc) #218

@aether-lift

Description

@aether-lift

I'm wondering how to check the properties of a card, such as destroyability or targetability, so I can have the ai use its cards more effectively. I can find some similar properties I can reference in ClientCard.cs, but there's a lot that aren't there, even though I know the game tracks them (it would have to in order to know whether you can legally activate cards that target, for example).

Ideally, I'd like to check this by referencing the current gamestate in the simulator, but based on another issue i saw, maybe this isn't possible? If it is possible, I'd like to know how to do it. If not, what about checking the cards.cdb file for the baseline properties of certain cards? It has to be in the folder for Windbot to run anyway, so theoretically it should be possible to check it, right?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions