mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[9360] Fix the damage of spell 53351 and ranks
Signed-off-by: Lightguard <Lightguard@tauri.hu>
This commit is contained in:
parent
230bc2b49e
commit
5d59f03b25
2 changed files with 12 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue