Scripts/Spells: Revert a little part of spell_dru_starfall_dummy (original code)

Thanks to Drago for testing
Closes #5305
This commit is contained in:
Nay
2012-02-18 21:26:24 +00:00
parent 34a41d0152
commit 703ad48890

View File

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