mirror of
https://github.com/mangosfour/server.git
synced 2025-12-18 19:37:01 +00:00
[7884] Removed obsolete 28734 dependency.
Signed-off-by: ApoC <apoc@nymfe.net>
This commit is contained in:
parent
029b49dec8
commit
59392eee2d
2 changed files with 1 additions and 21 deletions
|
|
@ -3758,26 +3758,6 @@ void Aura::HandleAuraModSilence(bool apply, bool Real)
|
||||||
for (uint32 i = CURRENT_MELEE_SPELL; i < CURRENT_MAX_SPELL;i++)
|
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)
|
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
|
m_target->InterruptSpell(i,false); // Stop spells on prepare or casting state
|
||||||
|
|
||||||
switch (GetId())
|
|
||||||
{
|
|
||||||
// Arcane Torrent (Energy)
|
|
||||||
case 25046:
|
|
||||||
{
|
|
||||||
Unit * caster = GetCaster();
|
|
||||||
if (!caster)
|
|
||||||
return;
|
|
||||||
|
|
||||||
// Search Mana Tap auras on caster
|
|
||||||
Aura * dummy = caster->GetDummyAura(28734);
|
|
||||||
if (dummy)
|
|
||||||
{
|
|
||||||
int32 bp = dummy->GetStackAmount() * 10;
|
|
||||||
caster->CastCustomSpell(caster, 25048, &bp, NULL, NULL, true);
|
|
||||||
caster->RemoveAurasDueToSpell(28734);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "7883"
|
#define REVISION_NR "7884"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue