mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 17:19:07 +00:00
@@ -908,7 +908,7 @@ const uint32 spell_mage_polymorph_cast_visual::spell_mage_polymorph_cast_visual:
|
||||
class spell_mage_summon_water_elemental : public SpellScript
|
||||
{
|
||||
PrepareSpellScript(spell_mage_summon_water_elemental)
|
||||
bool Validate(SpellInfo const* /*spellEntry*/) override
|
||||
bool Validate(SpellInfo const* /*spellInfo*/) override
|
||||
{
|
||||
return ValidateSpellInfo(
|
||||
{
|
||||
@@ -936,9 +936,9 @@ class spell_mage_summon_water_elemental : public SpellScript
|
||||
if (pet->GetCharmInfo() && caster->ToPlayer())
|
||||
{
|
||||
pet->m_CreatureSpellCooldowns.clear();
|
||||
SpellInfo const* spellEntry = sSpellMgr->GetSpellInfo(31707);
|
||||
pet->GetCharmInfo()->ToggleCreatureAutocast(spellEntry, true);
|
||||
pet->GetCharmInfo()->SetSpellAutocast(spellEntry, true);
|
||||
SpellInfo const* spellInfo = sSpellMgr->GetSpellInfo(31707);
|
||||
pet->GetCharmInfo()->ToggleCreatureAutocast(spellInfo, true);
|
||||
pet->GetCharmInfo()->SetSpellAutocast(spellInfo, true);
|
||||
caster->ToPlayer()->CharmSpellInitialize();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user