aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game/Spell.cpp1
-rw-r--r--src/game/SpellEffects.cpp5
-rw-r--r--src/game/Unit.cpp1
3 files changed, 6 insertions, 1 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index 1236129e155..0ea03caad51 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -2297,6 +2297,7 @@ void Spell::SetTargetMap(uint32 i, uint32 cur)
}
else if (m_spellInfo->EffectImplicitTargetA[i] == TARGET_DEST_TARGET_ANY
&& m_spellInfo->EffectImplicitTargetB[i] == TARGET_UNIT_AREA_ALLY_DST)// Wild Growth, Circle of Healing target special selection
+ // TODO: is Ancestral Awakening implemented?
{
typedef std::priority_queue<PrioritizeHealthWraper, std::vector<PrioritizeHealthWraper>, PrioritizeHealth> TopHealth;
TopHealth healedMembers;
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index eb50a98f036..696071dec97 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -1306,6 +1306,11 @@ void Spell::EffectDummy(uint32 i)
}
return;
}
+ case 52759: // Ancestral Awakening
+ if (!unitTarget)
+ return;
+ m_caster->CastCustomSpell(unitTarget, 52752, &damage, NULL, NULL, true);
+ return;
case 53341:
case 53343:
{
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 1f7efb01c3e..47bb7307a2b 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -6409,7 +6409,6 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger
// Ancestral Awakening
if (dummySpell->SpellIconID == 3065)
{
- // TODO: frite dummy fot triggered spell
triggered_spell_id = 52759;
basepoints0 = triggerAmount * damage / 100;
target = this;