Closed inferno8 closed 10 months ago
In general to investigate such issues I add breakpoints between wml actions in order to find which specific tag triggers it. Downloading 1.17.22.
modificationUnitTest confirms the issue, that makes it easier.
No need to change anything here, will be solved by https://github.com/wesnoth/wesnoth/issues/8019
Ok, thanks!
When killing third party with triple strike, the following lua error appears on 1.17.22 (-d --log-debug=wml):
Context: Raging Hydra attacked one of two Bronze Warriors. The primary target's HP was initially full, while the other unit had only 1HP (debug). When the bystander was successfully killed, the lua error appeared. This also happens during defense and in TLU.
The error does not appear on 1.16.x.
On the other hand, the similar "All around" weapon special works fine.
I am not a lua expert but it looks like [harm_unit] tries to access a non-existing unit in an array at the given index. @ProditorMagnus Any ideas on how to fix this?