-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PERCENTAGE_DAMAGE
spell flag works incorrect for player
#57875
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Please do not bump or comment on this issue unless you are actively working on it. Stale issues, and stale issues that are closed are still considered. |
/confirm Looking into it |
Would it be better if it hit all bodyparts rather than just the torso too? (That's probably out of scope looking at it but I might do it separately) |
Describe the bug
dealing damage for player with
PERCENTAGE_DAMAGE
flag works incorrect - it picks the max limb hp instead of current oneSteps to reproduce
PERCENTAGE_DAMAGE
flag (for example, change thedisruption_bolt
to"valid_targets": [ "self" ]
)Expected behavior
Dealing a correct amount of damage
Screenshots
Self harm spell with 50% damage



The character
The character after the first cast
The character after the second cast
Versions and configuration
Dark Days Ahead [dda],
Disable NPC Needs [no_npc_food],
No Fungal Growth [no_fungal_growth],
Bionic Professions [package_bionic_professions],
Magiclysm [magiclysm]
]
Additional context
PvE effect works fine

The text was updated successfully, but these errors were encountered: