*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:
1 parent
d6a3770597
commit
0a7691083d
3 files changed
+19
-1
No files matched your search
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user