Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions src/fheroes2/battle/battle_interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7032,9 +7032,8 @@ void Battle::PopupDamageInfo::setSpellAttackInfo( const HeroBase * hero, const U
{
assert( hero != nullptr );

// TODO: Currently, this functionality only supports a simple single-target spell case
// We should refactor this to apply to all cases
if ( !spell.isSingleTarget() || !spell.isDamage() ) {
// TODO: any multi-unit damage spells show only damage of the first unit or one of the units on whom the spell is being applied (ex. Cold Ring)
if ( !spell.isDamage() ) {
return;
}

Expand Down
Loading