UCC Reference

UI_has_spell

[Exult]

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.

Related intrinsics

Full intrinsic reference | Reference definitions