mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-08 11:06:36 +01:00
Core/Spells: Eclipse states will no longer proc while the druid has no balance specialization active
This commit is contained in:
@@ -257,6 +257,10 @@ class spell_dru_eclipse_mastery_driver_passive : public AuraScript
|
||||
|
||||
bool CheckProc(ProcEventInfo& eventInfo)
|
||||
{
|
||||
Player* player = GetTarget()->ToPlayer();
|
||||
if (!player || player->GetPrimaryTalentTree(player->GetActiveSpec()) != TALENT_TREE_DRUID_BALANCE)
|
||||
return false;
|
||||
|
||||
return eventInfo.GetSpellInfo();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user