Esempio n. 1
0
        void OnUpdate(EventArgs args)
        {
            if (DelayHandler.CheckOnLevel())
            {
                DelayHandler.UseOnLevel();

                if (_lastLevel != Loader.Player.Level && Enabled)
                {
                    _lastLevel = Loader.Player.Level;
                    LevelUpSpells();
                }
            }
        }
Esempio n. 2
0
        void OnUpdate(EventArgs args)
        {
            if (DelayHandler.CheckOnLevel())
            {
                if (!Globals.Objects.GeassLibMenu.Item(Menus.Names.LevelItemBase + "Boolean.AutoLevelUp").GetValue <bool>())
                {
                    return;
                }
                DelayHandler.UseOnLevel();

                if (_lastLevel != Globals.Objects.Player.Level)
                {
                    _lastLevel = Globals.Objects.Player.Level;
                    LevelUpSpells();
                }
            }
        }