patch works with 900x mangos?
any updates/news
and this part correct, typo fix
+void Spell::EffectSummonAllTotems(uint32 i)
+{
+ if(m_caster->GetTypeId() != TYPEID_PLAYER)
+ return;
+
+ switch(m_spellInfo->Id)
+ {
+ case 66842: // Call of the Elements
+ case 66843: // Call of the Ancestors
+ case 66844: // Call of the Spirits
+ {
+ for(int32 slot = 0; slot != MAX_TOTEM; ++slot)
+ {
+ uint8 button = m_spellInfo->EffectMiscValue[i]+slot+132;
+ uint32 spell_id = ((Player*)m_caster)->GetActionByActionButton(button);
+ if(spell_id)
+ m_caster->CastSpell(unitTarget,spell_id,true);
+ }
+ break;
+ }
+ default:
+ break;
+ }
+}
+