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.

This more of a question/suggestion

  • Product: WRobot General
  • Type: Suggestion
  • Status: Fixed

So ok if im thinking right then

setfocus = ("Target", "Party member") if focus = ("Party Member") then settarget = ("Party Member", "Target")

if Partymembertarget = ("Target") then ("/cast Taunt") end end end

if the possible?

User Feedback

Recommended Comments

Hello,
 
Try it:

 for i=1, 4 do
	local partyId = "party"..i
	local name, realm = UnitName(partyId)
        local spellName = GetSpellInfo(53477)
	if (name) then
		TargetUnit(partyId);
		CastSpellByName(spellName, partyId)
	end
end

Bear T.O.E.

Members

Ok so would it look like this???

 

    setfocus = ("Target", "Party member") if focus = ("Party Member") then settarget = ("Party Member", "Target")
if Partymembertarget = ("Target") then ("/cast Taunt") for i=1, 4 do
    local partyId = "party"..i
    local name, realm = UnitName("unit")
        local spellName = GetSpellInfo(53477)
    if (name) then
        TargetUnit(partyId);
        CastSpellByName(spellName, partyId)
    end
end

Your code is not good, does not exist in wow api. My code don't works?

local spellName = GetSpellInfo(53477)
for i=1, 4 do
	local partyId = "party"..i
	if (UnitExists(partyId)) then
		TargetUnit(partyId)
		CastSpellByName(spellName, partyId)
	end
end

You can add condition at this line: if (UnitExists(partyId)) then

By sample, if (UnitExists(partyId) and UnitHealth(partyId) < 500 and UnitInRange(partyId) and not UnitIsDead(partyId)) then ...

Bear T.O.E.

Members

Yeah Im working on learning this stuff Im just failing at it lol..... Nice code and ty ill test it out, im lvling a priest. And this would work with a taunt or a AOE heal?

creativextent

Elite user

keep it up, you will get it :)

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.