diff options
-rw-r--r-- | src/server/scripts/Spells/spell_druid.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/scripts/Spells/spell_druid.cpp b/src/server/scripts/Spells/spell_druid.cpp index 58e63a7eb66..e0589b638da 100644 --- a/src/server/scripts/Spells/spell_druid.cpp +++ b/src/server/scripts/Spells/spell_druid.cpp @@ -341,7 +341,8 @@ class spell_dru_starfall_dummy : public SpellScriptLoader sLog->outString("triggering spell = %u",GetTriggeringSpell()->Id); Unit* caster = GetCaster(); - if (caster->IsInDisallowedMountForm() || caster->IsMounted()) + // Shapeshifting into an animal form or mounting cancels the effect + if (caster->GetCreatureType() == CREATURE_TYPE_BEAST() || caster->IsMounted()) { if (SpellInfo const* spellInfo = GetTriggeringSpell()) caster->RemoveAurasDueToSpell(spellInfo->Id); |