Magic

Magic

190k Downloads

False/Unneeded Warnings on Load

NightScythe1 opened this issue ยท 1 comments

commented

2022-12-19_16 53 53
Hello! I recently made a spell which uses a custom variable ('lightlevel') in its parameters for speed:

  parameters:
        velocity: ($lightlevel*10 + 10)/2

in-game, this works completely fine! the spell travels faster or slower, depending on the surrounding light level, so it works as intended.
however, upon loading Magic I always get this 'error'/warning, saying the spell doesn't understand the variable, despite it actually working functionally.
Is there perhaps a way to set certain warnings to be ignored, so I don't always get this error upon loading Magic? I don't want to see it every time I reload, in case I miss a new/actual error. thanks!

commented

2023-02-14_18 44 52
Still getting these errors, now warning I'm 'dividing by zero' though the function works as intended.