Skip to content

Fake damage cause does not affect on damage events #3997

Closed
@Jjman739

Description

@Jjman739

To reproduce this issue, create the following script:

on damage:
   message "%damage cause%" to victim

Then run the effect command !damage me by 1 with fake cause fire
image

It should say fire instead.

I think that this is caused by the damage script processing before the damage type is assigned, because the last damage cause expression still works as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAn issue that needs to be fixed. Alternatively, a PR fixing an issue.completedThe issue has been fully resolved and the change will be in the next Skript update.priority: mediumIssues that are detrimental to user experience (prohibitive bugs or lack of useful implementation).

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions