What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

How to cast Deathknight pet spells?

fedehat

New Member
Joined
Aug 22, 2010
Messages
312
Reaction score
20
SpellManager.Cast("Claw") does not work and SpellManager.Spells does not even contain the ghoul's spells.
The LUA functions are protected so I am guessing they won't work either.
 
Turns out the RunMacro() LUA function still works.
So something like
Code:
Lua.DoString("RunMacro('PetDPS')");
should do the trick.
 
something like Lua.DoString("CastSpellByID({0})",12345); should work too.
Edit: LegacySpellManager.CastSpellById(SpellID); // use this if you want to cast any spells not found in SpellManager.Spells.
 
Last edited:
Back
Top