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.

InCombatWithMe

  • Product: WRobot General
  • Type: Bug
  • Status: Unconfirmed

Hi!

It seems this boolean doesn't return true if the enemy is attacking me but isn't targeting me (using aoe ability for example), or when the enemy is in combat with other npc/player but targeting me. In short: it returns true when enemy is in any kind of combat and targeting me, this is not entirely correct conditions for "is in combat with me".
 

 

User Feedback

Recommended Comments

Matenia

Elite user

That's correct behavior. It only checks if you're being targeted by the unit and have combat state AND if you're not ignoring combat in settings.
If you want to know whether a unit has threat towards you, use the threat API (only works in Wotlk+)

Pudge

WRobot user
4 hours ago, Matenia said:

That's correct behavior. It only checks if you're being targeted by the unit and have combat state AND if you're not ignoring combat in settings.
If you want to know whether a unit has threat towards you, use the threat API (only works in Wotlk+)

Good. But what if I want to check that the enemy player is hitting me, but is not targeting me? Only using lua events? It's a headache ...

Matenia

Elite user

There is no other way. If you are on their threat, you are in combat. Otherwise literally there is NO WAY. It's not in the game.

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.