Conversation
Fixed Town.stash not opening stash, but items are still not moving from inventory to stash. Added `me.talkTo(npc)` function to just talk and cancel speaking with NPC (quest validation). Added `me.getQuestItem(classid, chestid)` function to pickup an item in a chest (for quest items like scroll of inifuss, act 2 staff and amulet etc...). Added Den script for den of evil quest. Added Cain script for Cain rescue quest. Having a bug when inventory is full and need to get scroll of inifuss. Related to Town.stash not stashing items. Added Observable module. Added AutoSmurf script. Not doing a lot of stuff atm.
Revert Town pseudo fix and removed print.
Fixed Cain stones opening. Added Attack.clearLevelWalk function used for Den, trying to use path length to next room instead of distance.
Fixed Attack.clearLevel spectype parameter. Tried to fix unit.clear to avoid recursive clear which lead the bot far from start coordinates.
Den + Cain
Den script use graph module to clear level.
Graph module
# Conflicts: # d2bs/kolbot/libs/unit/Me.js
Fixed graph functions. Added `walkableX` and `walkableY` properties to Graph's Vertex class. Removed attack and preattack line drawing. Fixed Attack.clear, attacking monsters far from start coordinates. Made Tombs a module. Tombs use graph algorithm.
Added Array intersection and difference functions.
# Conflicts: # d2bs/kolbot/libs/modules/Chicken.js # d2bs/kolbot/libs/unit/Attack.js
Fixed Den quest. Fixed Questing.
…quiver. Fixed AutoEquip back to portalspot error. Fixed AutoEquip item.bodyloc instead of item.bodylocation.
…o error. Added throws parameter to Town.goToTown to throw or return false on failure. Default to throws, as before.
… much and you want to retry (Den typically).
…s (Delta, Worker...). Need to handle it globally for all entry points ?
Refactored some functions in Town. Fixed Town no buying potions if under 1000 gold. Why ??
…alues and using MonsterData damages.
Added weapons.txt data file.
Fixed monster level calculations for Nighmare and Hell difficulty
# Conflicts: # d2bs/kolbot/libs/bots/Questing.js # d2bs/kolbot/libs/modules/AutoConfig.js # d2bs/kolbot/libs/modules/Chicken.js # d2bs/kolbot/libs/modules/GameData.js # d2bs/kolbot/libs/modules/NTIP.js # d2bs/kolbot/libs/modules/Town.js # d2bs/kolbot/libs/unit/Attack.js # d2bs/kolbot/libs/unit/NPC.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
To see the differences