-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontants.py
More file actions
53 lines (45 loc) · 1.3 KB
/
contants.py
File metadata and controls
53 lines (45 loc) · 1.3 KB
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
# -*- coding=utf-8 -*-
"""
contants
Constants for simc hourglass
Created by Romain Mondon-Cancel on 2018-05-10 13:12:38
"""
import os
SIMC_PATH = os.path.join('C:\\', 'Simulationcraft(x64)', '735-01')
SIMC_BIN = os.path.join(SIMC_PATH, 'simc.exe')
PROFILES_PATH = os.path.join(SIMC_PATH, 'profiles', 'Tier21')
JSON_FOLDER = os.path.join('json')
TANK_PROFILES = [
'Death_Knight_Blood',
'Druid_Guardian',
'Monk_Brewmaster',
'Paladin_Protection',
]
PROFILES_BLACKLIST = [
'T21_Warlock.simc',
]
PROFILES = [p for p in os.listdir(PROFILES_PATH) if (
os.path.isfile(os.path.join(PROFILES_PATH, p))
and not any(tank in p for tank in TANK_PROFILES)
and p not in PROFILES_BLACKLIST
)]
MIN_DURATION = 60
MAX_DURATION = 720
DURATION_STEP = 10
DURATIONS = range(MIN_DURATION, MAX_DURATION+DURATION_STEP, DURATION_STEP)
COLORS = {
'Death_Knight': '#C41F3B',
'Demon_Hunter': '#A330C9',
'Druid': '#FF7D0A',
'Hunter': '#ABD473',
'Mage': '#69CCF0',
'Monk': '#00FF96',
'Paladin': '#F58CBA',
'Priest': '#FFFFFF',
'Rogue': '#FFF569',
'Shaman': '#0070DE',
'Warlock': '#9482C9',
'Warrior': '#C79C6E',
}
LINE_STYLES = ['-', '--', '-.', ':',
(0, (3, 3, 1, 3, 1, 3)), (0, (3, 3, 3, 3, 1, 3))]