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.

Monk's brews

Featured Replies

So I have an issue, which I might resolve before anyone else comes up with an answer... but here goes..

 

Working on my Windwalker profile, and I am adding in Tigereye Brew into the rotation. Problem is, the buff that keeps track of stacks of it is called Tigereye Brew, and the buff itself that gives the damage increase is also Tigereye Brew. I need LUA to find a way to differentiate these.

Hello,
 
I have found this id:
116740;Tigereye Brew
125195;Tigereye Brew
125196;+1 Tigereye Brew
123980;Brewing: Tigereye Brew
137591;Tigereye Brew!

Try this:

In FightClass "General Settings", "Additional C# code" add:

    public int TigereyeBrewStackCount()
    {
        // 116740;Tigereye Brew
        // 125195;Tigereye Brew
        // 125196;+1 Tigereye Brew
        // 137591;Tigereye Brew!
        int buffStack = 0;
        buffStack = buffStack + ObjectManager.Me.BuffStack(116740);
        buffStack = buffStack + ObjectManager.Me.BuffStack(125195);
        buffStack = buffStack + ObjectManager.Me.BuffStack(125196);
        buffStack = buffStack + ObjectManager.Me.BuffStack(137591);

        return buffStack;
    }

To use it, add in the spell condition type "C Sharp Code", > in "Value" put code:

TigereyeBrewStackCount() >= 10

(replace 10 by number of stack required)

 

ps: I ignore if this code works but it is good way to calculate stack of several spells.

ps 2: You can replace "ObjectManager.Me.BuffStack" by "ObjectManager.Target.BuffStack" to get target stack.

  • Author

One quick question, when returning a Boolean, would it be TigereyeBuffCheck() = false or does it return bool values as a 0/1 format?

 

I guess I just need an example of how to make it work with Me.HaveBuff. Since I need it to check for spell ID of 116740.

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.