aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authorBlaymoira <none@none>2008-12-11 21:39:39 +0100
committerBlaymoira <none@none>2008-12-11 21:39:39 +0100
commitec12b76b392d65f02ad1b2d48508771f77284b50 (patch)
treef085b96259f1683537f6e52856b5a6337fb0be69 /src/game/Unit.cpp
parent236553f40804c30d4ed8f1a29e01a76dd7be809a (diff)
*Fixed 22845 and 34299
--HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 9e5da761bcc..03a4887c8b2 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -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)
if (spellProto->Id == 15290 || spellProto->Id == 39373 ||
spellProto->Id == 33778 || spellProto->Id == 379 ||
- spellProto->Id == 38395 || spellProto->Id == 40972)
+ spellProto->Id == 38395 || spellProto->Id == 40972 ||
+ spellProto->Id == 22845)
return healamount;
int32 AdvertisedBenefit = SpellBaseHealingBonus(GetSpellSchoolMask(spellProto));
@@ -9137,6 +9138,12 @@ uint32 Unit::SpellHealingBonus(SpellEntry const *spellProto, uint32 healamount,
DotFactor = damagetype == DOT ? 0.705f : 1.0f;
CastingTime = damagetype == DOT ? 3500 : 1010;
}
+ // Improved Leader of the Pack
+ else if (spellProto->AttributesEx2 == 536870912 && spellProto->SpellIconID == 312
+ && spellProto->AttributesEx3 == 33554432)
+ {
+ CastingTime = 0;
+ }
break;
case SPELLFAMILY_PRIEST:
// Holy Nova - 14%