forked from github/server
kingdoms: templates race needs to exist to make monsterfaction
This commit is contained in:
parent
7fcdcf10dd
commit
6772d1892e
2 changed files with 6 additions and 1 deletions
|
@ -1514,7 +1514,7 @@ makemonsters(void)
|
||||||
{
|
{
|
||||||
faction * f = calloc(sizeof(faction), 1);
|
faction * f = calloc(sizeof(faction), 1);
|
||||||
f->next=factions;
|
f->next=factions;
|
||||||
f->race=new_race[RC_TEMPLATE];
|
f->race = new_race[RC_TEMPLATE];
|
||||||
f->alive=1;
|
f->alive=1;
|
||||||
set_email(&f->email, "");
|
set_email(&f->email, "");
|
||||||
f->lastorders=0;
|
f->lastorders=0;
|
||||||
|
|
|
@ -7,4 +7,9 @@
|
||||||
<attack type="1" damage="1d5"/>
|
<attack type="1" damage="1d5"/>
|
||||||
</race>
|
</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>
|
</races>
|
||||||
|
|
Loading…
Reference in a new issue