"keine zauberwirkung trotz korrektem befehl "
- added a message when number of ships cursed < wanted
This commit is contained in:
Enno Rehling 2008-05-20 10:03:23 +00:00
parent ad14e45341
commit 66d7cc0fdf
2 changed files with 12 additions and 1 deletions

View file

@ -2232,6 +2232,10 @@ sp_stormwinds(castorder *co)
}
}
}
if (erfolg<pa->length) {
ADDMSG(&mage->faction->msgs, msg_message("stormwinds_reduced",
"unit ships maxships", mage, erfolg, pa->length));
}
/* melden, 1x pro Partei auf Schiff und für den Magier */
fset(mage->faction, FFL_SELECT);
for (u = r->units; u; u = u->next ) {

View file

@ -6305,13 +6305,20 @@
<text locale="de">"$unit($unit) wird kurz von einem magischen Licht umhüllt."</text>
<text locale="en">"$unit($unit) is briefly surrounded by a magical light."</text>
</message>
<message name="stormwinds_reduced" section="events">
<type>
<arg name="unit" type="unit"/>
<arg name="ships" type="int"/>
<arg name="maxships" type="int"/>
</type>
<text locale="de">"$unit($unit) konnte nur $int($ships) von $int($maxships) Schiffen verzaubern."</text>
</message>
<message name="stormwinds_effect" section="events">
<type>
<arg name="unit" type="unit"/>
</type>
<text locale="de">"$unit($unit) beschwört einen magischen Wind, der die Schiffe über das Wasser treibt."</text>
<text locale="en">"$unit($unit) calls up a magical storm that whips the ship over the waters."</text>
<text locale="fr">"$unit($unit) calls up a magical storm that whips the ship over the waters."</text>
</message>
<message name="error59" section="errors">
<type>