[9360] Fix the damage of spell 53351 and ranks

Signed-off-by: Lightguard <Lightguard@tauri.hu>
This commit is contained in:
pasdVn 2010-02-12 06:43:11 +01:00 committed by Lightguard
parent 230bc2b49e
commit 5d59f03b25
2 changed files with 12 additions and 1 deletions

View file

@ -4645,6 +4645,17 @@ void Spell::EffectWeaponDmg(uint32 i)
} }
break; break;
} }
case SPELLFAMILY_HUNTER:
{
// Kill Shot
if (m_spellInfo->SpellFamilyFlags & UI64LIT(0x80000000000000))
{
// 0.4*RAP added to damage (that is 0.2 if we apply PercentMod (200%) to spell_bonus, too)
spellBonusNeedWeaponDamagePercentMod = true;
spell_bonus += int32( 0.2f * m_caster->GetTotalAttackPowerValue(RANGED_ATTACK) );
}
break;
}
case SPELLFAMILY_SHAMAN: case SPELLFAMILY_SHAMAN:
{ {
// Skyshatter Harness item set bonus // Skyshatter Harness item set bonus

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "9359" #define REVISION_NR "9360"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__