fix(scripts/VoA): Vault of Archavon (#4853)

This commit is contained in:
UltraNix
2021-03-17 16:06:24 +01:00
committed by GitHub
parent 0d19ac4312
commit de2c57f6cc
2 changed files with 2 additions and 1 deletions

View File

@@ -206,7 +206,7 @@ public:
if (target->GetTypeId() == TYPEID_UNIT && GetAura()->GetStackAmount() >= 10)
{
target->CastSpell(target, SPELL_OVERCHARGED_BLAST, true);
target->ToCreature()->DespawnOrUnsummon(500);
Unit::Kill(target, target, false);
}
PreventDefaultAction();

View File

@@ -94,6 +94,7 @@ public:
{
if (rotateTimer)
{
me->SetUInt64Value(UNIT_FIELD_CHANNEL_OBJECT, 0);
rotateTimer += diff;
if (rotateTimer >= 3000)
{