*Fixed 22845 and 34299
--HG-- branch : trunk
This commit is contained in:
+8
-1
@@ -9033,7 +9033,8 @@ uint32 Unit::SpellHealingBonus(SpellEntry const *spellProto, uint32 healamount,
|
|||||||
// These Spells are doing fixed amount of healing (TODO found less hack-like check)
|
// These Spells are doing fixed amount of healing (TODO found less hack-like check)
|
||||||
if (spellProto->Id == 15290 || spellProto->Id == 39373 ||
|
if (spellProto->Id == 15290 || spellProto->Id == 39373 ||
|
||||||
spellProto->Id == 33778 || spellProto->Id == 379 ||
|
spellProto->Id == 33778 || spellProto->Id == 379 ||
|
||||||
spellProto->Id == 38395 || spellProto->Id == 40972)
|
spellProto->Id == 38395 || spellProto->Id == 40972 ||
|
||||||
|
spellProto->Id == 22845)
|
||||||
return healamount;
|
return healamount;
|
||||||
|
|
||||||
int32 AdvertisedBenefit = SpellBaseHealingBonus(GetSpellSchoolMask(spellProto));
|
int32 AdvertisedBenefit = SpellBaseHealingBonus(GetSpellSchoolMask(spellProto));
|
||||||
@@ -9137,6 +9138,12 @@ uint32 Unit::SpellHealingBonus(SpellEntry const *spellProto, uint32 healamount,
|
|||||||
DotFactor = damagetype == DOT ? 0.705f : 1.0f;
|
DotFactor = damagetype == DOT ? 0.705f : 1.0f;
|
||||||
CastingTime = damagetype == DOT ? 3500 : 1010;
|
CastingTime = damagetype == DOT ? 3500 : 1010;
|
||||||
}
|
}
|
||||||
|
// Improved Leader of the Pack
|
||||||
|
else if (spellProto->AttributesEx2 == 536870912 && spellProto->SpellIconID == 312
|
||||||
|
&& spellProto->AttributesEx3 == 33554432)
|
||||||
|
{
|
||||||
|
CastingTime = 0;
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case SPELLFAMILY_PRIEST:
|
case SPELLFAMILY_PRIEST:
|
||||||
// Holy Nova - 14%
|
// Holy Nova - 14%
|
||||||
|
|||||||
Reference in New Issue
Block a user