Staff Object Functions for Mocha
- spell obj.staff_spell;
- void set_staff_spell (object obj, spell spell_val);
- Determine or set the spell cast through the use of a staff. To make a
staff which casts no spell, set the spell to the value {0, ""}.
- integer obj.staff_charges;
- void set_staff_charges (object obj, integer charges);
- Determine or set the number of charges remaining in the staff. A staff
may have from 1 to 10 charges. When the number of charges in a staff reaches
0, the staff disintegrates.
Return to Mocha Object Functions Page
Return to Mocha's Main Page