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- authored and Aokromes committed 2017-04-25 13:33:38 +02:00
1 parent 779c5aa800
commit 04466823e1
1 file changed
+1
@@ -914,6 +914,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