I just fixed the create spells so they are working right by adding the proper function code in magic.c and tossed them in tables.c and mud.h. I make cleaned it, and then maked it. this is what I got:
Magic.c : In function 'spell_create_symbol' :
magic.c:2399: 'OBJ_VNUM_SYMBOL' undeclared (first use in this function.)
ch_ret spell_create_symbol( int sn, int level, CHAR_DATA *ch, void *vo )
{
OBJ_DATA *symbol;
symbol = create_object( get_obj_index( OBJ_VNUM_SYMBOL ), 0 );
symbol->value[0] = 5 + level;
act( AT_MAGIC, "$p suddenly appears.", ch, symbol, NULL, TO_ROOM );
act( AT_MAGIC, "$p suddenly appears.", ch, symbol, NULL, TO_CHAR );
symbol = obj_to_room( symbol, ch->in_room );
return rNONE;
}
That's my Create Symbol code. Anyone know what I'm doing wrong?
-Alexander the Lost
Magic.c : In function 'spell_create_symbol' :
magic.c:2399: 'OBJ_VNUM_SYMBOL' undeclared (first use in this function.)
ch_ret spell_create_symbol( int sn, int level, CHAR_DATA *ch, void *vo )
{
OBJ_DATA *symbol;
symbol = create_object( get_obj_index( OBJ_VNUM_SYMBOL ), 0 );
symbol->value[0] = 5 + level;
act( AT_MAGIC, "$p suddenly appears.", ch, symbol, NULL, TO_ROOM );
act( AT_MAGIC, "$p suddenly appears.", ch, symbol, NULL, TO_CHAR );
symbol = obj_to_room( symbol, ch->in_room );
return rNONE;
}
That's my Create Symbol code. Anyone know what I'm doing wrong?
-Alexander the Lost