spells will always resist magic

This commit is contained in:
Enno Rehling 2017-02-18 22:00:48 +01:00
parent c73c7d4cfd
commit 5796f60f16

View file

@ -1240,6 +1240,9 @@ target_resists_magic(unit * magician, void *obj, int objtyp, int t_bonus)
skill *sv;
unit *u = (unit *)obj;
if (u_race(u)==get_race(RC_SPELL)) {
return true;
}
at = effskill(magician, SK_MAGIC, 0);
for (sv = u->skills; sv != u->skills + u->skill_size; ++sv) {