INSTALL
./summoner-2/INSTALL · 905 B
From the archive summoner-2.tar.gz
Download the archive « Back to the archive contents
(1.) Add the SPEC_FUN declaration at the top of special.c
DECLARE_SPEC_FUN( spec_summoner );
(2.) Add this line to the spec_table at special.c
{ "spec_summoner", spec_summoner },
(3.) Add this to special.c
bool spec_summoner ( CHAR_DATA *ch )
{
if (ch->fighting != NULL)
return spec_cast_mage( ch );
return FALSE;
}
(4.) Add this line to interp.c
{ "travel", do_travel, POS_STANDING, 0, LOG_NORMAL, 0 },
(5.) and this one to interp.h
DECLARE_DO_FUN( do_travel );
(6.) Copy summoner.c to your source directory and add summoner.o to your
Makefile.
(7.) Make clean (rm *.o rom) and recompile the mud
(8.) Add one mob to one of your area files with this special, and restart the
mud now with a summoner.
(9.) And remember to mail me telling what you think of it. 8)
Yago Diaz / yago@cerberus.uab.es