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.

Lua programming

  1. Started by Bugreporter,

    It works fine in wrotation, but not in grinder, because the mobs mostly doesn't stand still in the trap (i.e. Talbuks) You need the barn in your Garrison It's optional and off by default You need to add the ID of the mobs you want to catch to the Variable KillBeast. (wowhead.com and the Development tools/Target Info will help) This code enable the Iron Trap in your Fightclass. Happy farming <FightClassSpell> <SpellName>--Iron Trap</SpellName> <FightClassConditions> <FightClassCondition> <ContionType>LuaScript</ContionType> <Param xsi:type="FightClassConditionLua"> …

    • 4 replies
    • 3.1k views
  2. Started by dida1990,

    I want to check if an item is in my bag (in this case Soul Chard) and let the variable "ret" be setted to "true". This is the code I come up with: local itemID = 6265 ret = false for i = 0, NUM_BAG_SLOTS do for z = 1, GetContainerNumSlots(i) do if GetContainerItemID(i, z) == itemID then ret = true break end end end In the development tool it returns "true" if i got the item in back and false if I don't (like it should). But when I insert it as a LUA-condition into the fight class it always return false and will not use my spell How do I have to change my code?

  3. Hello how can i make a spell run after Party1 say "TEXT01" in party chat this action run spell Thanks

  4. Started by Ohren,

    Working on the new Destruction Warlock fight class, I only wanted Conflagrate to fire if you had 2 charges saved up. Which got me doing some research, after about 15 minutes of finding work arounds, I found a much more simple way. currentCharges, maxCharges, cooldownStart, cooldownDuration = GetSpellCharges(spellId or "Conflagrate") Works perfect, currently haven't ran into any other times I'd want to use this, but it will definitely come in handy again.

    • 2 replies
    • 2.5k views
  5. Started by HARAMMAN,

    Hello, I'm having issues with the Conjured Mana Strudel being spammed when the bot needs to drink, so I thought of a workaround in Lua, but unfortunately I'm very unfamiliar with Lua to put it into effect myself. My request here is that someone could write a short Lua code for 1) Use Conjured Mana Strudel 2) Sleep until a % of Mana is reached 3) Interrupt sleep if attacked This should be relatively simple(?). Thanks in advance. :)

  6. Started by Ohren,

    Sometimes buff checks don't work (Crimson Scourge for Blood DKs and Dream of Cenarious for Druids). Here is a workaround that fixes that.. Instead of using a buff condition, use LUA script. name, rank, icon, count, debuffType, duration, expirationTime, unitCaster, isStealable, shouldConsolidate, spellId= UnitAura("player", "BUFF_NAME");retV = count; Return value var needs to be retV and return value research needs to be 1. Simple as that.

  7. Since Droidz did such a fabulous job in helping me put together a healing profile that would heal my bodyguard (/focus), I was wondering if anyone knew a way to select from a list of "possible" targets and set the one it found to the focus? Here is what I am striving for: if exists (Aeda Brightdawn, Defender Illona, Delvar Ironfist, Leorajh, Talonpriest Ishaal, Tormmok, Vivianne) Set Focus then /targetlasttarget As I do not know programming, I thought I would post my thought here and see if anyone knows a way to do this? Thanks!

    • 2 replies
    • 2.3k views
  8. Started by Bear T.O.E.,

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

    • 2 replies
    • 2.6k views
  9. Started by Bear T.O.E.,

    Ok I just through this together Im not sure if it will work can someone look at this code and tell if there is something wrong with it. I need it to check for Fire Elemental totem and Not cast if this totem is up. Im not sure how to do that. Then I can edit it to do the same thing for Magma totem. I also need this one to recast after it have run for almost a minute, say at 10 second left on the timer. if (GetUnitSpeed("player") == 0) and not (UnitCastingInfo("player")) and not (UnitChannelInfo("player")) and not (UnitAffectingCombat("player")) and not (IsMounted()) and not (IsFlying()) and not (IsFalling()) and not (IsResting()) and not (UnitIsAFK("pl…

    • 2 replies
    • 2.5k views
  10. Started by Bear T.O.E.,

    Ok check this out... I haven't tested it but I think shit will cause Inquisition to fire if its buff is ( Not there = 0 ) and or at full power 5 stacks. name, rank, icon, count, debuffType, duration, expirationTime, unitCaster, spellId = UnitBuff("player","SPELL_POWER_HOLY_POWER = 5"); GetTime(Inquisition = "0, 30"); if (Inquisition <= 30) then retV = "1";else retV = "0";end If not please fix and tell me why this wont work. Also if the small code doesn't work then what about this one. if (GetUnitSpeed("player") == 0) and not (UnitCastingInfo("player")) and not (UnitChannelInfo("player")) and not (UnitAffectingCombat("player")) and not (IsMounted()) an…

    • 0 replies
    • 1.8k views
  11. I am wondering how to make any fightclass into C Code Scripting so I can Program them a lot easier. And is there a way to Make C code Fightclasses into LUA Scripting?

  12. Remember Im a novice at LUA. So please give me a detailed explanation so I can learn more. See Im still not sure how to through code together. So im finding other code and editing it to see if I can make it work for what im wanting to do. This is going to be a Disease Manager for DKs. Once the Disease get to 3 sec left of its target debuff then the DK will recast the move according to the disease to reapply it. if not (UnitIsDead("target")) and not (IsFlying("player")) and not (IsResting("player")) and not (UnitIsAFK("player")) then --[[ refresh the Diseases on the target if there are less then 3 sec left (to be sure that it dont run out while a fight ]] lo…

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.