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.

UnitDebuff/UnitBuff for TBC 2.4.3

Featured Replies

11 hours ago, chickengod said:

Is it possible to set a caster check in these functions? UnitDebuff("target","spellname",nil,"player") dont work in TBC.

What do you mean by "caster check" exactly?

  • Author

I want the function to determine whether my debaf is on the target and cast it even if there is such a debaf on the target but from another player.

  • Author
1 hour ago, Matenia said:

unitCaster doesn't exist in TBC and owner doesn't work either

In TBC, if there's a timer it's yours.

Please show an example of a simple check for the presence of a timer for debuff/buff.

  • Author
5 hours ago, Matenia said:

for i=1,40 do
  local name, rank, iconTexture, count, debuffType, duration, timeLeft = UnitDebuff("target", i); 
  if name == "Frostbolt" and duration ~=nil then
    -- is mine
  end
end

 

Thank you, this argument works fine.

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.