Hi i'm actually an elementalist with 2 golems but the bot summon only 1 atm. Anyone knows how to do for summon 2 golems? THANKS
the golem section is right at the top of the routine, the routine already takes all slots for different golems into variables, you just need to rework the logic so it doens't just cast one first golem, but finds at least 2 and casts them
i change it ''// Auto-set, you do not have to change these. private int _sgSlot; private int _summonChaosGolemSlot = -1; private int _summonIceGolemSlot = -1; private int _summonFlameGolemSlot = +1; private int _summonStoneGolemSlot = +1; private int _summonLightningGolemSlot = -1;'' and the bot didnt summon the 2 golems =(
Find this section in oldroutine.cs and replace it with below, // If we have a Summon Golem skill, we can cast it if we havn't cast it recently. if (_sgSlot != -1 && _summonGolemStopwatch.ElapsedMilliseconds > 10000) { // See if we can use the skill. var skill = LokiPoe.InGameState.SkillBarHud.Slot(_sgSlot); if (skill.CanUse()) { var max = skill.GetStat(StatTypeGGG.NumberOfGolemsAllowed); if (skill.NumberDeployed < 1) { await DisableAlwaysHiglight(); await Coroutines.FinishCurrentAction(); var err1 = LokiPoe.InGameState.SkillBarHud.UseAt(_sgSlot, true, myPos); if (err1 == LokiPoe.InGameState.UseResult.None) { _summonGolemStopwatch.Restart(); await Coroutines.FinishCurrentAction(false); return true; } Log.ErrorFormat("[Logic] UseAt returned {0} for {1}.", err1, skill.Name); } } } if (_summonIceGolemSlot != -1 && _summonGolemStopwatch.ElapsedMilliseconds > 10000) { // See if we can use the skill. var skill = LokiPoe.InGameState.SkillBarHud.Slot(_summonIceGolemSlot); if (skill.CanUse()) { var max = skill.GetStat(StatTypeGGG.NumberOfGolemsAllowed); if (skill.NumberDeployed < 1) { await DisableAlwaysHiglight(); await Coroutines.FinishCurrentAction(); var err1 = LokiPoe.InGameState.SkillBarHud.UseAt(_summonIceGolemSlot, true, myPos); if (err1 == LokiPoe.InGameState.UseResult.None) { _summonGolemStopwatch.Restart(); await Coroutines.FinishCurrentAction(false); return true; } Log.ErrorFormat("[Logic] UseAt returned {0} for {1}.", err1, skill.Name); } } }
and there is some format issues fix them so ,also change your 2. golem name accourdingly,i was using ice so i changed _summonIceGolemSlot