mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[11465] non-ObjectGuid guids in random places.
Only ChannelMgr code wide use uint64 guids now, and Map object stores.
This commit is contained in:
parent
a925db80fa
commit
ef6a48fe03
44 changed files with 219 additions and 215 deletions
|
|
@ -1361,7 +1361,7 @@ SpellAuraProcResult Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura
|
|||
return SPELL_AURA_PROC_FAILED;
|
||||
|
||||
// Renew
|
||||
Aura* healingAura = pVictim->GetAura(SPELL_AURA_PERIODIC_HEAL, SPELLFAMILY_PRIEST, UI64LIT(0x40), 0, GetGUID());
|
||||
Aura* healingAura = pVictim->GetAura(SPELL_AURA_PERIODIC_HEAL, SPELLFAMILY_PRIEST, UI64LIT(0x40), 0, GetObjectGuid());
|
||||
if (!healingAura)
|
||||
return SPELL_AURA_PROC_FAILED;
|
||||
|
||||
|
|
@ -1377,7 +1377,7 @@ SpellAuraProcResult Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura
|
|||
if (!procSpell)
|
||||
return SPELL_AURA_PROC_FAILED;
|
||||
|
||||
Aura* leachAura = pVictim->GetAura(SPELL_AURA_PERIODIC_LEECH, SPELLFAMILY_PRIEST, UI64LIT(0x02000000), 0, GetGUID());
|
||||
Aura* leachAura = pVictim->GetAura(SPELL_AURA_PERIODIC_LEECH, SPELLFAMILY_PRIEST, UI64LIT(0x02000000), 0, GetObjectGuid());
|
||||
if (!leachAura)
|
||||
return SPELL_AURA_PROC_FAILED;
|
||||
|
||||
|
|
@ -1595,7 +1595,7 @@ SpellAuraProcResult Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura
|
|||
if (!second)
|
||||
return SPELL_AURA_PROC_FAILED;
|
||||
|
||||
pVictim->CastSpell(second, procSpell, true, NULL, triggeredByAura, GetGUID());
|
||||
pVictim->CastSpell(second, procSpell, true, NULL, triggeredByAura, GetObjectGuid());
|
||||
return SPELL_AURA_PROC_OK;
|
||||
}
|
||||
}
|
||||
|
|
@ -1790,7 +1790,7 @@ SpellAuraProcResult Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura
|
|||
// Glyph of Mend Pet
|
||||
if(dummySpell->Id == 57870)
|
||||
{
|
||||
pVictim->CastSpell(pVictim, 57894, true, NULL, NULL, GetGUID());
|
||||
pVictim->CastSpell(pVictim, 57894, true, NULL, NULL, GetObjectGuid());
|
||||
return SPELL_AURA_PROC_OK;
|
||||
}
|
||||
// Misdirection
|
||||
|
|
@ -2027,7 +2027,7 @@ SpellAuraProcResult Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura
|
|||
basepoints[0] = triggeredByAura->GetModifier()->m_amount*damage/100;
|
||||
|
||||
// cast with original caster set but beacon to beacon for apply caster mods and avoid LoS check
|
||||
beacon->CastCustomSpell(beacon,triggered_spell_id,&basepoints[0],NULL,NULL,true,castItem,triggeredByAura,pVictim->GetGUID());
|
||||
beacon->CastCustomSpell(beacon,triggered_spell_id,&basepoints[0],NULL,NULL,true,castItem,triggeredByAura,pVictim->GetObjectGuid());
|
||||
return SPELL_AURA_PROC_OK;
|
||||
}
|
||||
// Seal of Corruption (damage calc on apply aura)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue