1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-28 08:48:48 +02:00

Fixed Coronius specialty applying from two locations in code

This commit is contained in:
Ivan Savenko 2024-01-15 22:36:57 +02:00
parent 4735ad8299
commit 6e5da6c158

View File

@ -169,7 +169,6 @@ void Timed::apply(ServerCallback * server, const Mechanics * m, const EffectTarg
case 1:
//Coronius style specialty bonus.
//Please note that actual Coronius isnt here, because Slayer is a spell that doesnt affect monster stats and is used only in calculateDmgRange
power = std::max(5 - tier, 0);
break;
}
if(m->isNegativeSpell())