[1.7.4] Cleansing Flames deals wrong amount of damage over time to user

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
ScienceBall
Higher
Posts: 70
Joined: Thu Jun 10, 2021 12:58 pm

[1.7.4] Cleansing Flames deals wrong amount of damage over time to user

#1 Post by ScienceBall »

The talent Cleansing Flames applies the effect Cleansing Flames to the user. Part of this effect is dealing damage to the user. The talent has a function getDamage to calculate the self-damage per turn, but it is not used when applying the effect, so the effect uses its default value, power=10. So the user only takes 10 fire damage per turn.

ScienceBall
Higher
Posts: 70
Joined: Thu Jun 10, 2021 12:58 pm

Re: [1.7.4] Cleansing Flames deals wrong amount of damage over time to user

#2 Post by ScienceBall »

A pull request that fixes this has now been merged into master, so this topic can be moved to the Bugs Archive. (I think the pull request had already been created when I made the report, and I forgot about it? So I guess I didn't need to make the report.)

Post Reply