So, Abyssal Cry is really strong this patch with all the chaos dmg.
My question is, is there a way to make it work like Enduring Cry?
Thank you for your time,
vipZ
private int _enduringCrySlot = -1;
private int _abyssalCrySlot = -1;
_enduringCrySlot = -1;
_abyssalCrySlot = -1;
var ec = LokiPoe.InGameState.SkillBarPanel.Skills.FirstOrDefault(s => s.Name == "Enduring Cry");
if (IsCastableHelper(ec))
{
_enduringCrySlot = ec.Slot;
}
var ac = LokiPoe.InGameState.SkillBarPanel.Skills.FirstOrDefault(s => s.Name == "Abyssal Cry");
if (IsCastableHelper(ac))
{
_abyssalCrySlot = ac.Slot;
}
// Since EC has a cooldown, we can just cast it when mobs are in range to keep our endurance charges refreshed.
if (_abyssalCrySlot != -1)
{
// See if we can use the skill.
var skill = LokiPoe.InGameState.SkillBarPanel.Slot(_abyssalCrySlot);
if (skill.CanUse())
{
if (EnduranceChargesTimeLeft.TotalSeconds < 5 && Utility.NumberOfMobsNear(LokiPoe.Me, 30) > 0)
{
var err1 = LokiPoe.InGameState.SkillBarPanel.Use(_abyssalCrySlot, true);
if (err1 == LokiPoe.InGameState.UseError.None)
{
await Coroutine.Sleep(Utility.LatencySafeValue(500));
await Coroutines.FinishCurrentAction(false);
return true;
}
Log.ErrorFormat("[Logic] Use returned {0} for {1}.", err1, skill.Name);
}
}