forked from johreh/gloomycompanion
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmodifiers.js
48 lines (46 loc) · 1.73 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
48
export const CARD_TYPES_MODIFIER =
{
BLESS: 'bless',
CURSE: 'curse',
PLUS0: 'plus0',
PLUS1: 'plus1',
PLUS2: 'plus2',
MINUS1: 'minus1',
MINUS2: 'minus2',
NULL: 'null',
DOUBLE: 'double',
};
export const 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' },
};
export const 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,
];