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.

if any/count of mobs attacking me/pet

Featured Replies

I can't figure out  how to edit eeny's hunter fight class for a condition of mob count attacking me or my pet. Let's say i'm trying to make it so the bot would cast multishot if 2 or more mobs attack my pet, also stop bot from casting mend pet if hunter itself is being attacked. (use rapid fire or bestial wrath i guess would work same as multishot too i guess, don't wanna waste cd on 1 mob). Any ideas?

ObjectManager.GetWoWUnitAttackables().Where(x => x.Target == ObjectManager.Me.GetBaseAddress || x.Target == ObjectManager.Pet.GetBaseAddress).Count() >= 2

You could add something like that into your condition ( || means or, if you only care about enemies targetting your pet take the other side out).

  • Author

No errors now. However it doesn't want to use multi-shot. If i change >= 2 to <=2 it works (obviously on single targets too... ? )

 

 

Edit: ok i used       ObjectManager.GetWoWUnitHostile().Count(x => x.Position.DistanceTo(ObjectManager.Pet.Position) <= 7 && x.IsAttackable) >= 2   found in forum something similar and it works.

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.