Core/Spells:
* updated Concussion Blow spellscript and use proper calculation for damage values * fixed Eviscerate and Ferocious Bite damage bonus calculation * converted Warrior's Shockwave and Victory Rush damage bonus to spellscript and calculate values properly * fixed Death and Decay threat generation amount
This commit is contained in:
1 parent
ad9419467d
commit
1ed5a11b79
5 files changed
+50
-53
No files matched your search
@@ -1588,7 +1588,7 @@ class spell_dru_ferocious_bite : public SpellScript
|
||||
return true;
|
||||
}
|
||||
|
||||
void ChangeDamage()
|
||||
void ChangeDamage(SpellEffIndex /*effIndex*/)
|
||||
{
|
||||
Unit* caster = GetCaster();
|
||||
if (!caster)
|
||||
@@ -1617,7 +1617,7 @@ class spell_dru_ferocious_bite : public SpellScript
|
||||
|
||||
void Register() override
|
||||
{
|
||||
BeforeHit += SpellHitFn(spell_dru_ferocious_bite::ChangeDamage);
|
||||
OnEffectLaunchTarget += SpellEffectFn(spell_dru_ferocious_bite::ChangeDamage, EFFECT_0, SPELL_EFFECT_SCHOOL_DAMAGE);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user