koishi-plugin-smmcat-gensokyo 0.0.45 → 0.0.46
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/lib/index.js +5 -5
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -40,7 +40,7 @@ var monsterBenchmark = {
|
|
|
40
40
|
chr: 1.1,
|
|
41
41
|
evasion: 1.1,
|
|
42
42
|
hit: 1.01,
|
|
43
|
-
ghd: 1,
|
|
43
|
+
ghd: 1.005,
|
|
44
44
|
speed: 1.05
|
|
45
45
|
},
|
|
46
46
|
20: {
|
|
@@ -53,7 +53,7 @@ var monsterBenchmark = {
|
|
|
53
53
|
chr: 1.08,
|
|
54
54
|
evasion: 1.008,
|
|
55
55
|
hit: 1.008,
|
|
56
|
-
ghd: 1,
|
|
56
|
+
ghd: 1.004,
|
|
57
57
|
speed: 1.05
|
|
58
58
|
},
|
|
59
59
|
40: {
|
|
@@ -66,7 +66,7 @@ var monsterBenchmark = {
|
|
|
66
66
|
chr: 1.05,
|
|
67
67
|
evasion: 1.005,
|
|
68
68
|
hit: 1.005,
|
|
69
|
-
ghd: 1.
|
|
69
|
+
ghd: 1.003,
|
|
70
70
|
speed: 1.05
|
|
71
71
|
}
|
|
72
72
|
};
|
|
@@ -452,7 +452,7 @@ var Monster = {
|
|
|
452
452
|
temp.chr = Math.floor(temp.chr);
|
|
453
453
|
temp.evasion = Math.floor(temp.evasion);
|
|
454
454
|
temp.hit = Math.floor(temp.hit);
|
|
455
|
-
temp.ghd =
|
|
455
|
+
temp.ghd = parseFloat(temp.ghd.toFixed(1));
|
|
456
456
|
temp.speed = Math.round(temp.speed);
|
|
457
457
|
return temp;
|
|
458
458
|
},
|
|
@@ -2523,7 +2523,7 @@ var User = {
|
|
|
2523
2523
|
temp.chr = Math.floor(temp.chr);
|
|
2524
2524
|
temp.evasion = Math.floor(temp.evasion);
|
|
2525
2525
|
temp.hit = Math.floor(temp.hit);
|
|
2526
|
-
temp.ghd =
|
|
2526
|
+
temp.ghd = parseFloat(temp.ghd.toFixed(1));
|
|
2527
2527
|
temp.speed = Math.round(temp.speed);
|
|
2528
2528
|
return temp;
|
|
2529
2529
|
},
|