diff options
| author | tobmaps <spambot42@yandex.ru> | 2011-05-12 02:21:14 +0700 |
|---|---|---|
| committer | tobmaps <spambot42@yandex.ru> | 2011-05-12 02:21:14 +0700 |
| commit | b67091802ffb12d81277e24843365404f77b63b4 (patch) | |
| tree | 7d6fffa06ff6334ef3d81ab7a153b48ad683b011 /src | |
| parent | 53b409e756571581769b50a01b5bb69e161d3dc3 (diff) | |
Core/Auras: Fix periodic damage/heal from isolated caster
Closes #1400
Diffstat (limited to 'src')
| -rwxr-xr-x | src/server/game/Spells/Auras/SpellAuraEffects.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/server/game/Spells/Auras/SpellAuraEffects.cpp b/src/server/game/Spells/Auras/SpellAuraEffects.cpp index 26597d693b5..872811e80ac 100755 --- a/src/server/game/Spells/Auras/SpellAuraEffects.cpp +++ b/src/server/game/Spells/Auras/SpellAuraEffects.cpp @@ -1078,11 +1078,8 @@ void AuraEffect::Update(uint32 diff, Unit * caster) std::list<AuraApplication*> effectApplications; GetApplicationList(effectApplications); // tick on targets of effects - if (!caster || !caster->HasUnitState(UNIT_STAT_ISOLATED)) - { - for (std::list<AuraApplication*>::iterator apptItr = effectApplications.begin(); apptItr != effectApplications.end(); ++apptItr) - PeriodicTick(*apptItr, caster); - } + for (std::list<AuraApplication*>::iterator apptItr = effectApplications.begin(); apptItr != effectApplications.end(); ++apptItr) + PeriodicTick(*apptItr, caster); } } } |
