Modify OnPeriodic for 10-man heroic difficulty (#824)

Adjust the OnPeriodic method to set a blizzlike amount for the aura effect based on the raid difficulty (40 man).
This commit is contained in:
Dinkledork
2025-10-23 06:45:28 -06:00
committed by GitHub
parent bbeb8609ac
commit 8dff1f3bb9

View File

@@ -347,6 +347,11 @@ public:
void OnPeriodic(AuraEffect const* aurEff)
{
if (GetCaster()->GetMap()->GetDifficulty() == RAID_DIFFICULTY_10MAN_HEROIC)
{
AuraEffect* eff = const_cast<AuraEffect*>(aurEff);
eff->SetAmount(static_cast<int32>(urand(657, 843)));
}
if (aurEff->GetTickNumber() == 2)
{
if (GetCaster()->GetMap()->GetDifficulty() == RAID_DIFFICULTY_10MAN_HEROIC)