It's possible to create items with broken stats that overflow into stuff and break the game
single_30.zip Here's a save where I'm shooting holy bolts from a bow (they consume mana in devilutionx) My items are pretty much broken, we shouldn't allow such overflows
Here's an even harder one

And this all works normally when loaded in vanilla?
And this all works normally when loaded in vanilla?
Yes.

Looks like the same issues...
Only I could not shoot holy bolts in vanilla, but in devilutionx.
Yeah I think I fixed that arrow type not working correctly, but normally you can't get any weapon with it, so :shrug:
I'm shooting holy bolts in vanilla just fine, the only difference was that they didn't seem to consume mana like in devilutionx
I think this is a good sign?
@qndel could you fill us in on which vallues the overflow is being employed for?