Sets an icon class for a target school key.
the key that represents a spell school, e.g. "abj" for Abjuration, "nec" for Necromancy, and "trs" for Transmutation
a class string for an <i>
element
Hooks.once("tidy5e-sheet.ready", (api) => {
api.config.spellSchool.setIcon('trs', 'fa-solid fa-coins');
});
Allows for configuration related to Spell Schools. Currently, FontAwesome and RPG Awesome icons are officially supported.