poi-plugin-compass 0.1.2 → 0.1.4

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/air-status.js CHANGED
@@ -1,11 +1,11 @@
1
1
  'use strict'
2
2
 
3
3
  const states = [
4
- { label: 'AL', color: '#ff8585' },
5
- { label: 'AD', color: '#ffbd79' },
6
- { label: 'AP', color: '#f4df8b' },
7
- { label: 'AS', color: '#8fd7a3' },
8
- { label: 'AS+', color: '#87d9ff' },
4
+ { label: '', shadow: '#ef5b5b' },
5
+ { label: '', shadow: '#ed9f45' },
6
+ { label: '', shadow: '#9aa1aa' },
7
+ { label: '', shadow: '#91d7a2' },
8
+ { label: '', shadow: '#29975e' },
9
9
  ]
10
10
 
11
11
  function airStateRange(air, data) {
@@ -35,6 +35,7 @@
35
35
  min-height: 30px;
36
36
  gap: 8px;
37
37
  margin-bottom: 8px;
38
+ flex-wrap: wrap;
38
39
  }
39
40
 
40
41
  .compass-toolbar-fleet,
@@ -60,6 +61,15 @@
60
61
  .compass-los-icon { position: relative; display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; }
61
62
  .compass-los-icon img { width: 28px; height: 28px; }
62
63
  .compass-los-coefficient { position: absolute; right: -1px; bottom: -3px; font-size: 14px; font-weight: 800; color: white; -webkit-text-stroke: 3px #151a22; paint-order: stroke fill; }
64
+ .compass-option-group { display: inline-flex; align-items: center; flex-shrink: 0; }
65
+ .compass-option-label { padding: 0 4px; color: #c9d8e7; font-size: 12px; }
66
+ .compass-option-group button { border-radius: 0; }
67
+ .compass-option-group button:first-of-type { border-radius: 3px 0 0 3px; }
68
+ .compass-option-group button:last-of-type { border-radius: 0 3px 3px 0; }
69
+ .compass-option-group button + button { margin-left: -1px; }
70
+ .compass-option-group button.is-active { position: relative; z-index: 1; border-color: #8fe0a2; background: rgba(143, 224, 162, 0.2); }
71
+ .compass-option-toggle { display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; color: #c9d8e7; font-size: 12px; white-space: nowrap; }
72
+ .compass-option-toggle input { margin: 0; accent-color: #8fe0a2; }
63
73
  .compass-portrait {
64
74
  position: relative;
65
75
  display: inline-flex;
@@ -100,7 +110,8 @@
100
110
  .compass-map-select summary,
101
111
  .compass-reset,
102
112
  .compass-manual button,
103
- .compass-phase-group button {
113
+ .compass-phase-group button,
114
+ .compass-option-group button {
104
115
  color: #f1f5f9;
105
116
  border: 1px solid #687587;
106
117
  border-radius: 3px;
@@ -178,7 +189,9 @@
178
189
  .compass-manual button:hover,
179
190
  .compass-manual button:focus,
180
191
  .compass-phase-group button:hover,
181
- .compass-phase-group button:focus {
192
+ .compass-phase-group button:focus,
193
+ .compass-option-group button:hover,
194
+ .compass-option-group button:focus {
182
195
  border-color: #b8c7d9;
183
196
  background: #3a4655;
184
197
  }
@@ -216,60 +229,56 @@
216
229
  pointer-events: none;
217
230
  }
218
231
 
219
- .compass-node-air-state { font-size: 18px; font-weight: 750; fill: white; stroke: #151a22; stroke-width: 3px; paint-order: stroke fill; stroke-linejoin: round; }
220
-
221
- .compass-edge {
222
- outline: none;
223
- cursor: pointer;
224
- }
225
-
226
- .compass-edge line {
227
- stroke: #8cbce0;
228
- stroke-width: 4;
229
- opacity: 0.85;
230
- transition: stroke 120ms ease, stroke-width 120ms ease, opacity 120ms ease;
231
- }
232
-
233
- .compass-edge.is-reachable line {
234
- opacity: 1;
235
- }
236
-
237
- .compass-edge.is-probability-high line {
238
- stroke: #78d99a;
239
- stroke-width: 7;
232
+ .compass-node-air-state {
233
+ font-family: "Songti SC", "STSong", "SimSun", serif;
234
+ font-size: 14px;
235
+ font-weight: 700;
236
+ fill: #ffffff;
237
+ stroke: #151a22;
238
+ stroke-width: 2px;
239
+ paint-order: stroke fill;
240
+ stroke-linejoin: round;
240
241
  }
241
242
 
242
- .compass-edge.is-probability-medium line {
243
- stroke: #8fc9f1;
244
- stroke-width: 5;
243
+ .compass-node-icon {
244
+ pointer-events: auto;
245
+ overflow: visible;
245
246
  }
246
247
 
247
- .compass-edge.is-probability-low line {
248
- stroke: #91c4e8;
249
- stroke-width: 4.5;
248
+ .compass-node-icon.is-prophet {
249
+ opacity: 0.92;
250
250
  }
251
251
 
252
- .compass-edge.is-probability-zero line {
253
- stroke: #8cbce0;
254
- stroke-width: 4;
255
- opacity: 0.85;
252
+ .compass-node-overlay {
253
+ overflow: visible;
254
+ pointer-events: none;
256
255
  }
257
256
 
258
- .compass-edge.is-passed line {
259
- stroke-width: 6;
260
- opacity: 1;
257
+ .compass-node-overlay-content {
258
+ display: flex;
259
+ width: 100%;
260
+ height: 100%;
261
+ align-items: center;
262
+ justify-content: center;
263
+ overflow: visible;
261
264
  }
262
265
 
263
- .compass-edge.is-passed.is-probability-high line {
264
- stroke-width: 8;
266
+ .compass-node-enemy-avatar .compass-portrait {
267
+ width: 100% !important;
268
+ height: 100% !important;
269
+ box-shadow: 0 0 0 1px #151a22, 0 0 0 2px #ffffff99;
265
270
  }
266
271
 
267
- .compass-edge.is-passed.is-probability-medium line {
268
- stroke-width: 7;
272
+ .compass-edge {
273
+ outline: none;
274
+ cursor: pointer;
269
275
  }
270
276
 
271
- .compass-edge.is-passed.is-probability-zero line {
272
- stroke-width: 6;
277
+ .compass-edge line {
278
+ stroke: var(--compass-edge-color, #87919a);
279
+ stroke-width: var(--compass-edge-width, 2.25);
280
+ opacity: var(--compass-edge-opacity, 0.3);
281
+ transition: stroke 120ms ease, stroke-width 120ms ease, opacity 120ms ease;
273
282
  }
274
283
 
275
284
  .compass-edge.is-manual-choice {
@@ -324,10 +333,8 @@
324
333
  vector-effect: non-scaling-stroke;
325
334
  }
326
335
 
327
- .compass-node-icon,
328
- .compass-node-icon-secondary {
329
- pointer-events: none;
330
- }
336
+ .compass-node-icon { pointer-events: auto; }
337
+ .compass-node-icon-secondary { pointer-events: none; }
331
338
 
332
339
  .compass-node:hover .compass-node-shape,
333
340
  .compass-node:focus .compass-node-shape {
@@ -354,6 +361,15 @@
354
361
  filter: brightness(1.15);
355
362
  }
356
363
 
364
+ .compass-node.is-node-choice .compass-node-shape {
365
+ filter: drop-shadow(0 0 3px rgba(130, 233, 255, 0.95)) drop-shadow(0 0 8px rgba(130, 233, 255, 0.65));
366
+ }
367
+
368
+ .compass-node.is-node-choice:hover .compass-node-shape,
369
+ .compass-node.is-node-choice:focus .compass-node-shape {
370
+ filter: brightness(1.12) drop-shadow(0 0 3px rgba(130, 233, 255, 1)) drop-shadow(0 0 10px rgba(130, 233, 255, 0.75));
371
+ }
372
+
357
373
  .compass-node-label {
358
374
  text-anchor: middle;
359
375
  pointer-events: none;
@@ -501,7 +517,10 @@
501
517
  }
502
518
 
503
519
  .compass-condition:hover,
504
- .compass-condition:focus {
520
+ .compass-condition:focus,
521
+ .compass-condition:focus-within {
522
+ position: relative;
523
+ z-index: 20;
505
524
  background: #3a4655;
506
525
  }
507
526
 
@@ -546,7 +565,9 @@
546
565
  top: calc(100% + 4px);
547
566
  right: 0;
548
567
  display: none;
549
- width: 260px;
568
+ width: min(480px, calc(100vw - 48px));
569
+ max-height: min(60vh, 420px);
570
+ box-sizing: border-box;
550
571
  padding: 8px 9px;
551
572
  border: 1px solid #8392a5;
552
573
  border-radius: 3px;
@@ -554,6 +575,12 @@
554
575
  background: #252c36;
555
576
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.35);
556
577
  line-height: 1.5;
578
+ overflow: auto;
579
+ overscroll-behavior: contain;
580
+ white-space: normal;
581
+ overflow-wrap: anywhere;
582
+ word-break: break-word;
583
+ pointer-events: auto;
557
584
  }
558
585
 
559
586
  .compass-condition:hover .compass-condition-popover,
@@ -561,6 +588,10 @@
561
588
  display: block;
562
589
  }
563
590
 
591
+ .compass-condition-note {
592
+ color: #c9d8e7;
593
+ }
594
+
564
595
  .compass-manual {
565
596
  flex-wrap: wrap;
566
597
  gap: 6px;
@@ -0,0 +1,7 @@
1
+ Copyright (c)
2
+ 2016, 2017 [かがみ](https://github.com/KagamiChan)
3
+ All rights reserved.
4
+
5
+ THESE SVG ICONS ARE **NOT** GOVERNED BY THE MIT LICENSE.
6
+
7
+ ICONS HERE CAN **ONLY** BE USED IN POI, INCLUDING PLUGINS, EXTENSIONS AND DERIVATIVES OF POI. ANY OTHER USAGE WITHOUT EXPLICIT PERMISSION IS PROHIBITED.
@@ -0,0 +1,37 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 17.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
5
+ width="400px" height="400px" viewBox="0 0 400 400" style="enable-background:new 0 0 400 400;" xml:space="preserve">
6
+ <circle style="fill:#B2FF59;stroke:#7CB342;stroke-width:50;stroke-miterlimit:10;" cx="200" cy="200" r="160"/>
7
+ <g>
8
+ </g>
9
+ <g>
10
+ </g>
11
+ <g>
12
+ </g>
13
+ <g>
14
+ </g>
15
+ <g>
16
+ </g>
17
+ <g>
18
+ </g>
19
+ <g>
20
+ </g>
21
+ <g>
22
+ </g>
23
+ <g>
24
+ </g>
25
+ <g>
26
+ </g>
27
+ <g>
28
+ </g>
29
+ <g>
30
+ </g>
31
+ <g>
32
+ </g>
33
+ <g>
34
+ </g>
35
+ <g>
36
+ </g>
37
+ </svg>
@@ -0,0 +1,37 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 17.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
5
+ width="400px" height="400px" viewBox="0 0 400 400" style="enable-background:new 0 0 400 400;" xml:space="preserve">
6
+ <circle style="fill:#B39DDB;stroke:#512DA8;stroke-width:50;stroke-miterlimit:10;" cx="200" cy="200" r="160"/>
7
+ <g>
8
+ </g>
9
+ <g>
10
+ </g>
11
+ <g>
12
+ </g>
13
+ <g>
14
+ </g>
15
+ <g>
16
+ </g>
17
+ <g>
18
+ </g>
19
+ <g>
20
+ </g>
21
+ <g>
22
+ </g>
23
+ <g>
24
+ </g>
25
+ <g>
26
+ </g>
27
+ <g>
28
+ </g>
29
+ <g>
30
+ </g>
31
+ <g>
32
+ </g>
33
+ <g>
34
+ </g>
35
+ <g>
36
+ </g>
37
+ </svg>
@@ -0,0 +1,37 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 17.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
5
+ width="400px" height="400px" viewBox="0 0 400 400" style="enable-background:new 0 0 400 400;" xml:space="preserve">
6
+ <circle style="fill:#EF9A9A;stroke:#D32F2F;stroke-width:50;stroke-miterlimit:10;" cx="200" cy="200" r="160"/>
7
+ <g>
8
+ </g>
9
+ <g>
10
+ </g>
11
+ <g>
12
+ </g>
13
+ <g>
14
+ </g>
15
+ <g>
16
+ </g>
17
+ <g>
18
+ </g>
19
+ <g>
20
+ </g>
21
+ <g>
22
+ </g>
23
+ <g>
24
+ </g>
25
+ <g>
26
+ </g>
27
+ <g>
28
+ </g>
29
+ <g>
30
+ </g>
31
+ <g>
32
+ </g>
33
+ <g>
34
+ </g>
35
+ <g>
36
+ </g>
37
+ </svg>
@@ -0,0 +1,37 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 17.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
5
+ width="400px" height="400px" viewBox="0 0 400 400" style="enable-background:new 0 0 400 400;" xml:space="preserve">
6
+ <circle style="fill:#BBDEFB;stroke:#1976D2;stroke-width:50;stroke-miterlimit:10;" cx="200" cy="200" r="160"/>
7
+ <g>
8
+ </g>
9
+ <g>
10
+ </g>
11
+ <g>
12
+ </g>
13
+ <g>
14
+ </g>
15
+ <g>
16
+ </g>
17
+ <g>
18
+ </g>
19
+ <g>
20
+ </g>
21
+ <g>
22
+ </g>
23
+ <g>
24
+ </g>
25
+ <g>
26
+ </g>
27
+ <g>
28
+ </g>
29
+ <g>
30
+ </g>
31
+ <g>
32
+ </g>
33
+ <g>
34
+ </g>
35
+ <g>
36
+ </g>
37
+ </svg>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 17.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
5
+ width="400px" height="400px" viewBox="0 0 400 400" enable-background="new 0 0 400 400" xml:space="preserve">
6
+ <circle fill="none" stroke="#B39DDB" stroke-width="20" stroke-miterlimit="10" cx="200" cy="200" r="175"/>
7
+ <circle fill="#512DA8" cx="200" cy="199" r="135"/>
8
+ </svg>
@@ -0,0 +1,30 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 17.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
5
+ width="400px" height="400px" viewBox="0 0 400 400" enable-background="new 0 0 400 400" xml:space="preserve">
6
+ <polygon fill="none" points="0,300 0,0 400,0 400,100 220,160 200,200 180,240 "/>
7
+ <g>
8
+ <defs>
9
+ <polygon id="SVGID_1_" points="10,10 390,10 390,92.792 212.908,151.823 172.908,231.823 10,286.126 "/>
10
+ </defs>
11
+ <clipPath id="SVGID_2_">
12
+ <use xlink:href="#SVGID_1_" overflow="visible"/>
13
+ </clipPath>
14
+
15
+ <circle clip-path="url(#SVGID_2_)" fill="none" stroke="#B39DDB" stroke-width="20" stroke-miterlimit="10" cx="200" cy="199" r="175"/>
16
+ <circle clip-path="url(#SVGID_2_)" fill="#512DA8" cx="200" cy="198" r="135"/>
17
+ </g>
18
+ <polygon fill="none" points="400,100 400,400 0,400 0,300 180,240 200,200 220,160 "/>
19
+ <g>
20
+ <defs>
21
+ <polygon id="SVGID_3_" points="10,390 10,307.208 187.092,248.177 227.092,168.177 390,113.875 390,390 "/>
22
+ </defs>
23
+ <clipPath id="SVGID_4_">
24
+ <use xlink:href="#SVGID_3_" overflow="visible"/>
25
+ </clipPath>
26
+
27
+ <circle clip-path="url(#SVGID_4_)" fill="none" stroke="#EF9A9A" stroke-width="20" stroke-miterlimit="10" cx="200" cy="200" r="175"/>
28
+ <circle clip-path="url(#SVGID_4_)" fill="#D32F2F" cx="200" cy="199" r="135"/>
29
+ </g>
30
+ </svg>
@@ -0,0 +1,50 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 17.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
5
+ width="400px" height="400px" viewBox="0 0 400 400" style="enable-background:new 0 0 400 400;" xml:space="preserve">
6
+ <g>
7
+ <path style="fill:#9CCC65;stroke:#33691E;stroke-width:30;stroke-miterlimit:10;" d="M124.027,115.36"/>
8
+ <path style="fill:#D32F2F;" d="M199.726,104.727c0,0,46.718-0.637,71.481,24.681c24.337,6.663,51.808-99.407,51.808-99.407
9
+ s22.973,39.45,27.481,71.86s-4.077,101.078-4.077,101.078s3.981,2.502,5.833,16.916s10.311,44.288,0,75.072
10
+ c-10.311,30.784-63.914,64.056-87.788,70.736c-25.225,5.779-103.701,5.779-128.926,0c-23.874-6.68-77.477-39.834-87.788-70.618
11
+ s-1.851-60.717,0-75.131c1.851-14.414,5.833-16.946,5.833-16.946s-8.585-68.684-4.077-101.093s27.481-71.867,27.481-71.867
12
+ s27.471,106.067,51.808,99.403c24.762-25.319,71.481-24.683,71.481-24.683"/>
13
+ <g>
14
+ <path style="fill:#DF9A9A;" d="M101.707,161.397c0,0,24,32.333,65,47.667c-1,11.167-31.833,28-57.667,8.333
15
+ S101.707,161.397,101.707,161.397z"/>
16
+ <path style="fill:#DF9A9A;" d="M298.293,161.397c0,0-24,32.333-65,47.667c1,11.167,31.833,28,57.667,8.333
17
+ C316.793,197.73,298.293,161.397,298.293,161.397z"/>
18
+ </g>
19
+ </g>
20
+ <g>
21
+ </g>
22
+ <g>
23
+ </g>
24
+ <g>
25
+ </g>
26
+ <g>
27
+ </g>
28
+ <g>
29
+ </g>
30
+ <g>
31
+ </g>
32
+ <g>
33
+ </g>
34
+ <g>
35
+ </g>
36
+ <g>
37
+ </g>
38
+ <g>
39
+ </g>
40
+ <g>
41
+ </g>
42
+ <g>
43
+ </g>
44
+ <g>
45
+ </g>
46
+ <g>
47
+ </g>
48
+ <g>
49
+ </g>
50
+ </svg>
@@ -0,0 +1,56 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 17.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
5
+ width="400px" height="400px" viewBox="0 0 400 400" style="enable-background:new 0 0 400 400;" xml:space="preserve">
6
+ <circle style="fill:#E1F5FE;stroke:#33691E;stroke-width:20;stroke-miterlimit:10;" cx="200" cy="200" r="165"/>
7
+ <g>
8
+ <path style="fill:none;" d="M-138.068,124.63c-2.204,0-4.112,0.805-5.723,2.416c-1.611,1.611-2.416,3.518-2.416,5.723
9
+ s0.805,4.112,2.416,5.723c1.611,1.611,3.518,2.416,5.723,2.416s4.112-0.805,5.723-2.416c1.611-1.611,2.416-3.518,2.416-5.723
10
+ s-0.805-4.112-2.416-5.723C-133.956,125.435-135.864,124.63-138.068,124.63z"/>
11
+ <path style="fill:#33691E;" d="M281.414,252.786l-2.561,3.461c-6.119,8.311-14.844,15.379-25.88,21.01
12
+ c-10.841,5.532-23.06,9.23-36.195,10.994l-5.778,0.76V196h29.643c0.878,0,1.62-0.269,2.296-0.945
13
+ c0.677-0.676,1.061-1.303,1.061-2.18v-16.278c0-0.877-0.385-1.74-1.06-2.416c-0.677-0.676-1.419-1.181-2.297-1.181H211v-28.137
14
+ l2.585-1.449c4.22-2.474,7.621-5.75,10.175-10.018c2.518-4.208,3.745-8.713,3.745-13.774c0-7.677-2.637-14.05-8.07-19.483
15
+ c-5.433-5.433-11.8-8.073-19.477-8.073c-7.677,0-14.039,2.641-19.472,8.073c-5.433,5.433-8.052,11.806-8.052,19.483
16
+ c0,5.061,1.268,9.566,3.786,13.775c2.552,4.267,5.923,7.543,10.143,10.017l2.637,1.449V173h-29.748
17
+ c-0.877,0-1.568,0.505-2.243,1.18c-0.677,0.677-1.009,1.539-1.009,2.417v16.278c0,0.877,0.332,1.504,1.009,2.18
18
+ s1.366,0.945,2.243,0.945H189v93.011l-5.83-0.742c-13.136-1.764-25.463-5.444-36.305-10.976
19
+ c-11.036-5.631-19.732-12.665-25.851-20.974l-2.547-3.317L132.677,239H91l0.002,41.467l14.159-14.337l3.504,4.194
20
+ c9.522,11.442,22.506,20.649,38.592,27.382c16.221,6.789,33.949,10.227,52.691,10.227c18.742,0,36.485-3.445,52.705-10.234
21
+ c16.086-6.732,29.085-15.949,38.607-27.392l3.527-4.212L309,280.254v-41.684l-41.739,0.002L281.414,252.786z M199.948,132.762
22
+ c-3.518,0-6.72-1.342-9.258-3.88c-2.539-2.539-3.881-5.741-3.881-9.259c0-3.518,1.342-6.719,3.881-9.258s5.741-3.881,9.258-3.881
23
+ c3.519,0,6.72,1.342,9.258,3.88c2.539,2.538,3.881,5.74,3.881,9.259s-1.342,6.721-3.88,9.258
24
+ C206.668,131.42,203.466,132.762,199.948,132.762z"/>
25
+ </g>
26
+ <g>
27
+ </g>
28
+ <g>
29
+ </g>
30
+ <g>
31
+ </g>
32
+ <g>
33
+ </g>
34
+ <g>
35
+ </g>
36
+ <g>
37
+ </g>
38
+ <g>
39
+ </g>
40
+ <g>
41
+ </g>
42
+ <g>
43
+ </g>
44
+ <g>
45
+ </g>
46
+ <g>
47
+ </g>
48
+ <g>
49
+ </g>
50
+ <g>
51
+ </g>
52
+ <g>
53
+ </g>
54
+ <g>
55
+ </g>
56
+ </svg>
@@ -0,0 +1,37 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 17.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
5
+ width="400px" height="400px" viewBox="0 0 400 400" style="enable-background:new 0 0 400 400;" xml:space="preserve">
6
+ <circle style="fill:#9CCC65;stroke:#33691E;stroke-width:50;stroke-miterlimit:10;" cx="200" cy="200" r="160"/>
7
+ <g>
8
+ </g>
9
+ <g>
10
+ </g>
11
+ <g>
12
+ </g>
13
+ <g>
14
+ </g>
15
+ <g>
16
+ </g>
17
+ <g>
18
+ </g>
19
+ <g>
20
+ </g>
21
+ <g>
22
+ </g>
23
+ <g>
24
+ </g>
25
+ <g>
26
+ </g>
27
+ <g>
28
+ </g>
29
+ <g>
30
+ </g>
31
+ <g>
32
+ </g>
33
+ <g>
34
+ </g>
35
+ <g>
36
+ </g>
37
+ </svg>
package/data/maps.json CHANGED
@@ -283,7 +283,7 @@
283
283
  "id": "2-5-E-cv-ca",
284
284
  "node": "E",
285
285
  "priority": 30,
286
- "predicate": { "kind": "count", "category": ["CV_MAIN", "CA", "CAV"], "op": ">=", "value": 2, "label": "空母/重巡系 ≥ 2" },
286
+ "predicate": { "kind": "count", "category": ["CV_MAIN", "CA_ALL"], "op": ">=", "value": 2, "label": "空母/重巡系 ≥ 2" },
287
287
  "outcomes": [{ "to": "G", "probability": 1 }],
288
288
  "confidence": "verified"
289
289
  },
@@ -481,11 +481,8 @@
481
481
  "node": "J",
482
482
  "priority": 20,
483
483
  "predicate": { "kind": "losRange", "min": 42, "max": 49, "label": "33 式索敌 42~49:H 概率随索敌升高而下降" },
484
- "outcomes": [
485
- { "to": "H", "probability": null },
486
- { "to": "M", "probability": null },
487
- { "to": "O", "probability": null }
488
- ],
484
+ "outcomes": [{ "to": "H", "probability": null }],
485
+ "continueOnFailure": true,
489
486
  "confidence": "unknown"
490
487
  },
491
488
  {
@@ -494,9 +491,8 @@
494
491
  "priority": 30,
495
492
  "predicate": {
496
493
  "kind": "all",
497
- "label": "33 式索敌 ≥ 49 且 潜水系 ≥ 1",
494
+ "label": "去 H 判定失败或 33 式索敌 ≥ 49,且潜水系 ≥ 1",
498
495
  "predicates": [
499
- { "kind": "los", "op": ">=", "value": 49 },
500
496
  { "kind": "count", "category": "SS", "op": ">=", "value": 1 }
501
497
  ]
502
498
  },
@@ -512,9 +508,8 @@
512
508
  "priority": 40,
513
509
  "predicate": {
514
510
  "kind": "all",
515
- "label": "33 式索敌 ≥ 49 且 海防 ≥ 3",
511
+ "label": "去 H 判定失败或 33 式索敌 ≥ 49,且海防 ≥ 3",
516
512
  "predicates": [
517
- { "kind": "los", "op": ">=", "value": 49 },
518
513
  { "kind": "count", "category": "DE", "op": ">=", "value": 3 }
519
514
  ]
520
515
  },
@@ -527,9 +522,8 @@
527
522
  "priority": 50,
528
523
  "predicate": {
529
524
  "kind": "all",
530
- "label": "33 式索敌 ≥ 49 且 战舰系 ≤ 3",
525
+ "label": "去 H 判定失败或 33 式索敌 ≥ 49,且战舰系 ≤ 3",
531
526
  "predicates": [
532
- { "kind": "los", "op": ">=", "value": 49 },
533
527
  { "kind": "count", "category": "BB_ALL", "op": "<=", "value": 3 }
534
528
  ]
535
529
  },
@@ -540,7 +534,7 @@
540
534
  "id": "2-5-J-los-high-random",
541
535
  "node": "J",
542
536
  "priority": 999,
543
- "predicate": { "kind": "always", "label": "33 式索敌 ≥ 49 的其余编成:随机 M/O" },
537
+ "predicate": { "kind": "always", "label": "去 H 判定失败或 33 式索敌 ≥ 49 的其余编成:随机 M/O" },
544
538
  "outcomes": [
545
539
  { "to": "M", "probability": null },
546
540
  { "to": "O", "probability": null }