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.

BrewMaster Statue Help......

Featured Replies

Ok so I'm trying to figure out how to do this in a LUA Script.

 

/cast Summon Black Ox Statue

/tar Summon Black Ox Statue

/cast Provoke

/targetlasttarget

 

This macro is what Im trying to do with LUA Scripting. And I have no idea how to start this off cause of the Targeting stuff..... HELP!!!!

Hello,

 

You can use http://www.wowwiki.com/API_RunMacroText:

RunMacroText("/cast Summon Black Ox Statue")
RunMacroText("/tar Summon Black Ox Statue")
RunMacroText("/cast Provoke")
RunMacroText("/targetlasttarget")

Or use full lua code:

 CastSpellByName("Summon Black Ox Statue")
 RunMacroText("/tar Summon Black Ox Statue")
 CastSpellByName("Provoke")
 TargetLastTarget()

ps: I think you need to use RunMacroText("/tar Black Ox Statue") not RunMacroText("/tar Summon Black Ox Statue")

  • Author

Right now I am running this code in my Fight Class. But Im looking to reduce the amount of actual stings the fight class is to execute so that the fight class will react faster to maximize the rotation and DPS. I have found that to many items in the fight classes move list will slow down the characters reaction time on health based or other power based moves that need to be cast out side the rotation. So reducing the number of strings in the list is more effective to the total DPS of healing done. That is how I have been making my good and okay fight classes that I have released. Hence why Im wanting to make a LUA Script to have this done in one more on the fight classes list of moves to fire.

    <FightClassSpell>
      <SpellName>Summon Black OX Statue</SpellName>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>IsSpellUsable</ContionType>
          <Param xsi:type="FightClassConditionStringBool">
            <Name>Summon Black OX Statue</Name>
            <Need>true</Need>
          </Param>
        </FightClassCondition>
        <FightClassCondition>
          <ContionType>TargetDistance</ContionType>
          <Param xsi:type="FightClassConditionNumber">
            <Type>SmallerOrEqual</Type>
            <Value>40</Value>
          </Param>
        </FightClassCondition>
        <FightClassCondition>
          <ContionType>HaveTarget</ContionType>
          <Param xsi:type="FightClassConditionBool">
            <Value>true</Value>
          </Param>
        </FightClassCondition>
        <FightClassCondition>
          <ContionType>HostileUnitNear</ContionType>
          <Param xsi:type="FightClassConditionUnitNear">
            <Number>1</Number>
            <Type>SmallerOrEqual</Type>
            <Radius>8</Radius>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <Priority>34</Priority>
      <Timer>30000</Timer>
      <AOESpell>true</AOESpell>
    </FightClassSpell>
    <FightClassSpell>
      <SpellName>RunMacroText("/tar Black Ox Statue")</SpellName>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>HostileUnitNear</ContionType>
          <Param xsi:type="FightClassConditionUnitNear">
            <Number>1</Number>
            <Type>SmallerOrEqual</Type>
            <Radius>8</Radius>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <Priority>33</Priority>
      <Timer>30000</Timer>
    </FightClassSpell>
    <FightClassSpell>
      <SpellName>Provoke</SpellName>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>TargetDistance</ContionType>
          <Param xsi:type="FightClassConditionNumber">
            <Type>SmallerOrEqual</Type>
            <Value>40</Value>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <Priority>32</Priority>
      <Timer>30000</Timer>
    </FightClassSpell>
    <FightClassSpell>
      <SpellName>RunMacroText("/targetlasttarget")</SpellName>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>HaveTarget</ContionType>
          <Param xsi:type="FightClassConditionBool">
            <Value>true</Value>
          </Param>
        </FightClassCondition>
        <FightClassCondition>
          <ContionType>TargetDistance</ContionType>
          <Param xsi:type="FightClassConditionNumber">
            <Type>SmallerOrEqual</Type>
            <Value>40</Value>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <Priority>31</Priority>
      <Timer>30000</Timer>
    </FightClassSpell>

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.