forked from github/server
- added missing feedback for spell
This commit is contained in:
parent
b602fbfab3
commit
e37b55699c
2 changed files with 10 additions and 1 deletions
|
@ -6606,7 +6606,7 @@ sp_speed2(castorder *co)
|
|||
used += men;
|
||||
}
|
||||
|
||||
/* TODO: Erfolg melden*/
|
||||
ADDMSG(&mage->faction->msgs, msg_message("speed_time_effect", "unit region amount", mage, mage->region, used));
|
||||
/* Effektiv benötigten cast_level (mindestens 1) zurückgeben */
|
||||
used = (int)sqrt(used/2);
|
||||
return max(1, used);
|
||||
|
|
|
@ -1875,6 +1875,15 @@
|
|||
<text locale="de">"$unit($unit) in $region($region): '$order($command)' - Der Magier konnte keinen Fluch zerstören."</text>
|
||||
<text locale="en">"$unit($unit) in $region($region): '$order($command)' - The magician could not destroy any magic."</text>
|
||||
</message>
|
||||
<message name="speed_time_effect" section="magic">
|
||||
<type>
|
||||
<arg name="unit" type="unit"/>
|
||||
<arg name="region" type="region"/>
|
||||
<arg name="amount" type="int"/>
|
||||
</type>
|
||||
<text locale="de">"In $region($region) dehnt $unit($unit) die Zeit für $int($amount) Personen."</text>
|
||||
<text locale="en">"In $region($region), $unit($unit) bends time for $int($amount) men."</text>
|
||||
</message>
|
||||
<message name="destroy_magic_effect" section="magic">
|
||||
<type>
|
||||
<arg name="unit" type="unit"/>
|
||||
|
|
Loading…
Reference in a new issue