Skip to content

Battlecry targeting minions do not work as expected #46

@Evanito

Description

@Evanito

The code reports that it told it to target the correct target.
This has been discussed in #9 but imo needs its own issue.

What usually happens is it will:

  1. Say 'Shattered Sun Cleric > Friendly Minion'
  2. Click the battlecry minion
  3. Play the battlecry minion
  4. Not click who it was told to target with it
  5. Attempt to continue playing, usually results in the battlecry being used on the next friendly minion to attack, for example. Sometimes it just spasms out at this stage, constantly playing and canceling until it targets a random minion.

I saw you say in another thread that this could be caused by me? I am using the most up to date client, have based my bot off of the Python base example, and the command is properly "popped up" in game.

@lanhin Said that this is caused by: "playing the battlecry" is a targeted action [cleric, minion], but once it is placed (and not yet battlecried), it becomes a different PlayOption halfway through, similar to that of an attack. So now it is [cleric], [cleric, minion] if you want to play a battlecry minion.

This can probably be solved on the bot end by recognizing when a battlecry minion is asking for a target and thus choosing one.

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