gothik dont spawn ud adds after a wipe

This commit is contained in:
Gemt
2017-09-23 18:32:40 +02:00
parent c09908f182
commit 2cef0d6e5e
@@ -180,6 +180,9 @@ struct boss_gothikAI : public ScriptedAI
void SummonAdd(uint32 entry, float x, float y, float z, float o)
{
if (!m_creature->isInCombat() && !m_creature->isDead())
return;
if (Creature *pCreature = m_creature->SummonCreature(entry, x, y, z, o, TEMPSUMMON_CORPSE_TIMED_DESPAWN, 10000))
{
if (gatesOpened)