DROW.C
LIB3/STD/RACES/DROW.C · 1.1 KB
From the archive nm4dos.zip
Download the archive « Back to the archive contents
inherit "/std/races/standard";
#include "living.h"
void setup()
{
set_name( "drow" );
set_main_plural( "drow" );
set_long(
"The drow are decendents of the surface elves, driven under ground centuries " +
"ago. They were normal elves, separated by beliefs in evil instead of good " +
"and were outcast by their peers. The nature of their dwellings has turned " +
"their skin black and their eptitude in magic has only grown. Only the " +
"women are allowed to advance high in the Drow ranks.\n" );
reset_get();
} /* setup() */
string query_desc( object ob )
{
switch( (int)ob->query_gender() )
{
case GENDER_NEUTER:
return "A drow.\n";
case GENDER_MALE:
return "A drow male.\n";
case GENDER_FEMALE:
return "A drow female.\n";
}
} /* quer_desc() */
void set_stats( object ob )
{
ob->adjust_bonus_str( -3 );
ob->adjust_bonus_dex( 1 );
ob->adjust_bonus_con( -3 );
ob->adjust_bonus_int( 4 );
ob->adjust_bonus_wis( 2 );
set_max_light( 175 );
set_min_light( -20 );
} /* set_stats() */