What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal
RebornBuddy Forums

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Elementalist - bot dont summone 2 golems (help pls)

Skuz76

Member
Joined
Dec 28, 2015
Messages
70
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 =(
 
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 =(

lel, almost had an heart attack
 
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:D ,also change your 2. golem name accourdingly,i was using ice so i changed _summonIceGolemSlot
 
add a cast on Hit . thats what i did :) just means sometimes you get 2 of the same golem
 
Back
Top