[7885] Fixed talent 34914 and ranks proc spell to correct spellid. Author: qsa
--HG-- branch : trunk
This commit is contained in:
@@ -3986,12 +3986,6 @@ void AuraEffect::HandleAuraModSilence(bool apply, bool Real, bool /*changeAmount
|
||||
for (uint32 i = CURRENT_MELEE_SPELL; i < CURRENT_MAX_SPELL;i++)
|
||||
if (m_target->m_currentSpells[i] && m_target->m_currentSpells[i]->m_spellInfo->PreventionType == SPELL_PREVENTION_TYPE_SILENCE)
|
||||
m_target->InterruptSpell(i,false); // Stop spells on prepare or casting state
|
||||
|
||||
/*
|
||||
switch (GetId())
|
||||
{
|
||||
}
|
||||
*/
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
+2
-3
@@ -5612,9 +5612,8 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger
|
||||
if(triggeredByAura->GetCasterGUID() != pVictim->GetGUID())
|
||||
return false;
|
||||
|
||||
// energize amount
|
||||
basepoints0 = triggerAmount*damage/100;
|
||||
pVictim->CastCustomSpell(pVictim,34919,&basepoints0,NULL,NULL,true,castItem,triggeredByAura);
|
||||
// Energize 0.25% of max. mana
|
||||
pVictim->CastSpell(pVictim,57669,true,castItem,triggeredByAura);
|
||||
return true; // no hidden cooldown
|
||||
}
|
||||
// Divine Aegis
|
||||
|
||||
Reference in New Issue
Block a user