do not show magic resistance effects to other than the unit's own faction.

https://bugs.eressea.de/view.php?id=1692
This commit is contained in:
Enno Rehling 2015-07-06 16:13:22 +02:00
parent 004d6c61d4
commit 960e0f8024
2 changed files with 2 additions and 1 deletions

View File

@ -392,6 +392,7 @@
</message> </message>
<message name="curseinfo::magicresistance" section="events"> <message name="curseinfo::magicresistance" section="events">
<type> <type>
<arg name="unit" type="unit"/>
<arg name="id" type="int"/> <arg name="id" type="int"/>
</type> </type>
<text locale="de">"Die natürliche Widerstandskraft gegen Verzauberung ist gestärkt. ($int36($id))"</text> <text locale="de">"Die natürliche Widerstandskraft gegen Verzauberung ist gestärkt. ($int36($id))"</text>

View File

@ -302,7 +302,7 @@ static struct curse_type ct_oldrace = {
}; };
static struct curse_type ct_magicresistance = { static struct curse_type ct_magicresistance = {
"magicresistance", CURSETYP_UNIT, CURSE_SPREADMODULO, M_MEN, cinfo_simple "magicresistance", CURSETYP_UNIT, CURSE_SPREADMODULO, M_MEN, cinfo_unit
}; };
/* ------------------------------------------------------------- */ /* ------------------------------------------------------------- */