I'm using the following code to loop through all available skills that give effects:
The issue is I end up with a ton of spam to the CLI "<skill name> does not match anything in the status effect database."
How do I check if it exists without triggering the spam?
Code:
int i = 0;
while(i < 10000)
{
if(to_effect(to_skill(i)) != $effect[none])
{
print(to_effect(to_skill(i)));
}
i += 1;
}
The issue is I end up with a ton of spam to the CLI "<skill name> does not match anything in the status effect database."
How do I check if it exists without triggering the spam?