diff --git a/lib/BattleState.cpp b/lib/BattleState.cpp index b6aa4b322..5af3cd14c 100644 --- a/lib/BattleState.cpp +++ b/lib/BattleState.cpp @@ -1192,7 +1192,7 @@ ui8 CStack::getSpellSchoolLevel(const CSpell * spell, int * outSelectedSchool) c ui32 CStack::getSpellBonus(const CSpell * spell, ui32 base, const CStack * affectedStack) const { - //stacks does not have spellpower etc. (yet?) + //stacks does not have sorcery-like bonuses (yet?) return base; } diff --git a/lib/spells/BattleSpellMechanics.cpp b/lib/spells/BattleSpellMechanics.cpp index b2ba17026..6fb3fa100 100644 --- a/lib/spells/BattleSpellMechanics.cpp +++ b/lib/spells/BattleSpellMechanics.cpp @@ -529,7 +529,8 @@ ESpellCastProblem::ESpellCastProblem SpecialRisingSpellMechanics::isImmuneByStac if(obj->count >= obj->baseAmount) return ESpellCastProblem::STACK_IMMUNE_TO_SPELL; - if(caster) //FIXME: Archangels can cast immune stack + //FIXME: Archangels can cast immune stack and this should be applied for them and not hero + if(caster) { auto maxHealth = calculateHealedHP(caster, obj, nullptr); if (maxHealth < obj->MaxHealth()) //must be able to rise at least one full creature