Core/Auras: Implemented new proc ppm modifier - SPELL_PPM_MOD_AURA

Port From (https://github.com/TrinityCore/TrinityCore/commit/234dd5f26b045518f2f67cc434acc8b978607cd6)
This commit is contained in:
Hondacrx
2025-12-08 14:23:02 -05:00
parent dc89a5e8e0
commit 97e2643eae
2 changed files with 8 additions and 1 deletions
+2 -1
View File
@@ -2199,7 +2199,8 @@ namespace Framework.Constants
Spec = 4, Spec = 4,
Race = 5, Race = 5,
ItemLevel = 6, ItemLevel = 6,
Battleground = 7 Battleground = 7,
Aura = 8
} }
public enum SpellShapeshiftFormFlags public enum SpellShapeshiftFormFlags
+6
View File
@@ -3089,6 +3089,12 @@ namespace Game.Spells
ppm *= 1.0f + mod.Coeff; ppm *= 1.0f + mod.Coeff;
break; break;
} }
case SpellProcsPerMinuteModType.Battleground:
{
if (caster.HasAura(mod.Param))
ppm *= 1.0f + mod.Coeff;
break;
}
default: default:
break; break;
} }