mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[8117] Fixed spell 6343 and ranks, now getting bonus from AP
signed-off-by: ApoC <apoc@nymfe.net>
This commit is contained in:
parent
9798dbe5e2
commit
24f13bdcb7
2 changed files with 6 additions and 1 deletions
|
|
@ -398,6 +398,11 @@ void Spell::EffectSchoolDMG(uint32 effect_idx)
|
||||||
damage+= int32(m_caster->GetTotalAttackPowerValue(BASE_ATTACK) * pct / 100);
|
damage+= int32(m_caster->GetTotalAttackPowerValue(BASE_ATTACK) * pct / 100);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
// Thunder Clap
|
||||||
|
else if (m_spellInfo->SpellFamilyFlags & UI64LIT(0x0000000000000080))
|
||||||
|
{
|
||||||
|
damage+=int32(m_caster->GetTotalAttackPowerValue(BASE_ATTACK) * 12 / 100);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case SPELLFAMILY_WARLOCK:
|
case SPELLFAMILY_WARLOCK:
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "8116"
|
#define REVISION_NR "8117"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue