Switch to support client 3.0.8a (build 3506)

Merge commit 'origin/308'
This commit is contained in:
VladimirMangos 2009-01-30 00:27:55 +03:00
commit 0fd361a0a3
11 changed files with 120 additions and 63 deletions

View file

@ -7566,6 +7566,7 @@ uint32 Unit::SpellDamageBonus(Unit *pVictim, SpellEntry const *spellProto, uint3
// Taken/Done fixed damage bonus auras
int32 DoneAdvertisedBenefit = SpellBaseDamageBonus(GetSpellSchoolMask(spellProto));
int32 TakenAdvertisedBenefit = SpellBaseDamageBonusForVictim(GetSpellSchoolMask(spellProto), pVictim);
// Pets just add their bonus damage to their spell damage
// note that their spell damage is just gain of their own auras
if (GetTypeId() == TYPEID_UNIT && ((Creature*)this)->isPet())