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
committed by Aokromes
parent 779c5aa800
commit 04466823e1

View File

@@ -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