Scripts/Icecrown Citadel: Fixed orientation of Ice Bomb trigger spawns, spell should now work as intended

This commit is contained in:
Shauren
2011-07-29 23:06:25 +02:00
parent c063639ce0
commit 0cb2a95a04
@@ -457,7 +457,7 @@ class boss_sindragosa : public CreatureScript
destZ = 205.0f; // random number close to ground, get exact in next call destZ = 205.0f; // random number close to ground, get exact in next call
me->UpdateGroundPositionZ(destX, destY, destZ); me->UpdateGroundPositionZ(destX, destY, destZ);
Position pos; Position pos;
pos.Relocate(destX, destY, destZ); pos.Relocate(destX, destY, destZ, 0.0f);
if (TempSummon* summ = me->SummonCreature(NPC_FROST_BOMB, pos, TEMPSUMMON_TIMED_DESPAWN, 40000)) if (TempSummon* summ = me->SummonCreature(NPC_FROST_BOMB, pos, TEMPSUMMON_TIMED_DESPAWN, 40000))
{ {
summ->CastSpell(summ, SPELL_FROST_BOMB_VISUAL, true); summ->CastSpell(summ, SPELL_FROST_BOMB_VISUAL, true);