Core/Spells: do not check for MiscValue1 in SPELL_AURA_MOD_TOTAL_STAT_PERCENTAGE for stacking checks to fix an exploit that was stacking stats into infinity
This commit is contained in:
1 parent
2e09764fa9
commit
e30cdbba28
1 file changed
+1
-1
@@ -3534,7 +3534,7 @@ void AuraEffect::HandleModTotalPercentStat(AuraApplication const* aurApp, uint8
|
||||
return;
|
||||
|
||||
Unit* target = aurApp->GetTarget();
|
||||
int32 spellGroupVal = target->GetHighestExclusiveSameEffectSpellGroupValue(this, SPELL_AURA_MOD_TOTAL_STAT_PERCENTAGE, true, -1);
|
||||
int32 spellGroupVal = target->GetHighestExclusiveSameEffectSpellGroupValue(this, SPELL_AURA_MOD_TOTAL_STAT_PERCENTAGE);
|
||||
if (abs(spellGroupVal) >= abs(GetAmount()))
|
||||
return;
|
||||
|
||||
|
||||
Reference in new issue
Block a user