kingdoms: templates race needs to exist to make monsterfaction

This commit is contained in:
Enno Rehling 2005-11-26 01:09:11 +00:00
parent 7fcdcf10dd
commit 6772d1892e
2 changed files with 6 additions and 1 deletions

View File

@ -1514,7 +1514,7 @@ makemonsters(void)
{
faction * f = calloc(sizeof(faction), 1);
f->next=factions;
f->race=new_race[RC_TEMPLATE];
f->race = new_race[RC_TEMPLATE];
f->alive=1;
set_email(&f->email, "");
f->lastorders=0;

View File

@ -7,4 +7,9 @@
<attack type="1" damage="1d5"/>
</race>
<race name="template" magres="1.000000" maxaura="0.000000" regaura="0.000000" recruitcost="0" weight="0" capacity="0" speed="10.000000" hp="10" damage="1d4" unarmedattack="-2" unarmeddefense="-2" playerrace="yes" fly="yes" swim="yes" walk="yes" shapeshift="yes" shapeshiftany="yes" giveitem="yes" giveperson="yes" giveunit="yes" getitem="yes" recruitethereal="yes" recruitunlimited="yes" equipment="yes">
<ai splitsize="10000" moverandom="yes" learn="yes"/>
<attack type="1" damage="1d4"/>
</race>
</races>