mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 13:37:00 +00:00
[10456] Implement 60764
Signed-off-by: Laise <fenrisse@gmail.com>
This commit is contained in:
parent
e115f635ef
commit
7092137ead
2 changed files with 5 additions and 1 deletions
|
|
@ -2126,6 +2126,10 @@ SpellAuraProcResult Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura
|
||||||
|
|
||||||
int32 extra_attack_power = CalculateSpellDamage(pVictim, windfurySpellEntry, EFFECT_INDEX_1);
|
int32 extra_attack_power = CalculateSpellDamage(pVictim, windfurySpellEntry, EFFECT_INDEX_1);
|
||||||
|
|
||||||
|
// Totem of Splintering
|
||||||
|
if (Aura* aura = GetAura(60764, EFFECT_INDEX_0))
|
||||||
|
extra_attack_power += aura->GetModifier()->m_amount;
|
||||||
|
|
||||||
// Off-Hand case
|
// Off-Hand case
|
||||||
if (castItem->GetSlot() == EQUIPMENT_SLOT_OFFHAND)
|
if (castItem->GetSlot() == EQUIPMENT_SLOT_OFFHAND)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "10455"
|
#define REVISION_NR "10456"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue