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.

Buff recognition

Featured Replies

Having some trouble on my Demon Hunter with the buff Momentum. I cant get the bot to recognize it.

Any tips on what to c sharp or something to get around this?

 

Have tried Buff, Buff cast by me and writing in c sharp "wManager.Wow.ObjectManager.ObjectManager.Me.HaveBuff (206476)"

 

  • Author

Momentum: ID=208628, Stack=0, TimeLeft=3054 ms, Owner=0000000008D1C8B40814540000000000, Flag=None, CasterLevel=110, Mask=117440512
 

 

This is what it says.. the buff ID is diffrent then when i do this without the buff active

 

EDIT: Thanks so much for your answer man!! That fixed it

  • Author

I have another question maybe you could help with.

I have thise c sharp code for detecting buffs on myself : wManager.Wow.ObjectManager.ObjectManager.Me.HaveBuff (206476)

How would that string look if i want to detect an enemy debuff?

29 minutes ago, Retardo101 said:

I have another question maybe you could help with.

I have thise c sharp code for detecting buffs on myself : wManager.Wow.ObjectManager.ObjectManager.Me.HaveBuff (206476)

How would that string look if i want to detect an enemy debuff?

Are you talking about your current target?

ObjectManager.Me.TargetObject.HaveBuff(1234);

or targets around you?

ObjectManager.GetObjectWoWUnit().Any(u => u.HaveBuff(1234));

 

Edited by iMod

  • Author

Hey thanks for the great tips!

But things could be a little more fun if, haha!

If i wanted the "ObjectManager.Me.TargetObject.HaveBuff(1234);" to be false.. what would i do? :D


 
  • Author

so the ! makes it false?

Its for stuff like Shadow Word: Pain. I want it to cast it if the string is false.

 

Edit: Im sorry i dont understand what you mean but am very greatfull for any help and will try until i make it happen :D

! negates the actually state of the boolean.

bool variable = true;

"!variable" = false
"variable == !variable" will set allways the opposit of the current state.

MSDN Sample:

class MainClass4
{
    static void Main()
    {
        Console.WriteLine(!true);
        Console.WriteLine(!false);
    }
}
/*
Output:
False
True
*/


I highly recommend to read some C# basics and you will see it makes a lot more fun to work with.

Edited by iMod

  • Author

"I highly recommend to read some C# basics and you will see it makes a lot more fun to work with."

 

This is what i will have to do ;D thanks again guys

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.