hostile. (TSO currently doesn't send any abjurable hostile gifts, but the framework is in place for if/when that changes.)
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5786 c06c8d41-db1a-0410-9941-cceddc491573
XWEI2LM5HPH3F4Y5TS7B6FWXQLERWJP2MHW36KGYW5TIAOORHYUAC
// TSO and Trog's abjuration protection.
if (monster->god == GOD_SHINING_ONE)
{
sockage = sockage * monster->hit_dice / 45;
if (sockage < abj.duration)
simple_god_message(" protects a fellow warrior from your evil magic!");
}
else if (monster->god == GOD_TROG)
{
sockage = sockage * 8 / 15;
if (sockage < abj.duration)
simple_god_message(" shields an ally from your puny magic!");
}
// TSO and Trog's abjuration protection.
if (you.religion == GOD_SHINING_ONE)
{
pow = pow * target->hit_dice / 30;
if (pow < abj.duration)
simple_god_message(" protects your fellow warrior from evil magic!");
}
else if (you.religion == GOD_TROG)
{
pow = pow * 4 / 5;
if (pow < abj.duration)
simple_god_message(" shields your ally from puny magic!");
}