[7876] Implemented dummy effect /*and special target selection*/ for 52759. Author: ApoC
--HG-- branch : trunk
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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:
|
||||
{
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user