mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
Switch to support client 3.0.8a (build 3506)
Merge commit 'origin/308'
This commit is contained in:
commit
0fd361a0a3
11 changed files with 120 additions and 63 deletions
|
|
@ -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())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue