I have been trying to teach myself how to write my own macros. It is working fine so far but just with the most basic commands. The one I am currently working on is for a shaman. Since I am new at writing these I am not using anything that requires plugins because I don't quite understand how to write them in yet.
to make him slow I had him, after assisting the tank
[ code ]
/if (${Target.PctHPs}<98 && ${Target.PctHPs}>75) /goto :slow
because thats the only way I could figure it out to not chain cast slows during the entire fight. Problem is I want him to also panther me. Panther lasts 1.5mins iirc so I dont want him chain casting that every 10 seconds either. But if I put a /delay 900 after casting it, my guess is the macro itself would be on hold for that 90 seconds In which case I may die from lack of heals. So my first question is, how do you have him just put a timer on a certain spell to where he wont cast it again until it either wears off or for a set amount of time. The posts I see that have these in them are using spellroutines, which is cool, but like I said, I don't quite have a grasp on how to write one from scratch using plugins.
My second issue is sort of tied in with the first. I can set it up to cast me a pet. But, again he will keep doing that if there is nothing else with a higher priority that needs done. So that's no good. I'm not sure if it's possible to cast a pet only once and have some kind of a check to only cast it again if it dies. And also to have it attack the target of the tank if the mobs HP< 95%
Any help is appreciated. Hopefully I can get better at this and can maybe help other people along too.
to make him slow I had him, after assisting the tank
[ code ]
/if (${Target.PctHPs}<98 && ${Target.PctHPs}>75) /goto :slow
because thats the only way I could figure it out to not chain cast slows during the entire fight. Problem is I want him to also panther me. Panther lasts 1.5mins iirc so I dont want him chain casting that every 10 seconds either. But if I put a /delay 900 after casting it, my guess is the macro itself would be on hold for that 90 seconds In which case I may die from lack of heals. So my first question is, how do you have him just put a timer on a certain spell to where he wont cast it again until it either wears off or for a set amount of time. The posts I see that have these in them are using spellroutines, which is cool, but like I said, I don't quite have a grasp on how to write one from scratch using plugins.
My second issue is sort of tied in with the first. I can set it up to cast me a pet. But, again he will keep doing that if there is nothing else with a higher priority that needs done. So that's no good. I'm not sure if it's possible to cast a pet only once and have some kind of a check to only cast it again if it dies. And also to have it attack the target of the tank if the mobs HP< 95%
Any help is appreciated. Hopefully I can get better at this and can maybe help other people along too.