forked from github/server
bei age muss immer mind ein untoter übrig bleiben
This commit is contained in:
parent
18ce542f51
commit
fcd72cb2b6
|
@ -84,7 +84,7 @@ void
|
||||||
age_skeleton(unit *u)
|
age_skeleton(unit *u)
|
||||||
{
|
{
|
||||||
if (u->faction->no == 0 && rand()%100 < age_chance(u->age, 27, 1)) {
|
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);
|
double q = (double) u->hp / (double) (unit_max_hp(u) * u->number);
|
||||||
u->race = new_race[RC_SKELETON_LORD];
|
u->race = new_race[RC_SKELETON_LORD];
|
||||||
u->irace = new_race[RC_SKELETON_LORD];
|
u->irace = new_race[RC_SKELETON_LORD];
|
||||||
|
@ -97,7 +97,7 @@ void
|
||||||
age_zombie(unit *u)
|
age_zombie(unit *u)
|
||||||
{
|
{
|
||||||
if (u->faction->no == 0 && rand()%100 < age_chance(u->age, 27, 1)) {
|
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);
|
double q = (double) u->hp / (double) (unit_max_hp(u) * u->number);
|
||||||
u->race = new_race[RC_ZOMBIE_LORD];
|
u->race = new_race[RC_ZOMBIE_LORD];
|
||||||
u->irace = new_race[RC_ZOMBIE_LORD];
|
u->irace = new_race[RC_ZOMBIE_LORD];
|
||||||
|
@ -110,7 +110,7 @@ void
|
||||||
age_ghoul(unit *u)
|
age_ghoul(unit *u)
|
||||||
{
|
{
|
||||||
if (u->faction->no == 0 && rand()%100 < age_chance(u->age, 27, 1)) {
|
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);
|
double q = (double) u->hp / (double) (unit_max_hp(u) * u->number);
|
||||||
u->race = new_race[RC_GHOUL_LORD];
|
u->race = new_race[RC_GHOUL_LORD];
|
||||||
u->irace = new_race[RC_GHOUL_LORD];
|
u->irace = new_race[RC_GHOUL_LORD];
|
||||||
|
|
|
@ -52,3 +52,20 @@
|
||||||
<text locale="en">hammers of Odin</text>
|
<text locale="en">hammers of Odin</text>
|
||||||
</string>
|
</string>
|
||||||
</strings>
|
</strings>
|
||||||
|
<resource name="shovel">
|
||||||
|
<comment>gimmik</comment>
|
||||||
|
<item notlost weight="1">
|
||||||
|
</item>
|
||||||
|
</resource>
|
||||||
|
<strings>
|
||||||
|
<string name="shovel">
|
||||||
|
<text locale="de">Schaufel</text>
|
||||||
|
<text locale="en">shovel</text>
|
||||||
|
</string>
|
||||||
|
<string name="shovel_p">
|
||||||
|
<text locale="de">Schaufeln</text>
|
||||||
|
<text locale="en">shovels</text>
|
||||||
|
</string>
|
||||||
|
</strings>
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue