mirror of
https://github.com/vcmi/vcmi.git
synced 2025-04-09 07:13:54 +02:00
fix comments
This commit is contained in:
parent
05e52993fd
commit
f66c29ea3b
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user