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:
@@ -341,7 +341,8 @@ class spell_dru_starfall_dummy : public SpellScriptLoader
|
|||||||
sLog->outString("triggering spell = %u",GetTriggeringSpell()->Id);
|
sLog->outString("triggering spell = %u",GetTriggeringSpell()->Id);
|
||||||
|
|
||||||
Unit* caster = GetCaster();
|
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())
|
if (SpellInfo const* spellInfo = GetTriggeringSpell())
|
||||||
caster->RemoveAurasDueToSpell(spellInfo->Id);
|
caster->RemoveAurasDueToSpell(spellInfo->Id);
|
||||||
|
|||||||
Reference in New Issue
Block a user