Scripts/Emerald Dragons: Fix Aura of Nature being refreshed on already affected targets

This commit is contained in:
click
2011-06-17 01:22:22 +02:00
parent 73aea7e407
commit 235e164ba7

View File

@@ -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));
}
};