mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 08:28:32 +01:00
Fix Beacon of Light: make it work when casted on other players (no initial aggro on caster)
Fix by Liberate --HG-- branch : trunk
This commit is contained in:
@@ -2260,6 +2260,11 @@ void AuraEffect::TriggerSpell(Unit * target, Unit * caster) const
|
||||
case 54362:
|
||||
target->CastCustomSpell(triggerSpellId, SPELLVALUE_RADIUS_MOD, (int32)((((float)m_tickNumber / 60) * 0.9f + 0.1f) * 10000), NULL, true, NULL, this);
|
||||
return;
|
||||
// Beacon of Light
|
||||
case 53563:
|
||||
Unit * triggerCaster = (Unit *)(GetBase()->GetOwner());
|
||||
triggerCaster->CastSpell(triggerTarget, triggeredSpellInfo, true, 0, this,triggerCaster->GetGUID());
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -3843,6 +3843,9 @@ void SpellMgr::LoadSpellCustomAttr()
|
||||
spellInfo->MaxAffectedTargets = 3;
|
||||
count++;
|
||||
break;
|
||||
case 53651:
|
||||
spellInfo->AttributesEx3 |= SPELL_ATTR_EX3_NO_INITIAL_AGGRO;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user