forked from drakedevel/gloomycompanion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
modifiers.js
47 lines (45 loc) · 1.78 KB
/
modifiers.js
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
var CARD_TYPES_MODIFIER =
{
BLESS: "bless",
CURSE: "curse",
PLUS0: "plus0",
PLUS1: "plus1",
PLUS2: "plus2",
MINUS1: "minus1",
MINUS2: "minus2",
NULL: "null",
DOUBLE: "double"
};
var MODIFIER_CARDS =
{ BLESS: { 'type': CARD_TYPES_MODIFIER.BLESS, 'shuffle': false, 'image': 'images/attack_mod_bless.jpg' }
, CURSE: { 'type': CARD_TYPES_MODIFIER.CURSE, 'shuffle': false, 'image': 'images/attack_mod_curse.jpg' }
, PLUS0: { 'type': CARD_TYPES_MODIFIER.PLUS0, 'shuffle': false, 'image': 'images/attack_mod_+0.jpg' }
, PLUS1: { 'type': CARD_TYPES_MODIFIER.PLUS1, 'shuffle': false, 'image': 'images/attack_mod_+1.jpg' }
, PLUS2: { 'type': CARD_TYPES_MODIFIER.PLUS2, 'shuffle': false, 'image': 'images/attack_mod_+2.jpg' }
, MINUS1: { 'type': CARD_TYPES_MODIFIER.MINUS1, 'shuffle': false, 'image': 'images/attack_mod_-1.jpg' }
, MINUS2: { 'type': CARD_TYPES_MODIFIER.MINUS2, 'shuffle': false, 'image': 'images/attack_mod_-2.jpg' }
, NULL: { 'type': CARD_TYPES_MODIFIER.NULL, 'shuffle': true, 'image': 'images/attack_mod_null.jpg' }
, DOUBLE: { 'type': CARD_TYPES_MODIFIER.DOUBLE, 'shuffle': true, 'image': 'images/attack_mod_2x.jpg' }
};
var MODIFIER_DECK =
[ MODIFIER_CARDS.PLUS0,
, MODIFIER_CARDS.PLUS0,
, MODIFIER_CARDS.PLUS0,
, MODIFIER_CARDS.PLUS0,
, MODIFIER_CARDS.PLUS0,
, MODIFIER_CARDS.PLUS0,
, MODIFIER_CARDS.PLUS1,
, MODIFIER_CARDS.PLUS1,
, MODIFIER_CARDS.PLUS1,
, MODIFIER_CARDS.PLUS1,
, MODIFIER_CARDS.PLUS1,
, MODIFIER_CARDS.MINUS1,
, MODIFIER_CARDS.MINUS1,
, MODIFIER_CARDS.MINUS1,
, MODIFIER_CARDS.MINUS1,
, MODIFIER_CARDS.MINUS1,
, MODIFIER_CARDS.PLUS2,
, MODIFIER_CARDS.MINUS2,
, MODIFIER_CARDS.NULL,
, MODIFIER_CARDS.DOUBLE,
];