Пример #1
0
        private void OnUpdate(EventArgs args)
        {
            if (Target == null ||
                !CheckGuardians() ||
                (Menu.Item("Mana").GetValue <Slider>().Value > ObjectManager.Player.ManaPercent) ||
                SpellInfo.SpellBuffCount("pyromania") >= 3)
            {
                return;
            }

            spell.Spell.Cast();
        }