DarkScorpion
Member
- Joined
- Oct 21, 2015
- Messages
- 48
- Reaction score
- 21
The bot works great for the most part but I'm having an issue where my guy isn't casting more than 4 skeletal mages (i'm using singularity) so I'm missing out on some of the damage you'd get for having more mages out. Typically when I play manually, I spam my generator so that that I can cast a mage (I have the ring that gives you 2 per cast and running the extended servitude passive) when I have almost full essence since the dmg scales based on how much essence you have (I have 308). When I do this, I can usually get about 6-8 mages out before they start dying and since each mage hits really hard, the fact that the bot is only casting 4 and then sitting with a good amount of essence is a bit of a problem.
I took a look at the .cs file with an editor, but I'm not sure which values I'd be changing. I'm guessing it would be something to do with the line, but I'm not sure exactly.
public override int PrimaryEnergyReserve => 60;
To clarify, I'm looking to tell the bot to keep casting mages as long as it's using at least 75% of its essence for each one. Thanks.
#27 I already reply that kind of question
Code:
if(LastSkeletonCommandTargetAcdId <8)//counting SkelletonMage
{
if (TrySecondaryPower(out power))
return power;
}
else
{
if (TrySecondaryPower(out power) && Player.PrimaryResourcePct > 0.8f) // if mage>8, try to summon hugeboss mage
return power;
}
reduce the "<8" to <4, then you will get mage casting only if u have 80% ess,except first 4.