Skip to content

Attacks display incorrect damage when enemy has Coup de Grace power. #539

@acourrau

Description

@acourrau

Version
Slay the spire: MAIN
Mod version: 1.8.2

Describe the bug
When an enemy has had Coup de Grace played on it and has CoupDeGracePower and Intangible, attacks targeted to that enemy display the full damage amount as if the enemy did not have intangible. Attacks actually only do 1 damage.

To Reproduce
Steps to reproduce the behavior:

  1. Enter combat with any enemy
  2. Play card Coup de Grace on the enemy
  3. Hover an attack over enemy, note damage displayed on card.
  4. Play that attack and notice each hit only does 1 damage.

Expected behavior
Cards should display 1 damage when playing against an enemy with intangible.

Screenshots
image
Notice HP after the above card is played:
image

Additional context
This is partially intentional as the damage displayed on the card is needed to calculate how much would be prevented by Coup de Grace.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Character:CullRelated to The CullbugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions