[Cleanup] SE_StrikeThrough and SE_StrikeThrough2 are the same in bonuses.cpp (#3223)

# Notes
- These were the same code duplicated.
This commit is contained in:
Alex King authored and GitHub committed 2023-04-05 11:05:59 -04:00
1 parent efbeb2dbb7
commit 73b11c5036
1 file changed
-5
-5
View File
@@ -5313,11 +5313,6 @@ void Mob::NegateSpellEffectBonuses(uint16 spell_id)
break;
case SE_StrikeThrough:
if (negate_spellbonus) { spellbonuses.StrikeThrough = effect_value; }
if (negate_aabonus) { aabonuses.StrikeThrough = effect_value; }
if (negate_itembonus) { itembonuses.StrikeThrough = effect_value; }
break;
case SE_StrikeThrough2:
if (negate_spellbonus) { spellbonuses.StrikeThrough = effect_value; }
if (negate_aabonus) { aabonuses.StrikeThrough = effect_value; }