aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormegamage <none@none>2009-06-27 15:27:09 -0500
committermegamage <none@none>2009-06-27 15:27:09 -0500
commitd401ede8f24fe8f733357c742e861b453c1794f8 (patch)
tree4a59e1432f9fe26ead493d337dc3affea52bcce1 /src
parentb925292f963458b62a0664f655f382366462c32c (diff)
[8051] Fixed some drinking mana regen spells. Author: bobaz
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/SpellAuras.cpp15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp
index 6d789765882..287376c7618 100644
--- a/src/game/SpellAuras.cpp
+++ b/src/game/SpellAuras.cpp
@@ -2839,20 +2839,6 @@ void AuraEffect::HandleAuraDummy(bool apply, bool Real, bool changeAmount)
int32 returnmana = (GetSpellProto()->ManaCostPercentage * caster->GetCreateMana() / 100) * GetParentAura()->GetStackAmount() / 2;
caster->CastCustomSpell(caster, 64372, &returnmana, NULL, NULL, true, NULL, this, GetCasterGUID());
}
-
- /*// have a look if there is still some other Lifebloom dummy aura
- Unit::AuraList auras = m_target->GetAurasByType(SPELL_AURA_DUMMY);
- for(Unit::AuraList::iterator itr = auras.begin(); itr!=auras.end(); ++itr)
- if((*itr)->GetSpellProto()->SpellFamilyName == SPELLFAMILY_DRUID &&
- (*itr)->GetSpellProto()->SpellFamilyFlags & 0x1000000000LL)
- return;
-
- // final heal
- if(m_target->IsInWorld() && m_stackAmount > 0)
- {
- int32 amount = m_amount / m_stackAmount;
- m_target->CastCustomSpell(m_target,33778,&amount,NULL,NULL,true,NULL,this,GetCasterGUID());
- }*/
}
return;
}
@@ -6636,6 +6622,7 @@ void AuraEffect::PeriodicDummyTick()
case 34291:
case 43182:
case 43183:
+ case 43706:
case 46755:
case 49472: // Drink Coffee
case 57073: