-
Notifications
You must be signed in to change notification settings - Fork 9
/
c_spells.py
120 lines (104 loc) · 3.95 KB
/
c_spells.py
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
UNKNOWN_ICON = "inv_misc_questionmark"
SPELLS_SCHOOLS = {
0: "",
1: "physical", #FFFF00 255, 255, 0
2: "holy", ##FFE680 255, 230, 128
4: "fire", ##FF8000 255, 128, 0
8: "nature", ##4DFF4D 77, 255, 77
16: "frost", ##80FFFF 128, 255, 255
32: "shadow", ##8080FF 128, 128, 255
64: "arcane", ##FF80FF 255, 128, 255
3: "holystrike", #Holy + Physical
5: "flamestrike", #-- Fire + Physical
6: "holyfire", #-- Fire + Holy (Radiant)
9: "stormstrike", #-- Nature + Physical
# 10: "holystorm", #-- Nature + Holy
12: "firestorm", #Nature + Fire
17: "froststrike", #Frost + Physical
# 18: "holyfrost", #-- Frost + Holy
20: "frostfire", #Frost + Fire
24: "froststorm", #-- Frost + Nature
33: "shadowstrike", #Shadow + Physical
34: "shadowlight", #Shadow + Holy
# 36: "shadowflame", #-- Shadow + Fire
40: "shadowstorm", #Shadow + Nature
48: "shadowfrost", #Shadow + Frost
# 65: "spellstrike", #-- Arcane + Physical
66: "divine", #Arcane + Holy
68: "spellfire", #-- Arcane + Fire
# 72: "spellstorm", #-- Arcane + Nature
80: "spellfrost", #-- Arcane + Frost
96: "spellshadow", #Arcane + Shadow
# 28: "elemental", #-- Frost + Nature + Fire
# 124: "chromatic", #-- Arcane + Shadow + Frost + Nature + Fire
# 126: "magic", #-- Arcane + Shadow + Frost + Nature + Fire + Holy
127: "chaos", # Arcane + Shadow + Frost + Nature + Fire + Holy + Physical
}
UNUSUAL_SPELLS = {
10: "holystorm", #-- Nature + Holy
18: "holyfrost", #-- Frost + Holy
36: "shadowflame", #-- Shadow + Fire
65: "spellstrike", #-- Arcane + Physical
72: "spellstorm", #-- Arcane + Nature
28: "elemental", #-- Frost + Nature + Fire
124: "chromatic", #-- Arcane + Shadow + Frost + Nature + Fire
126: "magic", #-- Arcane + Shadow + Frost + Nature + Fire + Holy
}
COMBINE_SPELLS = {
"29131": "2687", # Bloodrage
"58567": "7386", # Sunder Armor",
"20253": "20252", # Intercept",
"23885": "23881", # Bloodthirst
"22858": "20230", # Retaliation
"58381": "48156", # Mind Flay
"53022": "53023", # Mind Sear
"36032": "42897", # Arcane Blast",
"42938": "42940", # Blizzard",
"22482": "13877", # Blade Flurry",
"57841": "51690", # Killing Spree",
"34075": "34074", # Aspect of the Viper",
"58433": "58434", # Volley",
"49065": "49067", # Explosive Trap",
"50590": "50589", # Immolation Aura",
"47834": "47836", # Seed of Corruption",
"47818": "47820", # Rain of Fire",
"61291": "61290", # Shadowflame",
# "63321": "57946", # Life Tap",
# "31818": "57946", # Life Tap",
"53195": "53201", # Starfall",
"48466": "48467", # Hurricane",
"53506": "24858", # Moonkin Form",
"49088": "48707", # Anti-Magic Shell",
"47632": "49895", # Death Coil",
"52212": "49938", # Death and Decay",
"33110": "48113", # Prayer of Mending",
"64844": "64843", # Divine Hymn",
"48076": "48078", # Holy Nova",
"49279": "49281", # Lightning Shield",
"61654": "61657", # Fire Nova",
"53739": "53736", # Seal of Corruption",
"20424": "20375", # Seal of Command",
"67485": "62124", # Hand of Reckoning",
"54158": "20271", # Judgement of Light",
"20267": "20271", # Judgement of Light",
"48821": "48825", # Holy Shock",
"64442": "64440", # Blade Warding",
}
CUSTOM_SPELL_NAMES = {
"42925": "Flamestrike (Rank 8)",
"45296": "Lightning Bolt (Proc)",
"49240": "Lightning Bolt (Proc)",
"49269": "Chain Lightning (Proc)",
"53190": "Starfall (AoE)",
"55360": "Living Bomb (DoT)",
"30016": "Devastate (Rank 2)",
# Off Hand
"66974": "Obliterate (Off Hand)",
"66962": "Frost Strike (Off Hand)",
"61895": "Blood-Caked Strike (Off Hand)",
"66992": "Plague Strike (Off Hand)",
"44949": "Whirlwind (Off Hand)",
"52874": "Fan of Knives (Off Hand)",
"57842": "Killing Spree (Off Hand)",
"66217": "Rune Strike (Off Hand)",
}