UI_has_spell
![[Exult]](images/exultsm.png)
bool UI_has_spell(object obj, int index)
Checks if a spellbook has one particular spell.
Parameters
| Parameter / value | Description |
|---|---|
obj |
The spellbook to be inspected. |
index |
The spell to be checked. This index starts at zero, and must be in the 0-71 range. |
Return
true if the supplied object is a spellbook and contains the spell; false otherwise.