Closed
Description
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
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.