|
|
@@ -1341,7 +1341,7 @@ void BattleActionProcessor::handleAfterAttackCasting(const CBattleInfoCallback &
|
|
|
if(!defender->alive())
|
|
|
return;
|
|
|
|
|
|
- if(attacker->hasBonusOfType(BonusType::TRANSMUTATION) && defender->isLiving()) //transmutation mechanics, similar to WoG werewolf ability
|
|
|
+ if(attacker->hasBonusOfType(BonusType::TRANSMUTATION) && defender->isLiving() && !defender->hasBonusOfType(BonusType::TRANSMUTATION_IMMUNITY)) //transmutation mechanics, similar to WoG werewolf ability
|
|
|
{
|
|
|
int chanceToTrigger = attacker->valOfBonuses(BonusType::TRANSMUTATION);
|
|
|
if (!gameHandler->randomizer->rollCombatAbility(ownerArmy, chanceToTrigger))
|