Enno Rehling 2004-03-05 22:31:37 +00:00
parent 6d7b83a310
commit ec400f9680
5 changed files with 19 additions and 6 deletions

View File

@ -3679,12 +3679,12 @@ do_battle(void)
/* Versuche zu fliehen, wenn
* - Kampfstatus fliehe
* - schwer verwundet
* - schwer verwundet und nicht erste kampfrunde
* - in panik (Zauber)
* aber nicht, wenn der Zaubereffekt Held auf dir liegt!
*/
if ((u->status == ST_FLEE
|| fig->person[dt.index].hp <= runhp
|| (b->turn>1 && fig->person[dt.index].hp <= runhp)
|| (fig->person[dt.index].flags & FL_PANICED))
&& !(fig->person[dt.index].flags & FL_HERO))
{

View File

@ -972,7 +972,7 @@ sp_chaosrow(fighter * fi, int level, double power, spell * sp)
if (df->unit->race->battle_flags & BF_NOBLOCK) {
df->side->nonblockers[row] += df->alive;
}
k++;
k+=df->alive;
}
power = max(0, power-n);
}

View File

@ -95,6 +95,7 @@ wormhole_age(struct attrib * a)
/* it's important that destroy_building doesn't change b->region, because
* otherwise the tunnel would no longer be bi-directional after this */
destroy_building(data->entry);
ADDMSG(&r->msgs, msg_message("wormhole_dissolve", "region", r));
assert(data->entry->region==r);
/* age returns 0 if the attribute needs to be removed, !=0 otherwise */

View File

@ -553,6 +553,10 @@
<string name="lighthouse">
<text locale="de">Leuchtturm</text>
</string>
<string name="wormhole">
<text locale="de">Wurmloch</text>
<text locale="en">wormhole</text>
</string>
<string name="mine">
<text locale="de">Bergwerk</text>
</string>

View File

@ -1181,7 +1181,7 @@
<arg name="region" type="region"></arg>
<arg name="command" type="string"></arg>
</type>
<text locale="de">"$unit($unit) in $region($region): '$command' - Die Region konnte nicht verzaubert werden."</text>
<text locale="de">"$unit($unit) in $region($region): '$command' - Die Region widersteht der Verzauberung."</text>
<text locale="fr">"$unit($unit) in $region($region): '$command' - The region could not be charmed."</text>
<text locale="en">"$unit($unit) in $region($region): '$command' - The region could not be charmed."</text>
</message>
@ -1192,7 +1192,7 @@
<arg name="command" type="string"></arg>
<arg name="id" type="int"></arg>
</type>
<text locale="de">"$unit($unit) in $region($region): '$command' - Schiff $int36($id) konnte nicht verzaubert werden."</text>
<text locale="de">"$unit($unit) in $region($region): '$command' - Schiff $int36($id) widersteht der Verzauberung."</text>
<text locale="fr">"$unit($unit) in $region($region): '$command' - Ship $int36($id) could not be charmed."</text>
<text locale="en">"$unit($unit) in $region($region): '$command' - Ship $int36($id) could not be charmed."</text>
</message>
@ -1203,7 +1203,7 @@
<arg name="command" type="string"></arg>
<arg name="id" type="int"></arg>
</type>
<text locale="de">"$unit($unit) in $region($region): '$command' - Gebäude $int36($id) konnte nicht verzaubert werden."</text>
<text locale="de">"$unit($unit) in $region($region): '$command' - Gebäude $int36($id) widersteht der Verzauberung."</text>
<text locale="fr">"$unit($unit) in $region($region): '$command' - Building $int36($id) could not be charmed."</text>
<text locale="en">"$unit($unit) in $region($region): '$command' - Building $int36($id) could not be charmed."</text>
</message>
@ -5673,4 +5673,12 @@
<text locale="fr">"A wormhole appears in $region($region)."</text>
<text locale="en">"A wormhole appears in $region($region)."</text>
</message>
<message name="wormhole_dissolve" section="events">
<type>
<arg name="region" type="region"></arg>
</type>
<text locale="de">"Das Wurmloch in $region($region) schließt sich."</text>
<text locale="fr">"The wormhole in $region($region) disappears."</text>
<text locale="en">"The wormhole in $region($region) disappears."</text>
</message>
</messages>