Purplesmurf
New Member
- Joined
- Jun 2, 2016
- Messages
- 6
Code:
using System.Threading.Tasks;
namespace UltimaCR.Rotations
{
public sealed partial class Archer
{
public override async Task<bool> CombatBuff()
{
if (await Ultima.SummonChocobo()) return true;
if (await Invigorate()) return true;
if (await RagingStrikes()) return true;
if (await InternalRelease()) return true;
if (await BloodForBlood()) return true;
if (await HawksEye()) return true;
if (await Barrage()) return true;
if (await BluntArrow()) return true;
if (await MiserysEnd()) return true;
return await Bloodletter();
if (Core.Player.CurrentHealthPercent < 50)
{
foreach(ff14bot.Managers.BagSlot slot in ff14bot.Managers.InventoryManager.FilledSlots)
{
if(slot.RawItemId == 4554) //X-Potion
{
slot.UseItem();
return true;
}
if(slot.RawItemId == 4553) //Mega-Potion
{
slot.UseItem();
return true;
}
if(slot.RawItemId == 4552) //Hi-Potion
{
slot.UseItem();
return true;
}
if(slot.RawItemId == 4551) //Potion
{
slot.UseItem();
return true;
}
}
}
Saw a post in this thread with some code about how to auto healthpot and the user posted the code but I wasnt exactly sure how to add it to the exisiting. Does this look right? Thanks

Last edited: