mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-19 12:48:20 +00:00
[Cleanup] SE_AttackSpeed3 effect_value is always less than 0 (#3222)
# Notes - This was always false.
This commit is contained in:
+3
-6
@@ -4488,12 +4488,9 @@ void Mob::NegateSpellEffectBonuses(uint16 spell_id)
|
|||||||
|
|
||||||
case SE_AttackSpeed3:
|
case SE_AttackSpeed3:
|
||||||
{
|
{
|
||||||
if (effect_value > 0) {
|
if (negate_spellbonus) { spellbonuses.hastetype3 = effect_value; }
|
||||||
if (negate_spellbonus) { spellbonuses.hastetype3 = effect_value; }
|
if (negate_aabonus) { aabonuses.hastetype3 = effect_value; }
|
||||||
if (negate_aabonus) { aabonuses.hastetype3 = effect_value; }
|
if (negate_itembonus) { itembonuses.hastetype3 = effect_value; }
|
||||||
if (negate_itembonus) { itembonuses.hastetype3 = effect_value; }
|
|
||||||
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user