mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 08:55:32 +01:00
Scripts/Emerald Dragons: Fix Aura of Nature being refreshed on already affected targets
This commit is contained in:
@@ -273,8 +273,8 @@ class MarkOfNatureTargetSelector
|
||||
|
||||
bool operator()(Unit* unit)
|
||||
{
|
||||
// return anyone that isn't tagged , or already under the influence of Aura of Nature
|
||||
return !unit->HasAura(SPELL_MARK_OF_NATURE);
|
||||
// return anyone that isn't tagged or already under the influence of Aura of Nature
|
||||
return !(unit->HasAura(SPELL_MARK_OF_NATURE) && !unit->HasAura(SPELL_AURA_OF_NATURE));
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user