|
Source code
|
1
2
3
|
/run if IsShiftKeyDown() then CastSpellByName("Summon Spirit of the Oak") elseif IsCtrlKeyDown() then CastSpellByName("Summon Nature Crystal") else CastSpellByName("Summon Oak Walker") end
/wait 2.5
/run TargetUnit("pet") if UnitName("target")=="Nature Crystal" then UsePetAction(5, true) UsePetAction(6, true) else UsePetAction(5, true) end
|
Thats pretty much it, been messing with it here and there. So I'll have to get in game and get ya my most recent. But I think this one works ok. Cant remember if it worked right or not. I'm also sure there are prolly ways to shorten it. Still lookin into all of it. OH! .... Yeah I think I did add some code to set focus a target cuz when your in battle you'll lose your target using this, and a check to check if yourself is a target then focus nil or something. I'll get back to ya. I know it's getting pretty long now >,< (Using extended macro icons addon give ya extra space for code limit is 700 something.) I still want to shorten it so ppl can use something like this w/o the addon.
Oh yeah about energy absorb, and using it... I try to use all the skills even if I didnt invest TP into them. I use them all ^.^ well at least the ones I have.
If ya only wanted a macro for just "One" of the warden pets. You could...
|
Source code
|
1
2
3
|
/run CastSpellByName("Summon Your Pet Skill Name")
/wait 2.5 (or whatever your cast time is. (Using Item set here)
/run UsePetAction(#, true) --- (# is the number on the skill bar 1 being first slot on left then counting upwards each slot to the right)
|