Fix Gift of the Naaru heal
--HG-- branch : trunk
This commit is contained in:
@@ -11068,12 +11068,9 @@ uint32 Unit::SpellHealingBonus(Unit *pVictim, SpellEntry const *spellProto, uint
|
||||
scripted = true;
|
||||
int32 apBonus = int32(std::max(GetTotalAttackPowerValue(BASE_ATTACK), GetTotalAttackPowerValue(RANGED_ATTACK)));
|
||||
if (apBonus > DoneAdvertisedBenefit)
|
||||
{
|
||||
DoneTotal += int32(apBonus * 0.2f);
|
||||
coeff = 0.0f;
|
||||
}
|
||||
DoneTotal += apBonus * 0.22f; // 22% of AP per tick
|
||||
else
|
||||
coeff = 1.0f;
|
||||
DoneTotal += DoneAdvertisedBenefit * 0.377f; //37.7% of BH per tick
|
||||
}
|
||||
// Earthliving - 0.45% of normal hot coeff
|
||||
else if (spellProto->SpellFamilyName == SPELLFAMILY_SHAMAN && spellProto->SpellFamilyFlags[1] & 0x80000)
|
||||
|
||||
Reference in New Issue
Block a user