mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 08:28:32 +01:00
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);
|
||||
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user