Fix Kill Shot. Patch partially by bodompelle. Closes #357.
Adds a second copy of weapon damage to total damage. (Same as multiplying damage by 200%) Spell's aura type isn't currently implemented into core, so fix isn't permanent. --HG-- branch : trunk
This commit is contained in:
@@ -4606,6 +4606,16 @@ void Spell::SpellDamageWeaponDmg(uint32 i)
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case SPELLFAMILY_HUNTER:
|
||||||
|
{
|
||||||
|
// Kill Shot
|
||||||
|
if(m_spellInfo->SpellFamilyFlags[1] & 0x800000)
|
||||||
|
{
|
||||||
|
// Increase Weapon Damage by 200% (or Weapon Damage + Weapon Damage)
|
||||||
|
spell_bonus += m_caster->CalculateDamage(RANGED_ATTACK, false, true);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
case SPELLFAMILY_DEATHKNIGHT:
|
case SPELLFAMILY_DEATHKNIGHT:
|
||||||
{
|
{
|
||||||
// Plague Strike
|
// Plague Strike
|
||||||
|
|||||||
Reference in New Issue
Block a user