From e440ccd09751c76248ce7dbecb245646622a6854 Mon Sep 17 00:00:00 2001 From: Hondacrx Date: Sun, 1 Sep 2024 15:57:24 -0400 Subject: [PATCH] Core/Spells: Added missing SummonPropertiesFlags::UseDemonTimeout handling to some summon cases Port From (https://github.com/TrinityCore/TrinityCore/commit/ceffc2cb2037921af13d8a417b39e407bb7635ac) --- Source/Game/Spells/SpellEffects.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Game/Spells/SpellEffects.cs b/Source/Game/Spells/SpellEffects.cs index de130148b..d05391f05 100644 --- a/Source/Game/Spells/SpellEffects.cs +++ b/Source/Game/Spells/SpellEffects.cs @@ -1575,6 +1575,8 @@ namespace Game.Spells summonType = TempSummonType.DeadDespawn; else if (duration == TimeSpan.FromMilliseconds(-1)) summonType = TempSummonType.ManualDespawn; + else if (properties.HasFlag(SummonPropertiesFlags.UseDemonTimeout)) + summonType = TempSummonType.TimedDespawnOutOfCombat; for (uint count = 0; count < numSummons; ++count) {