Fixes in der XML Datei für healall

This commit is contained in:
Enno Rehling 2002-01-20 12:26:17 +00:00
parent aa27b856da
commit ddff77b86f
2 changed files with 9 additions and 25 deletions

View File

@ -2760,10 +2760,10 @@ heal_all(void)
for(r=regions; r; r=r->next) { for(r=regions; r; r=r->next) {
for(u=r->units;u;u=u->next) { for(u=r->units;u;u=u->next) {
int max_hp = unit_max_hp(u) * u->number; int max_hp = unit_max_hp(u) * u->number;
if(u->hp < max_hp) { /* if(u->hp < max_hp) { */
u->hp = max_hp; u->hp = max_hp;
fset(u->faction, FL_DH); fset(u->faction, FL_DH);
} /* } */
} }
} }

View File

@ -7385,37 +7385,21 @@
<text locale="en">"A large firework is visible all over the sky."</text> <text locale="en">"A large firework is visible all over the sky."</text>
</message> </message>
<message name="lucky_item"> <message name="lucky_item" section="events">
<type> <type>
<arg name="unit" type="unit"></arg> <arg name="unit" type="unit"></arg>
<arg name="item" type="resource"></arg> <arg name="item" type="resource"></arg>
<arg name="amount" type="int"></arg> <arg name="amount" type="int"></arg>
</type> </type>
<locale name="de"> <text locale="de">"$unit($unit) hat Glück und findet einen Hort von $int($amount) $resource($item,$amount)."</text>
<nr section="events"> <text locale="en">"$unit($unit) luckily finds a cache of $int($amount) $resource($item,$amount)."</text>
<text>"$unit($unit) hat Glück und findet einen Hort von $int($amount) $resource($item,$amount)."</text>
</nr>
</locale>
<locale name="en">
<nr section="events">
<text>"$unit($unit) luckily finds a cache of $int($amount) $resource($item,$amount)."</text>
</nr>
</locale>
</message> </message>
<message name="healall"> <message name="healall" section="events">
<type> <type>
</type> </type>
<locale name="de"> <text locale="de">"Ein Hauch des Lebens liegt über der Welt und alle Wesen fühlen sich frisch und erholt."</text>
<nr section="events"> <text locale="en">"Life itself touches the world and all beings are healed."</text>
<text>Ein Hauch des Lebens liegt über der Welt und alle Wesen fühlen sich frisch und erholt.</text>
</nr>
</locale>
<locale name="en">
<nr section="events">
<text>Life itself touches the world and all beings are healed.</text>
</nr>
</locale>
</message> </message>
</messages> </messages>