mirror of
https://github.com/mangosfour/server.git
synced 2025-12-21 19:37:02 +00:00
[9023] Fixed some hunter sting affects.
* spell 1978 and ranks RAP bonus * spell 53209 affect from spell 3034 dot.
This commit is contained in:
parent
b95e3046c0
commit
29a096a348
3 changed files with 23 additions and 7 deletions
|
|
@ -4788,8 +4788,8 @@ void Aura::HandlePeriodicDamage(bool apply, bool Real)
|
|||
// Serpent Sting
|
||||
if (m_spellProto->SpellFamilyFlags & UI64LIT(0x0000000000004000))
|
||||
{
|
||||
// $RAP*0.1/5 bonus per tick
|
||||
m_modifier.m_amount += int32(caster->GetTotalAttackPowerValue(RANGED_ATTACK) * 10 / 500);
|
||||
// $RAP*0.2/5 bonus per tick
|
||||
m_modifier.m_amount += int32(caster->GetTotalAttackPowerValue(RANGED_ATTACK) * 0.2 / 5);
|
||||
return;
|
||||
}
|
||||
// Immolation Trap
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue