Core/Scripts: fix gaseous bloat proc (again)

- UNIT_STATE_CASTING removal not needed for movement now, but it's needed for melee attacking
This commit is contained in:
ariel-
2017-04-25 02:57:58 -03:00
parent 157e9311c4
commit 85076dd799

View File

@@ -928,6 +928,7 @@ class spell_putricide_ooze_channel : public SpellScriptLoader
void StartAttack()
{
GetCaster()->ClearUnitState(UNIT_STATE_CASTING);
GetCaster()->DeleteThreatList();
GetCaster()->ToCreature()->AI()->AttackStart(GetHitUnit());
GetCaster()->AddThreat(GetHitUnit(), 500000000.0f); // value seen in sniff