forked from swiftb/clicker-heroes-sw1ft-bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathch_bot_settings.ahk
126 lines (91 loc) · 5.36 KB
/
ch_bot_settings.ahk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
; -----------------------------------------------------------------------------------------
; -- Mandatory Configuration
; -----------------------------------------------------------------------------------------
irisLevel := 1270
heroCounter := 3
duration := 30
; -----------------------------------------------------------------------------------------
; -- Optional Settings
; -----------------------------------------------------------------------------------------
clickableAndUpgradeDelay := 20 ; every 20 seconds the bot will buy all available upgrades and pick clickables.
roundModifier := 60 ; seconds
; -- Speed run ----------------------------------------------------------------------------
activateSkillsAtStart := true ; usually needed in the late game to get going after ascending
ascDownClicks := 26 ; # of down clicks needed to get the ascension button center:ish (after a full speed run)
autoAscend := true ; Warning! Set to true will both salvage relics and ascend without any user intervention!
; Auto Ascend Warning Mode
; The following two settings may replace each other or can both be used.
; Set to 0 to disable completely
autoAscendDelay := 10 ; warning timer (in seconds) before ascending
displayRelicsDuration := 10 ; warning timer (in seconds) before salvaging the junk pile
; If you run the Steam client with autoAscend, you can screenshot every relic you salvage!
screenShotRelics := false
saveBeforeAscending := true ; autosave the game
; If the script don't press the save button automatically when running
; with "saveBeforeAscending" set to true, change "Button1" to "Button2".
saveButtonClassNN := "Button2" ; Button1 or Button2
; If the auto-save fails to change the file name properly and you get
; a "already exists" message, change save mode to 2.
saveMode := 2 ; 1 or 2
debug := false ; when set to "true", you can press Alt+F3 to show some debug info (also copied into your clipboard)
; -- Deep run -----------------------------------------------------------------------------
deepRunTime := 50 ; minutes
; -- Init run -----------------------------------------------------------------------------
; The assistant will automatically try to set the correct initDownClicks and yLvlInit settings.
; It will also assist with Iris level recommendations.
useConfigurationAssistant := true
; A list of clicks needed to scroll down 4 heroes at a time, starting from the top.
initDownClicks := [0,0,0,0,0,0]
; This y coordinate is supposed to keep itself inside the top lvl up button when scrolling down according to the above "clicking pattern".
yLvlInit := 000
; Manual configuration (if not using the assistant):
; 1. Ascend with a "clickable" available.
; 2. Click Alt+F1 (the script should pick up the clickable).
; 3. Scroll down to the bottom. What ranger is last?
; 4. From the list below, pick the matching settings:
; Astraea [6,5,6,5,6,3], 241 (Iris > 2010)
; Alabaster [6,6,6,5,6,3], 227 (Iris > 1760)
; Alabaster [6,5,6,6,6,3], 260 (Iris > 1760)
; Alabaster [5,6,6,5,6,3], 293 (Iris > 1760)
; Cadmia [6,6,6,6,6,3], 240 (Iris > 1510)
; Lilin [6,6,6,6,6,3], 285 (Iris > 1260)
; Banana [6,7,6,7,6,3], 240 (Iris > 1010)
; Phthalo [6,7,7,6,7,3], 273 (Iris > 760)
; Terra [7,7,7,7,7,3], 240 (Iris > 510)
; Atlas [7,7,7,8,7,3], 273 (Iris > 260)
; Dread Knight [7,8,7,8,7,4], 257
; E.g. if Phthalo is last, you set initDownClicks to [6,7,7,6,7,3] and yLvlInit to 273.
; In this case your Iris level should be somewhere between 760 and 1010.
; 5. Now click Alt+F2 (the script should level up and upgrade all heroes from Cid to Frostleaf).
; If some heroes where missed, make sure you have picked the suggested setting for your Iris level.
; If you are close to one of these Iris irisThresholds, you should move above it with some margin.
; E.g if your Iris is at 489, you should level it to at least 529, pick the setting for Terra,
; reload the script (Alt+F5), ascend with a clickable and try Alt+F2 again.
; -- Look & Feel --------------------------------------------------------------------------
; true or false
global playNotificationSounds := true
global playWarningSounds := true
global showSplashTexts := true ; Note that some splash texts will always be shown
global showProgressBar := true
; Splash text window width and position
wSplash := 200
xSplash := A_ScreenWidth // 2 - wSplash // 2 ; centered
ySplash := A_ScreenHeight // 2 - 40
; Progress bar width and position
wProgressBar := 325
xProgressBar := 20
yProgressBar := 20
; If you run with a dual/tripple monitor setup, you can move windows
; right or left by adding or subtracting A_ScreenWidth from the x-parameters.
; Left monitor example:
; xSplash := A_ScreenWidth // 2 - wSplash // 2 - A_ScreenWidth
; xProgressBar := 20 - A_ScreenWidth
; -- Skill Combos -------------------------------------------------------------------------
; 1 - Clickstorm, 2 - Powersurge, 3 - Lucky Strikes, 4 - Metal Detector, 5 - Golden Clicks
; 6 - The Dark Ritual, 7 - Super Clicks, 8 - Energize, 9 - Reload
; Test with tools/combo_tester.ahk
comboStart := [15*60, "8-2-3-4-5-7-6-9"]
comboEDR := [2.5*60, "2-3-4-5-7-8-6-9", "", "", "", "", "", "8-9-2-3-4-5-7", "2", "2", "2-3-4", "2", "2"]
comboEGolden := [2.5*60, "8-5-2-3-4-7-6-9", "2", "2", "2-3-4", "2", "2"] ; energize 3 (dmg) or 5 (gold)
comboGoldenLuck := [2.5*60, "6-2-3-5-8-9", "2-3-4-5-7", "2", "2", "2-3-4", "2", "2"]
speedRunStartCombo := comboStart