public static bool emergencyMedpac() { if (Targeting.HealTarget.BuffTimeLeft("Slow-release Medpac") > 6) { return(false); } if (Targeting.HealTarget.BuffCount("Slow-release Medpac") < 2) { return(false); } if (Me.BuffCount("Upper Hand") < 2) { return(false); } return(true); }