koolo icon indicating copy to clipboard operation
koolo copied to clipboard

Update mephisto.go

Open TDLofCC opened this issue 1 year ago • 3 comments

Made Mephisto run a bit safer, especially nice for early game runs, instead of directly attacking bot moves to attack position, waits for Mephisto to move then moves to a safer attackposition and starts attacking him.

Doesn't always work, Mephisto movement seems to be random, but in test runs it really helped with getting the chicken count down.

After killing Mephisto bot goes through red portal to A4 for faster next game town movement.

TDLofCC avatar Jul 24 '24 14:07 TDLofCC

I tried this 10 times on nightmare using a blizz sorc (bad gear so slow killtime).

Somehow the bot exits the area via the red portal before Meph dies, which I didnt even know was possible. It seems to do it after navigating to the safespot.

(If I pause the bot after it enters act4 and then manually go back to meph again, in the same game, he is still alive)

I'll try to repro again tomorrow and catch a video, maybe sleep deprivation is getting to me

nej-tak avatar Jul 25 '24 00:07 nej-tak

I presume it will be the slow kill time. It happened when I was undergeared also, on nova sorc. It will be triggering a time or attack loop limit, so the bot assumes the monster is unreachable etc.

Not sure on the fix/workaround, but take a look at lightning_sorceress.go where it casts static first on particular bosses. Some of that additional code might be a good starting point. You should be able to add a specific override for Mephisto where it attacks more loops or something along those lines.

Sorry I'm not a developer but hope that points you in the right direction :)

Wamlad avatar Jul 25 '24 04:07 Wamlad

Yes, that is correct, you could add static but that would negate the safety a bit because she'll be close to mephisto and get smacked. There is a variable in the sorc go file maxattackloops, you could up that to more, or in the mephisto run go file add another char.killMephisto(),

TDLofCC avatar Jul 25 '24 05:07 TDLofCC

If you get ~10 levels into static you can hit him from far away

G2G2G2G avatar Aug 30 '24 17:08 G2G2G2G

Obsolete with #422

artosimonyan avatar Sep 21 '24 00:09 artosimonyan