diff options
| author | megamage <none@none> | 2009-01-02 10:35:19 -0600 |
|---|---|---|
| committer | megamage <none@none> | 2009-01-02 10:35:19 -0600 |
| commit | 3deefb9f00201033728d4467180d8ba9aa265a20 (patch) | |
| tree | dcd243f7f2f27f03e8c1f1d74e42aac332e508d8 /src/game/SpellAuras.cpp | |
| parent | 75f0da72eea3ab2f8a6b5a2a9bc8361c4a656afe (diff) | |
| parent | deac8370d71c0f72b5d60709c09dc2830c1680bd (diff) | |
*Update to Trinity 759.
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellAuras.cpp')
| -rw-r--r-- | src/game/SpellAuras.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 91b85df1a39..282fc4bc095 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -5956,6 +5956,13 @@ void Aura::PeriodicTick() int32 gain = pCaster->ModifyPower(power,gain_amount); m_target->AddThreat(pCaster, float(gain) * 0.5f, GetSpellSchoolMask(GetSpellProto()), GetSpellProto()); } + // Mark of Kaz'rogal + if(GetId() == 31447 && m_target->GetPower(power) == 0) + { + m_target->CastSpell(m_target, 31463, true, 0, this); + // Remove aura + SetAuraDuration(0); + } break; } case SPELL_AURA_PERIODIC_ENERGIZE: |
