Wand Object Functions for Mocha


spell obj.wand_spell;
void set_wand_spell (object obj, spell spell_val);
Determine or set the spell cast through the use of a wand. To make a wand which casts no spell, set the spell to the value {0, ""}.

integer obj.wand_charges;
void set_wand_charges (object obj, integer charges);
Determine or set the number of charges remaining in the wand. A wand may have from 1 to 10 charges. When the number of charges in a wand reaches 0, the wand disintegrates.


Return to Mocha Object Functions Page

Return to Mocha's Main Page