parent
123bf37ee7
commit
5bfeabde81
18 changed files with 88 additions and 88 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue