mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-15 16:41:29 +00:00
[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:
parent
efbeb2dbb7
commit
73b11c5036
@ -5313,11 +5313,6 @@ void Mob::NegateSpellEffectBonuses(uint16 spell_id)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case SE_StrikeThrough:
|
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:
|
case SE_StrikeThrough2:
|
||||||
if (negate_spellbonus) { spellbonuses.StrikeThrough = effect_value; }
|
if (negate_spellbonus) { spellbonuses.StrikeThrough = effect_value; }
|
||||||
if (negate_aabonus) { aabonuses.StrikeThrough = effect_value; }
|
if (negate_aabonus) { aabonuses.StrikeThrough = effect_value; }
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user