void AutoPotions() { if (GravesTheTrollMeNu.SpellsPotionsCheck() && !Player.IsInShopRange() && Player.HealthPercent <= GravesTheTrollMeNu.SpellsPotionsHp() && !(Player.HasBuff("RegenerationPotion") || Player.HasBuff("ItemCrystalFlaskJungle") || Player.HasBuff("ItemMiniRegenPotion") || Player.HasBuff("ItemCrystalFlask") || Player.HasBuff("ItemDarkCrystalFlask"))) { if (Activator.HuntersPot.IsReady() && Activator.HuntersPot.IsOwned()) { Activator.HuntersPot.Cast(); } if (Activator.CorruptPot.IsReady() && Activator.CorruptPot.IsOwned()) { Activator.CorruptPot.Cast(); } if (Activator.Biscuit.IsReady() && Activator.Biscuit.IsOwned()) { Activator.Biscuit.Cast(); } if (Activator.HpPot.IsReady() && Activator.HpPot.IsOwned()) { Activator.HpPot.Cast(); } if (Activator.RefillPot.IsReady() && Activator.RefillPot.IsOwned()) { Activator.RefillPot.Cast(); } } if (GravesTheTrollMeNu.SpellsPotionsCheck() && !Player.IsInShopRange() && Player.ManaPercent <= GravesTheTrollMeNu.SpellsPotionsM() && !(Player.HasBuff("RegenerationPotion") || Player.HasBuff("ItemCrystalFlaskJungle") || Player.HasBuff("ItemMiniRegenPotion") || Player.HasBuff("ItemCrystalFlask") || Player.HasBuff("ItemDarkCrystalFlask"))) { if (Activator.CorruptPot.IsReady() && Activator.CorruptPot.IsOwned()) { Activator.CorruptPot.Cast(); } } }