forked from github/server
teach vs canteach mixup
This commit is contained in:
parent
53ced88176
commit
94769a66f8
2 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@
|
|||
regaura="0" weight="500" capacity="200" equipment="no"
|
||||
speed="1" hp="1000" ac="4" damage="2d4" unarmedattack="10"
|
||||
unarmeddefense="10" attackmodifier="8" defensemodifier="8"
|
||||
fly="no" walk="no" canteach="no" getitem="yes">
|
||||
fly="no" walk="no" teach="no" getitem="yes">
|
||||
<attack type="4" damage="2d6+2"/>
|
||||
<attack type="3" damage="2d6+2"/>
|
||||
</race>
|
||||
|
|
|
@ -1355,7 +1355,7 @@ static int parse_races(xmlDocPtr doc)
|
|||
rc->flags |= RCF_WALK;
|
||||
if (!xml_bvalue(node, "canlearn", true))
|
||||
rc->flags |= RCF_NOLEARN;
|
||||
if (!xml_bvalue(node, "canteach", true))
|
||||
if (!xml_bvalue(node, "teach", true))
|
||||
rc->flags |= RCF_NOTEACH;
|
||||
if (xml_bvalue(node, "horse", false))
|
||||
rc->flags |= RCF_HORSE;
|
||||
|
|
Loading…
Reference in a new issue