mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 04:37:00 +00:00
Mage 400 INTO master/434
Signed-off-by: Salja <salja2012@hotmail.de>
This commit is contained in:
parent
7665a09232
commit
22bfaa12b0
66 changed files with 5773 additions and 3971 deletions
|
|
@ -171,7 +171,10 @@ void DynamicObject::Delay(int32 delaytime)
|
|||
bool foundAura = false;
|
||||
for (int32 i = m_effIndex + 1; i < MAX_EFFECT_INDEX; ++i)
|
||||
{
|
||||
if ((holder->GetSpellProto()->Effect[i] == SPELL_EFFECT_PERSISTENT_AREA_AURA || holder->GetSpellProto()->Effect[i] == SPELL_EFFECT_ADD_FARSIGHT) && holder->m_auras[i])
|
||||
SpellEffectEntry const* effect = holder->GetSpellProto()->GetSpellEffect(SpellEffectIndex(i));
|
||||
if(!effect)
|
||||
continue;
|
||||
if ((effect->Effect == SPELL_EFFECT_PERSISTENT_AREA_AURA || effect->Effect == SPELL_EFFECT_ADD_FARSIGHT) && holder->m_auras[i])
|
||||
{
|
||||
foundAura = true;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue