forked from github/server
summon undead gets an english message.
This commit is contained in:
parent
897528f1c1
commit
eff560b9d7
|
@ -3643,6 +3643,7 @@ sp_summonundead(castorder *co)
|
|||
int cast_level = co->level;
|
||||
int force = (int)(co->force*10);
|
||||
const race * race = new_race[RC_SKELETON];
|
||||
message * m;
|
||||
|
||||
if (!r->land || deathcount(r) == 0) {
|
||||
sprintf(buf, "%s in %s: In %s sind keine Gräber.", unitname(mage),
|
||||
|
@ -3673,12 +3674,12 @@ sp_summonundead(castorder *co)
|
|||
|
||||
for (u = r->units; u; u = u->next ) {
|
||||
if (!fval(u->faction, FL_DH) ) {
|
||||
if (!m) m = msg_message("summonundead_effect", "unit", mage);
|
||||
fset(u->faction, FL_DH);
|
||||
sprintf(buf, "%s stört die Ruhe der Toten",
|
||||
cansee(u->faction, r, mage, 0) ? unitname(mage) : "Jemand");
|
||||
addmessage(r, u->faction, buf, MSG_EVENT, ML_INFO);
|
||||
ADDMSG(&u->faction->msgs, m);
|
||||
}
|
||||
}
|
||||
if (m) msg_release(m);
|
||||
return cast_level;
|
||||
}
|
||||
|
||||
|
|
|
@ -1594,6 +1594,13 @@
|
|||
<text locale="de">"$unit($unit) in $region($region): '$order($command)' - $unit($unit) gelingt es zwar die Region zu verzaubern, aber irgendwas ging schief."</text>
|
||||
<text locale="en">"$unit($unit) in $region($region): '$order($command)' - $unit($unit) manages to put a spell on the region, but something went wrong nonetheless."</text>
|
||||
</message>
|
||||
<message name="summonundead_effect" section="magic">
|
||||
<type>
|
||||
<arg name="unit" type="unit"/>
|
||||
</type>
|
||||
<text locale="de">"$unit($unit) stört die Ruhe der Toten."</text>
|
||||
<text locale="en">"$unit($unit) communicates with the dead."</text>
|
||||
</message>
|
||||
<message name="regionmagic_effect" section="magic">
|
||||
<type>
|
||||
<arg name="unit" type="unit"/>
|
||||
|
|
Loading…
Reference in New Issue