From fcd72cb2b68abad28094752e8e6ce0cb0863c668 Mon Sep 17 00:00:00 2001 From: Katja Zedel Date: Sun, 20 Jan 2002 13:28:49 +0000 Subject: [PATCH] =?UTF-8?q?bei=20age=20muss=20immer=20mind=20ein=20untoter?= =?UTF-8?q?=20=C3=BCbrig=20bleiben?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/races/zombies.c | 6 +++--- src/res/resources.xml | 17 +++++++++++++++++ 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/src/common/races/zombies.c b/src/common/races/zombies.c index 2abe89672..8d71aae99 100644 --- a/src/common/races/zombies.c +++ b/src/common/races/zombies.c @@ -84,7 +84,7 @@ void age_skeleton(unit *u) { if (u->faction->no == 0 && rand()%100 < age_chance(u->age, 27, 1)) { - int n = u->number/2; + int n = (u->number+1)/2; double q = (double) u->hp / (double) (unit_max_hp(u) * u->number); u->race = new_race[RC_SKELETON_LORD]; u->irace = new_race[RC_SKELETON_LORD]; @@ -97,7 +97,7 @@ void age_zombie(unit *u) { if (u->faction->no == 0 && rand()%100 < age_chance(u->age, 27, 1)) { - int n = u->number/2; + int n = (u->number+1)/2; double q = (double) u->hp / (double) (unit_max_hp(u) * u->number); u->race = new_race[RC_ZOMBIE_LORD]; u->irace = new_race[RC_ZOMBIE_LORD]; @@ -110,7 +110,7 @@ void age_ghoul(unit *u) { if (u->faction->no == 0 && rand()%100 < age_chance(u->age, 27, 1)) { - int n = u->number/2; + int n = (u->number+1)/2; double q = (double) u->hp / (double) (unit_max_hp(u) * u->number); u->race = new_race[RC_GHOUL_LORD]; u->irace = new_race[RC_GHOUL_LORD]; diff --git a/src/res/resources.xml b/src/res/resources.xml index f93adff28..ca5feaf7f 100644 --- a/src/res/resources.xml +++ b/src/res/resources.xml @@ -52,3 +52,20 @@ hammers of Odin + + gimmik + + + + + + Schaufel + shovel + + + Schaufeln + shovels + + + +