From acc20d8af6a1891ac22eb12c792a0df30f15609b Mon Sep 17 00:00:00 2001 From: tartalo Date: Wed, 9 Dec 2009 13:03:05 +0100 Subject: Violet Hold: Fix spawning modes --HG-- branch : trunk --- .../scripts/scripts/northrend/violet_hold/instance_violet_hold.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/bindings/scripts/scripts/northrend/violet_hold/instance_violet_hold.cpp b/src/bindings/scripts/scripts/northrend/violet_hold/instance_violet_hold.cpp index 2a8c58b34f5..6f1124accf7 100644 --- a/src/bindings/scripts/scripts/northrend/violet_hold/instance_violet_hold.cpp +++ b/src/bindings/scripts/scripts/northrend/violet_hold/instance_violet_hold.cpp @@ -237,7 +237,7 @@ struct TRINITY_DLL_DECL instance_violet_hold : public ScriptedInstance Creature *pSinclari = instance->GetCreature(uiSinclari); if (pSinclari) pSinclari->SummonCreature(CREATURE_CYANIGOSA,PortalLocation[0].x,PortalLocation[0].y, - PortalLocation[0].z,PortalLocation[0].orientation,TEMPSUMMON_CORPSE_DESPAWN,0); + PortalLocation[0].z,PortalLocation[0].orientation,TEMPSUMMON_DEAD_DESPAWN,0); break; } case 1: @@ -252,12 +252,12 @@ struct TRINITY_DLL_DECL instance_violet_hold : public ScriptedInstance { if (Creature *pPortal = pSinclari->SummonCreature(CREATURE_TELEPORTATION_PORTAL,PortalLocation[uiLocation].x,PortalLocation[uiLocation].y, PortalLocation[uiLocation].z,PortalLocation[uiLocation].orientation, - TEMPSUMMON_CORPSE_TIMED_DESPAWN,900000)) + TEMPSUMMON_CORPSE_DESPAWN,900000)) { uint32 entry = urand(0, 1) ? CREATURE_PORTAL_GUARDIAN : CREATURE_PORTAL_KEEPER; if (Creature *pPortalKeeper = pPortal->SummonCreature(entry,PortalLocation[uiLocation].x, PortalLocation[uiLocation].y, PortalLocation[uiLocation].z, PortalLocation[uiLocation].orientation, - TEMPSUMMON_CORPSE_TIMED_DESPAWN,900000)) + TEMPSUMMON_DEAD_DESPAWN,900000)) pPortal->CastSpell(pPortalKeeper, SPELL_PORTAL_CHANNEL,false); uiLocation = (++uiLocation)%3; } -- cgit v1.2.3