I tried implementing Yanfly's Toxic as I wanted a mechanic on my game like this. Made the state, copypasted the code, and in battle it just showed me an error. More specifically: 'TypeError: failed to execute 'createLinearGradient' on 'CanvasRenderingContext2D': The provided double value is non-finite.'
Why is this? I literally just copypasted the code from yanfly's web.
can you show a screenshot of your plugin manager so we can see what you have and when theyre loaded?
does it happen with just the buffs and states core plugin enabled?
copy-pasting it exactly as it is works just fine for me.
have you tried putting BuffsStatesCore above VisalHpGauge?
Their plugins are mostly in the right order. I think its just instant cast that is out of place, but it shouldnt pose an issue.
So I ended up making another character use toxic and it worked perfectly. I didn't quite get what was wrong but its working now.