-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Leveling fixes #698
base: main
Are you sure you want to change the base?
Leveling fixes #698
Conversation
IsFromQuest() doesn't work on equippable items
Moved from part of leveling to option in main runs
Also forced clear floors when leveling and low lvl
Useful when low on gold and has no other impact
Where possible. Also fixed bugs and improved logic
What do you mean by "Stat allocation (with struct to allow for stats to be defined more than once)"? Unsure what you mean by defined more than once. Is that to do with the autoequip? Some potential fixes on your more changes to come list below. Would like to help out where I can. Stat allocation and Skill allocation can use PR 674 #674 . It only changes leveling_tools.go so no impact on your changes. It also doesn't require any changes to the character scripts, so should be fine with your autoequip work? Assuming stat points will be amended in those scripts to meet strength requirements etc. Autostart without TP bound, I've tested a solution to this (or a workaround at least). Just need some time to amend it in this PR.. If it's easier for you to add or can improve on the workaround:
Other suggestion: There is lots of running through Act 1, so when traversing to new areas or even clearing areas I have been repurposing the Andy script section to buy Stamina Potions at the start of these functions (instead of antidote pots). Helps with speed and survivability. Especially running to Countess, 4 pots seemed sufficient if not clearing monsters. |
Now uses action.Waypoint and not MoveToArea
Current implementation uses a map with a key of stat.ID to assign stat points. That means we can only apply any single stat in one consecutive action or actions. In reality, we want to assign a few strength points at level 3, a few at level 12 etc to make sure that we can equip better items as we move through the acts. I've moved it to a struct where you input your target points, once that target has been reached it moves on to the next entry in the struct:
Yes, I've done exactly the same, I just haven't pushed the commit yet.
I've set it to be based on the amount of gold (in act 1 only but maybe it needs to be for all acts) - it get switched back on when we have enough gold and turned back off when we drop below a certain level.
Good idea, I'll do this, thanks for reviewing. |
Sounds like it's all getting there, appreciate the responses. Let me know if I can assist with anything, but happy to test/review when I can. Re: the stats allocation, is that not what it already does? The existing one below is from sorceress_leveling_lightning.go. I would change this to get strength earlier, but didn't think it was worth making a PR until autoequip would take advantage of it. But it's very clear for anyone editing what levels these start triggering. So just saying it's something that probably doesn't need an overhaul, and has a working PR if that's something you can save your time on. `statPoints := make(map[stat.ID]int)
|
Current script isn't clearing tower floors, which is not ideal for leveling. The current countess.go on main does not have any action.ClearCurrentLevel. But we also need to make it a configurable, like you intended so a normal countess run isn't impacted by this. I believe if you add your local countess.go to this PR, it will fix the issue. |
Balance Update: Current script has us going to Countess at lvl 9. This is resulting in a lot of chickens. I recommend hitting countess at level 12. For a sorc, this allows for fireball, which is a decent power creep and allows for clearing countess much easier. Right now at lvl 9-10, I am chickening 100% of the time. If I wait until lvl 12, that lowers chicken rate significantly. Clearing Stoney until 12 just requires one parameter update in your code. We might be able to maximize this and just clear BlackMarsh until level 12, not sure what would be faster. I can test this if you want, but for now I am just going to settle with clearing stoney until 12. |
@Antizerg try running leveling as lightning. Firebolt with no AOE will be far less effective I imagine. @CarlPoppa1 I know you simplified the runs to match the existing boss runs but I think leveling will sometimes call for a different approach. i.e. Act 1 normal since we have to walk.
|
The act 1 go script isn't saving cain properly. It will go into stoney after the scroll and immediately leave. It also doesn't right click on the scroll to activate the shrines. |
Some of the quest scripts no longer work, so den, cain etc. can be skipped or feel free to fix them too :) Andariel quest will never get completed by the way. This script triggers the main boss farming run instead of the leveling function. It needs that leveling function to go talk to Warriv and get to Act 2. #713 #718 |
Thanks. Should be fixed by 8a63fb7 |
I haven't had that problem, have you tried it? It worked for me.
No I haven't had that either |
My fresh level act2 run was able to get to dry hills. Only thing to note is... I am teleporting. |
Confirmed, this is fixed. On my play-throughs, Act 1 no longer have any major bugs. |
New Bug: The Jerhyn palace bug after getting act 2 ammy quest. The current logic doesn't open up palace and it just tries to get in non-stop. Pausing bot and talking to Drognan solved it. |
Its meant to talk to Drognan if the summoner quest isn't started (e.g we haven't reached Arcane sanc) and if the tainted sun quest (Amy) is any status other than not started. That doesn't seem to be working. I'll just get it to talk to Drognan as part of the retrieve ammy function |
New Bug: It went to summoner, opened tome and went to canyon, but didn't kill summoner. It did get canyon WP. Now it joins new game and just exits. it rejoins/exits in an endless loop. Logs don't show any details in troubleshooting this behavior. |
Duriel bug: It killed Duriel just fine, but when it got to the angel, it didn't talk to him, just stood in front of him |
To match other sorc chars
To match other sorc chars
I tried lightning, while I do agree charged lightning is great at levels 2-12, it just can't compete with fireball plus the runeword Leaf combo once you hit 12. Nova is too mana extensive for a poorly geared leveling character, where fireball still wrecks. Nova didn't have a chance at killing Andy prior to chickening, Fireball just wrecks her. |
Don't need to kill Summoner to kill Duriel & fix Jerhyn bug
Moved MoveTo coords closer to Tyrael & Tyrael hitbox adjustment
Based on latest files.
Act 3 Bug:
|
Now calls prepareStaff each time and runs Summoner if not completed
Won't find body parts unless needed and wait before clicking trav stairs
I've deliberately left out the changes I made to open doors more reliably. So this PR will only work smoothly once #697 has been merged. Both PRs will need to be tested together.
More changes to come...
Skill allocation
Stat allocation (with struct to allow for stats to be defined more than once)
Dodge
Autostart (don't need tome portal bound)
Option to set optimal settings