Skip to content
View in the app

A better way to browse. Learn more.

WRobot

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Fightclass help [Targeting Bodyguard]

Featured Replies

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!

  • 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.

  • 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!
  • 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!

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.

  • 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!

  • 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

  • 1 month later...

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.