Skip to content

Move bonus damage handling #11

Description

@Alrysc

Bonus damage is currently handled after all defense have run, which means that DefenseRules cannot react to them. They could be moved out of Entity::Hit and into Tile's attack execution. Certain damage bonuses may want to apply before DefenseOrder::Always (e.g. Fire on Grass), and others may want to happen after (e.g. weakness, Freeze and Breaking).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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