private static void Game_OnGameUpdate(EventArgs args) { Buffmanager.ROn = Buffmanager.RIsOn(); BuffInstance[] buffs = ObjectManager.Player.Buffs; BuffInstance[] array = buffs; for (int i = 0; i < array.Length; i++) { BuffInstance buffInstance = array[i]; if (buffInstance.Name == "RivenTriCleave") { Buffmanager.qStacks = buffInstance.Count; } if (buffInstance.Name == "rivenpassiveaaboost") { Buffmanager.aaStacks = buffInstance.Count; } if (buffInstance.Name == "rivenwindslashready") { Buffmanager.windSlashReady = true; } } if (!Buffmanager.hasQStacks()) { Buffmanager.qStacks = 0; } if (!Buffmanager.hasWindSlash()) { Buffmanager.windSlashReady = false; } }