AkaCore.Features.Activator.Pots.RefillPot.OnExecute C# (CSharp) Method

OnExecute() public method

public OnExecute ( ) : void
return void
        public void OnExecute()
        {
            if (!ObjectManager.Player.IsInShopRange() && !(Player.HasBuff("ItemCrystalFlask")) && ObjectManager.Player.HealthPercent <= AkaCore.Manager.MenuManager.RefillPotHp)
            {
                AkaLib.Item.RefillPot.Cast();
            }
        }