Scroll Object Functions for Mocha


spell scroll_spell (object obj, integer index);
void set_scroll_spell (object obj, integer index, spell spell_val);
Determine or set the spells cast by a scroll. Each scroll is capable of casting up to three spells (with indices 1 through 3) when recited. A single level is used when casting all of the spells; the level is taken from the spell_val when set_scroll_spell is called. To remove a spell from a scroll, set the spell to the value {0, ""}.


Return to Mocha Object Functions Page

Return to Mocha's Main Page