component

fun component(spell: Magic.MagicSpell): Component

Returns the component holding the MagicSpell. If the component cannot be found, an empty component will be returned.

Return

The component of the spell.

Parameters

spell

The spell to retrieve.