Antiemagiekristall Meldung geht an die Region.

Nicht nur an die Partei, die es zaubert.
http://bugs.eressea.de/view.php?id=1987
This commit is contained in:
Enno Rehling 2017-02-03 21:48:03 +01:00
parent 644a6019a6
commit 2be1868ff0
2 changed files with 3 additions and 5 deletions

View File

@ -1910,10 +1910,9 @@
<message name="use_antimagiccrystal" section="magic">
<type>
<arg name="unit" type="unit"/>
<arg name="region" type="region"/>
</type>
<text locale="de">"$unit($unit) benutzt in $region($region) einen Antimagiekristall."</text>
<text locale="en">"$unit($unit) uses an antimagic crystal in $region($region)."</text>
<text locale="de">"$unit($unit) benutzt einen Antimagiekristall."</text>
<text locale="en">"$unit($unit) uses an antimagic crystal."</text>
</message>
<message name="magicboost_effect" section="magic">
<type>

View File

@ -167,8 +167,7 @@ struct order *ord)
}
}
use_pooled(u, rt_crystal, GET_DEFAULT, amount);
ADDMSG(&u->faction->msgs, msg_message("use_antimagiccrystal",
"unit region", u, r));
ADDMSG(&u->region->msgs, msg_message("use_antimagiccrystal", "unit", u));
return 0;
}