[7876] Implemented dummy effect /*and special target selection*/ for 52759. Author: ApoC

--HG--
branch : trunk
This commit is contained in:
megamage
2009-05-22 16:49:37 -05:00
parent 90b2951a53
commit 2e46b7e65d
3 changed files with 6 additions and 1 deletions
+1
View File
@@ -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;
+5
View File
@@ -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:
{
-1
View File
@@ -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;