-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcharacterData.lua
More file actions
141 lines (131 loc) · 3.56 KB
/
characterData.lua
File metadata and controls
141 lines (131 loc) · 3.56 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
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
-- characterData.lua
-- Defines color and spellbook data for each playable character
local SpellsModule = require("spells")
local Spells = SpellsModule.spells
local characterData = {}
characterData.Ashgar = {
color = {255,100,100},
spellbook = {
["1"] = Spells.conjurefire,
["2"] = Spells.firebolt,
["3"] = Spells.fireball,
["12"] = Spells.burnToAsh,
["13"] = Spells.blastwave,
["23"] = Spells.saltcircle,
["123"] = Spells.eruption,
},
spells = {
Spells.conjurefire,
Spells.firebolt,
Spells.fireball,
Spells.burnToAsh,
Spells.blastwave,
Spells.saltcircle,
Spells.eruption,
Spells.combustMana,
Spells.blazingAscent,
Spells.desperationFire,
},
campaignOpponents = {"Selene", "Silex", "Borrak"}
}
characterData.Selene = {
color = {100,100,255},
spellbook = {
["1"] = Spells.conjuremoonlight,
["2"] = Spells.wrapinmoonlight,
["3"] = Spells.moondance,
["12"] = Spells.infiniteprocession,
["13"] = Spells.eclipse,
["23"] = Spells.gravityTrap,
["123"] = Spells.fullmoonbeam,
},
spells = {
Spells.conjuremoonlight,
Spells.wrapinmoonlight,
Spells.moondance,
Spells.infiniteprocession,
Spells.eclipse,
Spells.gravityTrap,
Spells.fullmoonbeam,
Spells.lunardisjunction,
Spells.lunarTides,
Spells.moonDrain,
},
campaignOpponents = {"Ashgar", "Borrak", "Silex"}
}
characterData.Silex = {
color = {200,200,200},
spellbook = {
["1"] = Spells.conjuresalt,
["2"] = Spells.glitterfang,
["3"] = Spells.imprison,
["12"] = Spells.saltcircle,
["13"] = Spells.stoneshield,
["23"] = Spells.shieldbreaker,
["123"] = Spells.saltstorm,
},
spells = {
Spells.conjuresalt,
Spells.glitterfang,
Spells.imprison,
Spells.saltcircle,
Spells.stoneshield,
Spells.shieldbreaker,
Spells.saltstorm,
Spells.jaggedearth,
}
}
characterData.Borrak = {
color = {100,180,255},
spellbook = {
["1"] = Spells.conjurewater,
["2"] = Spells.watergun,
["3"] = Spells.riptideguard,
["12"] = Spells.tidalforce,
["13"] = Spells.brinechain,
["23"] = Spells.maelstrom,
["123"] = Spells.wavecrash,
},
spells = {
Spells.conjurewater,
Spells.watergun,
Spells.riptideguard,
Spells.tidalforce,
Spells.brinechain,
Spells.maelstrom,
Spells.wavecrash,
Spells.forceBlast,
}
}
characterData.Brightwulf = {
color = {255,100,100},
spellbook = {
["1"] = Spells.burnTheSoul,
["2"] = Spells.SpaceRipper,
["3"] = Spells.StingingEyes,
["12"] = Spells.emberlift,
["13"] = Spells.meteor,
["23"] = Spells.fusionRay,
["123"] = Spells.CoreBolt,
},
spells = {
Spells.burnTheSoul,
Spells.SpaceRipper,
Spells.StingingEyes,
Spells.emberlift,
Spells.meteor,
Spells.fusionRay,
Spells.CoreBolt,
}
}
-- Placeholder spellbooks for other characters, defaulting to Ashgar's spells
local defaultSpellbook = characterData.Ashgar.spellbook
local defaultColor = {255,255,255}
local roster = {"Klaus","Ohm","Archive","End"}
for _, name in ipairs(roster) do
characterData[name] = {
color = defaultColor,
spellbook = defaultSpellbook,
}
end
return characterData