*Fix the bug that player gets dismounted during taxi flights with many flymasters.

*Mana feed now gives pet mana during Drain Mana spell.

--HG--
branch : trunk
This commit is contained in:
QAston committed 2009-06-24 00:12:09 +02:00
1 parent d6a3770597
commit 0a7691083d
3 files changed
+19 -1

No files matched your search

+4 -1
View File
@@ -1493,7 +1493,10 @@ void Spell::EffectDummy(uint32 i)
for(Unit::AuraEffectList::const_iterator itr = mod.begin(); itr != mod.end(); ++itr)
{
if((*itr)->GetSpellProto()->SpellFamilyName==SPELLFAMILY_WARLOCK && (*itr)->GetSpellProto()->SpellIconID == 1982)
manaFeedVal+= (*itr)->GetAmount();
{
manaFeedVal = (*itr)->GetAmount();
break;
}
}
if(manaFeedVal > 0)
{