the thundering enchantment/trait seems to be broken
aycfes opened this issue ยท 5 comments
well, hello github i've definently never been in and person i've never talked too
turns out hitting a mob (in this case a zombo with the lightning hammer crashes the game
crash-2020-11-05_20.53.29-client.txt
latest.log
debug.log
i recommend also testing the other ones, i'd do it myself, but can't rn
Ah damnit, I can see why that would crash the game. This should only be the issue for the thundering enchant, as I am trying to spawn a visual-only lightning bolt on a successful thundering attack, but that may be exclusively server-sided. You can see this error when it says "ClientWorld cannot be casted to ServerWorld".
This is an easy fix, an update should be released in the next few minutes, I'm just checking to see if there are any other foolish casts like that in my code.
you could use the particles like the ones from the staff
tho ya already got it figured out
The staff and the thundering enchant actually share the same code for the "lightning blast" effect, combining the electric shock particles, visual-only lightning bolts and magic damage.