Noticed new release lacked golem code. Made use of yours and implemented it into oldroutine. Thanks =)
can you provide help what is needed to cast golems?
which part of your combat routine has to be inserted? and how?
i don't use totems and therefore i don't need the whole totem routine... thats why i ask.
// Simply cast Summon Golem if we have it
if (_golemSlot != -1)
{
// See if we can use the skill.
var skill = LokiPoe.InGameState.SkillBarPanel.Slot(_golemSlot);
if (skill.CanUse() && skill.NumberDeployed < 1)
{
var err1 = LokiPoe.InGameState.SkillBarPanel.Use(_golemSlot, true);
if (err1 == LokiPoe.InGameState.UseError.None)
{
await Coroutine.Sleep(Utility.LatencySafeValue(500));
await Coroutines.FinishCurrentAction(false);
await Coroutine.Sleep(Utility.LatencySafeValue(100));
return true;
}
Log.ErrorFormat("[Logic] Use returned {0} for {1}.", err1, skill.Name);