spell_argument
class spell_argument {
int stage;
int time;
int start_time;
object * things;
int amount;
string command_line;
int scroll;
mixed * needed;
object staff;
object * using;
object * consume;
object consume_cont;
int * degree_success;
int * failed_stages;
object room;
int moved;
object * magical_satchel;
mixed data;
}
This is the class which holds all the information about a spell.
It is used internally to the effect to wild and wonderful things.
- Members:
stage - the current spell stage
time - the time the spell will take to complete
start_time - when we started the spell
things - the things we are casting the spell on
amount - no idea
command_line - the command line of the spell
scroll - if the spell was cast from a scroll
needed - the items needed for the spell
staff - the spell was cast from a staff!
using - the objects that the player said they are ysing
consume - the items to be consumed
consume_cont - the container to be put the consumables in
room - the room we started in, increase the difficulty each move
magical_satchel - The magical satchel object we are using.