March 12, 201511 yr I am looking for a little help. I have a Holy priest and use a bodyguard (follower) for grinding. I would like to setup a fightclass that allows me to target and heal my bodyguard so it doesn't die on the elite mobs in Negrand. Has anyone accomplished this yet? Thanks for any suggestions!
March 15, 201511 yr Author I have, but is does not seem to make a difference. I'll keep working on it. For now, I just have a couple macros to toss a heal every so many seconds.
March 15, 201511 yr Author Thanks. I am not that good at lua yet, but I'll try that option. :-) Currently I have this running: ***************************** <FightClassSpell> <SpellName>RunMacroText("/Use [@focus,exists,nodead][]Renew")</SpellName> <FightClassConditions> <FightClassCondition> <ContionType>MeInCombat</ContionType> <Param xsi:type="FightClassConditionBool"> <Value>true</Value> </Param> </FightClassCondition> </FightClassConditions> <Priority>30</Priority> <Timer>16000</Timer> <NotSpellIsLuaScript>true</NotSpellIsLuaScript> <CanMoveDuringCast>Yes</CanMoveDuringCast> </FightClassSpell> ***************************** With the same kind of macro going for Prayer of Mending and Power Word: Shield. PS - I am loving the bot and have most of my fight classes and grinding profiles set. I really appreciate the great tool and all the information in here to get it all set. You guys are awesome!
March 16, 201511 yr Author Ok, trying to do this through the lua (me=newbie in writing lua) ... *********************************** <FightClassSpell> <SpellName>-- Focus Binding Heal</SpellName> <FightClassConditions> <FightClassCondition> <ContionType>LuaScript</ContionType> <Param xsi:type="FightClassConditionLua"> <LuaScript>if (UnitHealth("Focus") / UnitHealthMax("Focus") * 100).."%" < .90 then CastSpellByName("Binding Heal"[, "Focus"]) end</LuaScript> <VarRet>retV</VarRet> <ValueRet>0</ValueRet> </Param> </FightClassCondition> </FightClassConditions> <Priority>31</Priority> <CombatOnly>false</CombatOnly> <NotSpellIsLuaScript>true</NotSpellIsLuaScript> <TargetFriends>true</TargetFriends> </FightClassSpell> ********************************************** Any help on what I am missing? I am trying to cast binding heal on my bodyguard (after he is set to focus) when he drops below 90% health. Thanks for any assistance!
March 16, 201511 yr To cast spell on your bodyguard when health is smaller than 90%: - In spell list (where you add spell name) add this code: RunMacroText("/target Delvar Ironfist") CastSpellByName("Flash of Light" , "TARGET") (replace Delvar Ironfist by your bodyguard name and Flash of Light by your spell name) - In "Spell settings" put "True" at "Not spell, is lua script". - Add condition "Pet Health Percent", "Type" = "Smaller", "Value" = "90". ps: If your character wow class has pet, you can get problem with condition "Pet Health Percent" (false result), replace this condition by lua condition.
March 17, 201511 yr Author Thank you for deciphering my sleepless rambling! As I look back at what I wrote, there are all kinds of issues with what I was putting in. I'll try it tonight and let you know how it turns out. :-) Thanks!
March 17, 201511 yr Author :) :) :) :) :) :) :) Thank you! Thank you! Thank you! This worked great. I modified it to put "Focus" instead of the follower's name. that way I can use any of them and just set them to "focus". Droidz, you are a rockstar!!!! I attached my current working fight class (Holy Priest) Dan Heal Focus.xml
Create an account or sign in to comment