Skip to content
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

Cows #9

Open
wants to merge 5 commits into
base: cows
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,5 @@ stats/
.coverage
htmlcov/
coverage.xml
params.ini
environment.yml
36 changes: 18 additions & 18 deletions config/params.ini
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ restart_d2r_when_stuck=0

[routes]
run_trav=0
run_pindle=1
run_eldritch=1
run_pindle=0
run_eldritch=0
run_shenk=0
run_nihlathak=0
run_arcane=0
run_diablo=0
run_cows=0
run_cows=1
; Note: You can not split up or change order of eldritch and shenk as botty treats it as a single run
order=run_cows, run_trav, run_diablo, run_pindle, run_eldritch, run_shenk, run_nihlathak, run_arcane,

Expand All @@ -34,27 +34,27 @@ order=run_cows, run_trav, run_diablo, run_pindle, run_eldritch, run_shenk, run_n
; ==== Mandatory Fields ====
; ==========================
; These configs have to be alligned with your d2r settings and char build
type=light_sorc
casting_frames=10
num_loot_columns=5
type=hammerdin
casting_frames=9
num_loot_columns=4
show_items=alt
inventory_screen=i
force_move=e
tp=f9
force_move=j
tp=h
belt_rows=4
minimap=tab
;note: stand_still can not be the default "shift" as it would interfere with merc healing
stand_still=capslock
;note: this is different from the default hotkey as "~" is for many keyboards not reachable without also pressing altgr
show_belt=k
show_belt=~
potion1=1
potion2=2
potion3=3
potion4=4
cta_available=0
weapon_switch=x
battle_orders=f7
battle_command=f8
weapon_switch=z
battle_orders=f11
battle_command=f12
; ==========================
; ==== Optional configs ====
; ==========================
Expand Down Expand Up @@ -135,12 +135,12 @@ nova=f2
; ==== Builds: Paladin ====
; =========================
[hammerdin]
teleport=f1
concentration=f2
holy_shield=f4
blessed_hammer=f5
vigor=
redemption=
teleport=r
concentration=e
holy_shield=t
blessed_hammer=q
vigor=f8
redemption=f10
cleansing=

; ==========================
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: botty
name: bottycthu
channels:
- conda-forge
dependencies:
Expand Down
2 changes: 1 addition & 1 deletion src/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def __init__(self, screen: Screen, game_stats: GameStats, template_finder: Templ
self._nihlathak = Nihlathak(self._screen, self._template_finder, self._pather, self._town_manager, self._ui_manager, self._char, self._pickit)
self._arcane = Arcane(self._screen, self._template_finder, self._pather, self._town_manager, self._ui_manager, self._char, self._pickit)
self._diablo = Diablo(self._screen, self._template_finder, self._pather, self._town_manager, self._ui_manager, self._char, self._pickit)
self._cows = Cows(self._screen, self._template_finder, self._pather, self._town_manager, self._ui_manager, self._char, self._pickit)
self._cows = Cows(self._screen, self._template_finder, self._pather, self._town_manager, self._ui_manager, self._char, self._pickit, npc_manager)

# Create member variables
self._pick_corpse = pick_corpse
Expand Down
Loading