forked from github/server
be nice to your friends, but not your enemies
This commit is contained in:
parent
cc870c076c
commit
21b8ab2d31
|
@ -1165,7 +1165,7 @@ double magic_resistance(unit * target)
|
||||||
ct_goodresist = 0; /* only one effect per region */
|
ct_goodresist = 0; /* only one effect per region */
|
||||||
}
|
}
|
||||||
} else if (ct_badresist && c->type == ct_badresist) {
|
} else if (ct_badresist && c->type == ct_badresist) {
|
||||||
if (alliedunit(mage, target->faction, HELP_GUARD)) {
|
if (!alliedunit(mage, target->faction, HELP_GUARD)) {
|
||||||
probability -= curse_geteffect(c) * 0.01;
|
probability -= curse_geteffect(c) * 0.01;
|
||||||
ct_badresist = 0; /* only one effect per region */
|
ct_badresist = 0; /* only one effect per region */
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue