English spell effect

This commit is contained in:
Enno Rehling 2007-03-11 21:37:38 +00:00
parent e9feec08ba
commit c0ec4a9a15
2 changed files with 22 additions and 8 deletions

View File

@ -3428,9 +3428,8 @@ sp_summonshadow(castorder *co)
set_level(u, SK_STEALTH, val);
set_level(u, SK_OBSERVATION, 1);
sprintf(buf, "%s beschwört %d Dämonen aus dem Reich der Schatten.",
unitname(mage), (int)(force*force));
addmessage(0, mage->faction, buf, MSG_MAGIC, ML_INFO);
ADDMSG(&mage->faction->msgs, msg_message("summonshadow_effect",
"mage number", mage, force*force));
return cast_level;
}
@ -5103,11 +5102,7 @@ sp_illusionary_shapeshift(castorder *co)
/* ähnlich wie in laws.c:setealth() */
if (!playerrace(rc)) {
sprintf(buf, "%s %s keine %s-Gestalt annehmen.",
unitname(u),
u->number > 1 ? "können" : "kann",
LOC(u->faction->locale, rc_name(rc, 2)));
addmessage(r, mage->faction, buf, MSG_MAGIC, ML_MISTAKE);
ADDMSG(&mage->faction->msgs, msg_feedback(mage, co->order, "sp_shapeshift_fail", "target race", u, rc));
return 0;
}
{

View File

@ -1107,6 +1107,17 @@
<text locale="de">"$unit($unit) in $region($region): '$order($command)' - Der Magier erschafft ein Traumgebäude."</text>
<text locale="en">"$unit($unit) in $region($region): '$order($command)' - The magician creates an illusionary building."</text>
</message>
<message name="sp_shapeshift_fail" section="magic">
<type>
<arg name="unit" type="unit"/>
<arg name="region" type="region"/>
<arg name="command" type="order"/>
<arg name="target" type="unit"/>
<arg name="race" type="race"/>
</type>
<text locale="de">"$unit($unit) in $region($region): '$order($command)' - $unit($target) kann keine $race($race,1)-Gestalt annehmen."</text>
<text locale="en">"$unit($unit) in $region($region): '$order($command)' - $unit($target) cannot assume the shape of a $race($race,1)."</text>
</message>
<message name="sp_migranten_fail1" section="magic">
<type>
<arg name="unit" type="unit"/>
@ -6529,6 +6540,14 @@
<text locale="de">"$unit($mage) zaubert $spell($spell): $int($dead) $if($eq($dead,1),"Krieger wurde", "Krieger wurden") getötet."</text>
<text locale="en">"$unit($mage) casts $spell($spell): $int($dead) $if($eq($dead,1),"enemy was", "enemies were") killed."</text>
</message>
<message name="summonshadow_effect" section="magic">
<type>
<arg name="mage" type="unit"/>
<arg name="number" type="int"/>
</type>
<text locale="de">"$unit($mage) beschwört $int($number) Dämonen aus dem Reich der Schatten."</text>
<text locale="en">"$unit($mage) summons $int($number) demons from the realm of shadows."</text>
</message>
<message name="cast_spell_effect" section="magic">
<type>
<arg name="mage" type="unit"/>