[Cleanup] SE_AttackSpeed3 effect_value is always less than 0 (#3222)

# Notes
- This was always false.
This commit is contained in:
Alex King 2023-04-05 11:05:44 -04:00 committed by GitHub
parent 8c97c20727
commit efbeb2dbb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4488,12 +4488,9 @@ void Mob::NegateSpellEffectBonuses(uint16 spell_id)
case SE_AttackSpeed3:
{
if (effect_value > 0) {
if (negate_spellbonus) { spellbonuses.hastetype3 = effect_value; }
if (negate_aabonus) { aabonuses.hastetype3 = effect_value; }
if (negate_itembonus) { itembonuses.hastetype3 = effect_value; }
}
break;
}