mirror of
https://github.com/mangosfour/server.git
synced 2025-12-22 04:37:01 +00:00
[9045] Implement talent 48539 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com> Also some typos in mangos.sql field order fixes (sql updates in past ahe been correct)
This commit is contained in:
parent
68c8757127
commit
d432c34307
9 changed files with 57 additions and 10 deletions
|
|
@ -6746,6 +6746,11 @@ void Aura::PeriodicTick()
|
|||
|
||||
int32 gain = m_target->ModifyHealth(pdamage);
|
||||
|
||||
// Set trigger flag
|
||||
uint32 procAttacker = PROC_FLAG_ON_DO_PERIODIC;
|
||||
uint32 procVictim = PROC_FLAG_ON_TAKE_PERIODIC;
|
||||
pCaster->ProcDamageAndSpell(m_target, procAttacker, procVictim, PROC_EX_NORMAL_HIT, gain, BASE_ATTACK, m_spellProto);
|
||||
|
||||
// add HoTs to amount healed in bgs
|
||||
if( pCaster->GetTypeId() == TYPEID_PLAYER )
|
||||
if( BattleGround *bg = ((Player*)pCaster)->GetBattleGround() )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue