xKiv
Active member
to_effect(skill) and "does not match anything in the status effect database"
So I decided to automate a task I sometimes do (namely: check if I can get some effect I don't yet have by casting a skill I have - in other words, I want to see what buffs I am out of after running out of MP or attention, without using moods (because I want fine control over what I actually do, and would forget to change the mood after acquiring a new skill anyway)) and ran into a snag.
It works, and to_effect($skill[skill name here]) returns $effect[none] for a skill that doesn't buff me ... but it prints "[skill name here] does not match anything in the status effect database" in the CLI, in red letters.
Obviously, I don't want to see this among the list of suggestions for casts.
Any idea how to get around that? Without hardcoding all effect-giving skills, or parsing the effects database myself?
So I decided to automate a task I sometimes do (namely: check if I can get some effect I don't yet have by casting a skill I have - in other words, I want to see what buffs I am out of after running out of MP or attention, without using moods (because I want fine control over what I actually do, and would forget to change the mood after acquiring a new skill anyway)) and ran into a snag.
It works, and to_effect($skill[skill name here]) returns $effect[none] for a skill that doesn't buff me ... but it prints "[skill name here] does not match anything in the status effect database" in the CLI, in red letters.
Obviously, I don't want to see this among the list of suggestions for casts.
Any idea how to get around that? Without hardcoding all effect-giving skills, or parsing the effects database myself?