enefel 1.0.149 → 1.0.151
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/skill.js +20 -0
- package/stadium.js +12 -48
package/package.json
CHANGED
package/skill.js
CHANGED
|
@@ -321,6 +321,24 @@ function getSkillDisplayedWithCarrer() {
|
|
|
321
321
|
return [SKILL_NAMES.BIG_GUY, SKILL_NAMES.STAR, SKILL_NAMES.SPECIALIST];
|
|
322
322
|
}
|
|
323
323
|
|
|
324
|
+
function getNoTurnoverSkill() {
|
|
325
|
+
return [
|
|
326
|
+
SKILL_NAMES.DAUNTLESS,
|
|
327
|
+
SKILL_NAMES.BONE_HEAD,
|
|
328
|
+
SKILL_NAMES.REALLY_STUPID,
|
|
329
|
+
SKILL_NAMES.ANIMAL_SAVAGERY,
|
|
330
|
+
SKILL_NAMES.ANIMOSITY,
|
|
331
|
+
SKILL_NAMES.TAKE_ROOT,
|
|
332
|
+
SKILL_NAMES.UNCHANNELLED_FURY,
|
|
333
|
+
];
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
function isNoTurnoverSkill(skill) {
|
|
337
|
+
const skillId = skill.skill_id ? skill.skill_id : skill;
|
|
338
|
+
const noTd = getNoTurnoverSkill();
|
|
339
|
+
return noTd.includes(skillId);
|
|
340
|
+
}
|
|
341
|
+
|
|
324
342
|
/*
|
|
325
343
|
DISTURBING PRESENCE
|
|
326
344
|
When an opposition player performs either a
|
|
@@ -394,4 +412,6 @@ module.exports = {
|
|
|
394
412
|
SKILLS,
|
|
395
413
|
SKILL_TYPE,
|
|
396
414
|
useSkill,
|
|
415
|
+
isNoTurnoverSkill,
|
|
416
|
+
getNoTurnoverSkill,
|
|
397
417
|
};
|
package/stadium.js
CHANGED
|
@@ -6,76 +6,40 @@ const MAX_LATERAL = 2;
|
|
|
6
6
|
|
|
7
7
|
const TILES_STADIUM = {
|
|
8
8
|
a: {
|
|
9
|
+
y: 5,
|
|
9
10
|
price: 0,
|
|
10
11
|
wear: 80,
|
|
11
|
-
icons:
|
|
12
|
-
0: "grassA1.svg",
|
|
13
|
-
2: "grassA2.svg",
|
|
14
|
-
4: "grassA3.svg",
|
|
15
|
-
6: "grassA4.svg",
|
|
16
|
-
8: "grassA5.svg",
|
|
17
|
-
9: "grassA6.svg",
|
|
18
|
-
},
|
|
12
|
+
icons: [0, 2, 4, 6, 8, 9],
|
|
19
13
|
},
|
|
20
14
|
b: {
|
|
15
|
+
y: 4,
|
|
21
16
|
price: 0,
|
|
22
17
|
wear: 80,
|
|
23
|
-
icons:
|
|
24
|
-
0: "grassB1.svg",
|
|
25
|
-
2: "grassB2.svg",
|
|
26
|
-
4: "grassB3.svg",
|
|
27
|
-
6: "grassB4.svg",
|
|
28
|
-
8: "grassB5.svg",
|
|
29
|
-
9: "grassB6.svg",
|
|
30
|
-
},
|
|
18
|
+
icons: [0, 2, 4, 6, 8, 9],
|
|
31
19
|
},
|
|
32
20
|
c: {
|
|
21
|
+
y: 3,
|
|
33
22
|
price: 0,
|
|
34
23
|
wear: 80,
|
|
35
|
-
icons:
|
|
36
|
-
0: "grassC1.svg",
|
|
37
|
-
2: "grassC2.svg",
|
|
38
|
-
4: "grassC3.svg",
|
|
39
|
-
6: "grassC4.svg",
|
|
40
|
-
8: "grassC5.svg",
|
|
41
|
-
9: "grassC6.svg",
|
|
42
|
-
},
|
|
24
|
+
icons: [0, 2, 4, 6, 8, 9],
|
|
43
25
|
},
|
|
44
26
|
d: {
|
|
27
|
+
y: 1,
|
|
45
28
|
price: 0,
|
|
46
29
|
wear: 80,
|
|
47
|
-
icons:
|
|
48
|
-
0: "MGreen1.png",
|
|
49
|
-
2: "MGreen2.png",
|
|
50
|
-
4: "MGreen3.png",
|
|
51
|
-
6: "MGreen4.png",
|
|
52
|
-
8: "MGreen5.png",
|
|
53
|
-
9: "MGreen5.png",
|
|
54
|
-
},
|
|
30
|
+
icons: [0, 2, 4, 6, 8],
|
|
55
31
|
},
|
|
56
32
|
e: {
|
|
33
|
+
y: 2,
|
|
57
34
|
price: 0,
|
|
58
35
|
wear: 80,
|
|
59
|
-
icons:
|
|
60
|
-
0: "LGreen1.png",
|
|
61
|
-
2: "LGreen2.png",
|
|
62
|
-
4: "LGreen3.png",
|
|
63
|
-
6: "LGreen4.png",
|
|
64
|
-
8: "LGreen5.png",
|
|
65
|
-
9: "LGreen5.png",
|
|
66
|
-
},
|
|
36
|
+
icons: [0, 2, 4, 6, 8],
|
|
67
37
|
},
|
|
68
38
|
f: {
|
|
39
|
+
y: 0,
|
|
69
40
|
price: 0,
|
|
70
41
|
wear: 80,
|
|
71
|
-
icons:
|
|
72
|
-
0: "DGreen1.png",
|
|
73
|
-
2: "DGreen2.png",
|
|
74
|
-
4: "DGreen3.png",
|
|
75
|
-
6: "DGreen4.png",
|
|
76
|
-
8: "DGreen5.png",
|
|
77
|
-
9: "DGreen5.png",
|
|
78
|
-
},
|
|
42
|
+
icons: [0, 2, 4, 6, 8],
|
|
79
43
|
},
|
|
80
44
|
};
|
|
81
45
|
const minWidth = 20;
|