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.

Check if Player is rooted (like 'Me Is Stunned')

Featured Replies

Hey

 

when creating a FightClass there is the option to use a spell when "Me Is Stunned", but as it says it only checks for stuns.

Anyone knows if it is possible to check if a player is rooted (frost nova, entangling roots, etc.)?

http://www.wowwiki.com/API_HasFullControl'>API_HasFullControl works for fear, i can use that to use Berserker Rage to get out of it.

If someone has a solution for roots, would be greatly appreciated :).

 

my profiles work really good with the bot, but i am still trying to improve

Hello,

 

Sample:

 

Detect if you are stunned with this spell http://www.wowhead.com/spell=853 :

Add new spell named: Every Man for Himself

Add Condition: Buff

Name: Hammer of Justice

Need: True

 

Detect if you are stunned:

Add new spell named: Every Man for Himself

Add Condition: Me Is Stunned

Value: True

 

Detect if you are fear with lua:

Add new spell named: Every Man for Himself

Add Condition: Lua script

Lua script: ret = "no"; if HasFullControl() then ret = "yes" end

Return value research: yes

Return value var: ret

  • Author

Yea I am already using that for Fears. So I Guess I will have to add buff (debuffs) manually for Frost Nova and some other Root effects to trigger something like Freedom or Intervene(safeguard) that removes roots.

Thanks for the quick response!

  • 7 years later...

I did this by memory while i am at work for someone in a discord chat i am part or, hope this helps.

 

function Stun(SpellName, ItemName)
    if HasFullControl == nil then 
        if IsUsableSpell(SpellName) or  GetItemCooldown(ItemName) == 1
        then CastSpellByName(spellname);
        end
    else
        if IsUsableSpell(SpellName) == nil or  GetItemCooldown(ItemName) == 0 then 
            UseItemByName(ItemName)
    end 
    end
end

 

Edited by Smokie

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.