mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Scripts: Professor Putricide - Fixed Tear Gas spell sometimes dont casted in phase transitions (#18425)
Closes: #7972
This commit is contained in:
@@ -340,6 +340,9 @@ class boss_professor_putricide : public CreatureScript
|
||||
|
||||
void DamageTaken(Unit* /*attacker*/, uint32& /*damage*/) override
|
||||
{
|
||||
if (me->HasUnitState(UNIT_STATE_CASTING))
|
||||
return;
|
||||
|
||||
switch (_phase)
|
||||
{
|
||||
case PHASE_COMBAT_1:
|
||||
|
||||
Reference in New Issue
Block a user