forked from github/server
Bewachen von Untoten (Skelette, Skelettherren, Dämonen) Einheiten mit Talent Waffenloser Kampf können Regionen bewachen.
This commit is contained in:
parent
fb3967bca6
commit
1bb5deb8b9
2 changed files with 2 additions and 1 deletions
|
@ -239,7 +239,7 @@ armedmen(const unit * u)
|
|||
item * itm;
|
||||
int n = 0;
|
||||
if (!(urace(u)->flags & RCF_NOWEAPONS)) {
|
||||
if (urace(u)->ec_flags & CANGUARD) {
|
||||
if ((urace(u)->ec_flags & CANGUARD) || effskill(u, SK_WEAPONLESS)>=1) {
|
||||
/* kann ohne waffen bewachen: fuer untote und drachen */
|
||||
n = u->number;
|
||||
} else {
|
||||
|
|
|
@ -713,6 +713,7 @@
|
|||
<race name="illusion" magres="0.000000" maxaura="0.000000" regaura="0.000000" recruitcost="50" weight="0" capacity="0" speed="1.000000" hp="1" damage="1d1" unarmedattack="0" unarmeddefense="0" walk="yes" nolearn="yes" teach="no" noweapons="yes" illusionary="yes">
|
||||
<ai splitsize="999999"/>
|
||||
<function name="age" value="ageillusion"/>
|
||||
<skill name="sk_unarmed" modifier="-99"/>
|
||||
<attack type="1" damage="1d1"/>
|
||||
</race>
|
||||
<race name="undead" magres="0.000000" maxaura="1.000000" regaura="1.000000" recruitcost="2" weight="1000" capacity="540" speed="1.000000" hp="20" damage="1d7" unarmedattack="0" unarmeddefense="0" attackmodifier="1" defensemodifier="1" scarepeasants="yes" walk="yes" nolearn="yes" teach="no" noheal="yes" undead="yes" canguard="yes" equipment="yes">
|
||||
|
|
Loading…
Reference in a new issue