Every time I use a Heal skill, this Type Error comes up.
Failed to execute 'createLinearGradient' on 'CanvasRenderingContext2D': float parameter 3 is not finite.
I have no plugins, how do I fix this?
Along with that, the skill does not have any animation, and I can't even use it from the menu.
Please post a screenshot of the skill, we can't really help without.
That said, a typeerror can only happen if something has mixed up data in the javascript - did you ever use a plugin before?
If you remove a plugin, you also need to start a new game after that removal and cannot continue to use old savefiles or such errors can occur.
If it is neither something in the plugins nor in the skill, then your project files are damaged - does the same happen in a new project?
Which core version does your project have, and which version is your editor updated to?
I also realized, the same thing happens when I use poison, which is set to HP Drain, but when I change it to HP Damage, it works. So I think it has something to do with the HP Drain and HP Recover.
Have you installed any plugins or made any changes to the core code?
Can you show a screenshot of the actual error including the stacktrace if there is one?
Sorry, I meant from the console. Press F8 when the error occurs and take a screenshot of the console window for me, please.
Does it still cause an error if you put something in the formula box for the heal skill?
b.mhp * 10 / 100 (or b.mhp * 0.1 if you want an even simpler calculation)
Same thing, multiply by the percentage you want then divide by 100. You'd just set it to HP damage/drain rather than recover.
Then have it inflict a poison state and make the HP damage one of its traits. The only thing is you can't do HP absorption DoT effects without plugins.