Core/AreaTriggers: Add PlaySpellVisual
Port From (https://github.com/TrinityCore/TrinityCore/commit/6affa412b18b17623a828332823d0af55d664192)
This commit is contained in:
@@ -77,6 +77,14 @@ namespace Game.Entities
|
||||
}
|
||||
}
|
||||
|
||||
void PlaySpellVisual(uint spellVisualId)
|
||||
{
|
||||
AreaTriggerPlaySpellVisual packet = new();
|
||||
packet.AreaTriggerGUID = GetGUID();
|
||||
packet.SpellVisualID = spellVisualId;
|
||||
SendMessageToSet(packet, false);
|
||||
}
|
||||
|
||||
bool Create(AreaTriggerId areaTriggerCreatePropertiesId, Map map, Position pos, int duration, AreaTriggerSpawn spawnData = null, Unit caster = null, Unit target = null, SpellCastVisual spellVisual = default, SpellInfo spellInfo = null, Spell spell = null, AuraEffect aurEff = null)
|
||||
{
|
||||
_targetGuid = target != null ? target.GetGUID() : ObjectGuid.Empty;
|
||||
|
||||
Reference in New Issue
Block a user