From 1bb5deb8b981b2041b7d1bbc4aef60ae7e80fe10 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Tue, 28 Jun 2005 21:15:42 +0000 Subject: [PATCH] =?UTF-8?q?http://eressea.upb.de/mantis/view.php=3Fid=3D58?= =?UTF-8?q?1=20Bewachen=20von=20Untoten=20(Skelette,=20Skelettherren,=20D?= =?UTF-8?q?=C3=A4monen)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Einheiten mit Talent Waffenloser Kampf können Regionen bewachen. --- src/common/kernel/battle.c | 2 +- src/res/races.xml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/kernel/battle.c b/src/common/kernel/battle.c index 03f395541..ba8cc4fa2 100644 --- a/src/common/kernel/battle.c +++ b/src/common/kernel/battle.c @@ -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 { diff --git a/src/res/races.xml b/src/res/races.xml index 02108fd3b..42a0a3aec 100644 --- a/src/res/races.xml +++ b/src/res/races.xml @@ -713,6 +713,7 @@ +