Core/Spells: SPELL_AURA_MOD_HEALTH_REGEN_PERCENT should be negative if TargetType is enemy and Basepoints are negative
Port From (https://github.com/TrinityCore/TrinityCore/commit/a16c804ea06ec6f8fbae701cf71e19201072478d)
This commit is contained in:
@@ -3557,6 +3557,10 @@ namespace Game.Spells
|
||||
if (!_isPositiveTarget(effect) && bp > 0)
|
||||
return false;
|
||||
break;
|
||||
case AuraType.ModHealthRegenPercent: // check targets and basepoints (target enemy and negative bp -> negative)
|
||||
if (!_isPositiveTarget(effect) && bp < 0)
|
||||
return false;
|
||||
break;
|
||||
case AuraType.AddTargetTrigger:
|
||||
return true;
|
||||
case AuraType.PeriodicTriggerSpellWithValue:
|
||||
|
||||
Reference in New Issue
Block a user