Skip to content

Commit f9c28fb

Browse files
committed
fix rep
1 parent 6dc6ea9 commit f9c28fb

File tree

4 files changed

+30
-30
lines changed

4 files changed

+30
-30
lines changed

thprac/src/thprac/thprac_games_def.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -7669,12 +7669,6 @@
76697669
"appearance": [ 3, 2, 7 ],
76707670
"!ENHL": [ "月符「绀色的狂梦」", "Moon Sign \"Ultramarine Lunatic Dream\"", "月符「紺色の狂夢」" ]
76717671
},
7672-
"TH15_AB_TEST": {
7673-
"bgm": 1,
7674-
"spell": 0,
7675-
"appearance": [ 3, 2, 7 ],
7676-
"!ENHL": [ "底力测试", "ab test", "ab test" ]
7677-
},
76787672

76797673
"TH15_ST4_MID1": {
76807674
"bgm": 0,
@@ -7989,6 +7983,12 @@
79897983
"spell": 1,
79907984
"appearance": [ 7, 2, 18 ],
79917985
"!X": [ "「最初与最后的无名弹幕」", "\"First and Last Nameless Danmaku\"", "「最初で最後の無名の弾幕」" ]
7986+
},
7987+
"TH15_ST8_AB_TEST": {
7988+
"bgm": 1,
7989+
"spell": 0,
7990+
"appearance": [ 3, 2, 7 ],
7991+
"!ENHL": [ "底力测试", "ab test", "ab test" ]
79927992
}
79937993
},
79947994

thprac/src/thprac/thprac_locale_def.cpp

+15-15
Original file line numberDiff line numberDiff line change
@@ -19213,7 +19213,6 @@ namespace TH15 {
1921319213
"关底三非",
1921419214
"梦符「捕梦网」",
1921519215
"月符「绀色的狂梦」",
19216-
"底力测试",
1921719216
"道中一非",
1921819217
"关底一非",
1921919218
"玉符「乌合之咒」",
@@ -19264,6 +19263,7 @@ namespace TH15 {
1926419263
"「用于杀人的纯粹弹幕」",
1926519264
"「三位一体论狂想曲」",
1926619265
"「最初与最后的无名弹幕」",
19266+
"底力测试",
1926719267
},
1926819268
{
1926919269
"",
@@ -19290,7 +19290,6 @@ namespace TH15 {
1929019290
"关底三非",
1929119291
"梦符「捕梦网」",
1929219292
"月符「绀色的狂梦」",
19293-
"底力测试",
1929419293
"道中一非",
1929519294
"关底一非",
1929619295
"玉符「乌合之咒」",
@@ -19341,6 +19340,7 @@ namespace TH15 {
1934119340
"「用于杀人的纯粹弹幕」",
1934219341
"「三位一体论狂想曲」",
1934319342
"「最初与最后的无名弹幕」",
19343+
"底力测试",
1934419344
},
1934519345
{
1934619346
"",
@@ -19367,7 +19367,6 @@ namespace TH15 {
1936719367
"关底三非",
1936819368
"梦符「苍蓝色的捕梦网」",
1936919369
"月符「绀色的狂梦」",
19370-
"底力测试",
1937119370
"道中一非",
1937219371
"关底一非",
1937319372
"玉符「乌合的逆咒」",
@@ -19418,6 +19417,7 @@ namespace TH15 {
1941819417
"「用于杀人的纯粹弹幕」",
1941919418
"「三位一体论狂想曲」",
1942019419
"「最初与最后的无名弹幕」",
19420+
"底力测试",
1942119421
},
1942219422
{
1942319423
"",
@@ -19444,7 +19444,6 @@ namespace TH15 {
1944419444
"关底三非",
1944519445
"梦符「梦我梦中」",
1944619446
"月符「绀色的狂梦」",
19447-
"底力测试",
1944819447
"道中一非",
1944919448
"关底一非",
1945019449
"玉符「乌合的二重咒」",
@@ -19495,6 +19494,7 @@ namespace TH15 {
1949519494
"「用于杀人的纯粹弹幕」",
1949619495
"「三位一体论狂想曲」",
1949719496
"「最初与最后的无名弹幕」",
19497+
"底力测试",
1949819498
},
1949919499
},
1950019500
{
@@ -19523,7 +19523,6 @@ namespace TH15 {
1952319523
"Boss Nonspell 3",
1952419524
"Dream Sign \"Dream Catcher\"",
1952519525
"Moon Sign \"Ultramarine Lunatic Dream\"",
19526-
"ab test",
1952719526
"Mid Nonspell 1",
1952819527
"Boss Nonspell 1",
1952919528
"Orb Sign \"Disorderly Flock's Curse\"",
@@ -19574,6 +19573,7 @@ namespace TH15 {
1957419573
"\"Pristine Danmaku for Killing a Person\"",
1957519574
"\"Trinitarian Rhapsody\"",
1957619575
"\"First and Last Nameless Danmaku\"",
19576+
"ab test",
1957719577
},
1957819578
{
1957919579
"",
@@ -19600,7 +19600,6 @@ namespace TH15 {
1960019600
"Boss Nonspell 3",
1960119601
"Dream Sign \"Dream Catcher\"",
1960219602
"Moon Sign \"Ultramarine Lunatic Dream\"",
19603-
"ab test",
1960419603
"Mid Nonspell 1",
1960519604
"Boss Nonspell 1",
1960619605
"Orb Sign \"Disorderly Flock's Curse\"",
@@ -19651,6 +19650,7 @@ namespace TH15 {
1965119650
"\"Pristine Danmaku for Killing a Person\"",
1965219651
"\"Trinitarian Rhapsody\"",
1965319652
"\"First and Last Nameless Danmaku\"",
19653+
"ab test",
1965419654
},
1965519655
{
1965619656
"",
@@ -19677,7 +19677,6 @@ namespace TH15 {
1967719677
"Boss Nonspell 3",
1967819678
"Dream Sign \"Azure Dream Catcher\"",
1967919679
"Moon Sign \"Ultramarine Lunatic Dream\"",
19680-
"ab test",
1968119680
"Mid Nonspell 1",
1968219681
"Boss Nonspell 1",
1968319682
"Orb Sign \"Disorderly Flock's Reverse Curse\"",
@@ -19728,6 +19727,7 @@ namespace TH15 {
1972819727
"\"Pristine Danmaku for Killing a Person\"",
1972919728
"\"Trinitarian Rhapsody\"",
1973019729
"\"First and Last Nameless Danmaku\"",
19730+
"ab test",
1973119731
},
1973219732
{
1973319733
"",
@@ -19754,7 +19754,6 @@ namespace TH15 {
1975419754
"Boss Nonspell 3",
1975519755
"Dream Sign \"Losing Oneself in a Dream\"",
1975619756
"Moon Sign \"Ultramarine Lunatic Dream\"",
19757-
"ab test",
1975819757
"Mid Nonspell 1",
1975919758
"Boss Nonspell 1",
1976019759
"Orb Sign \"Disorderly Flock's Duplex Curse\"",
@@ -19805,6 +19804,7 @@ namespace TH15 {
1980519804
"\"Pristine Danmaku for Killing a Person\"",
1980619805
"\"Trinitarian Rhapsody\"",
1980719806
"\"First and Last Nameless Danmaku\"",
19807+
"ab test",
1980819808
},
1980919809
},
1981019810
{
@@ -19833,7 +19833,6 @@ namespace TH15 {
1983319833
"ボス 通常3",
1983419834
"夢符「ドリームキャッチャー」",
1983519835
"月符「紺色の狂夢」",
19836-
"ab test",
1983719836
"道中 通常1",
1983819837
"ボス 通常1",
1983919838
"玉符「烏合の呪」",
@@ -19884,6 +19883,7 @@ namespace TH15 {
1988419883
"「人を殺める為の純粋な弾幕」",
1988519884
"「トリニタリアンラプソディ」",
1988619885
"「最初で最後の無名の弾幕」",
19886+
"ab test",
1988719887
},
1988819888
{
1988919889
"",
@@ -19910,7 +19910,6 @@ namespace TH15 {
1991019910
"ボス 通常3",
1991119911
"夢符「ドリームキャッチャー」",
1991219912
"月符「紺色の狂夢」",
19913-
"ab test",
1991419913
"道中 通常1",
1991519914
"ボス 通常1",
1991619915
"玉符「烏合の呪」",
@@ -19961,6 +19960,7 @@ namespace TH15 {
1996119960
"「人を殺める為の純粋な弾幕」",
1996219961
"「トリニタリアンラプソディ」",
1996319962
"「最初で最後の無名の弾幕」",
19963+
"ab test",
1996419964
},
1996519965
{
1996619966
"",
@@ -19987,7 +19987,6 @@ namespace TH15 {
1998719987
"ボス 通常3",
1998819988
"夢符「蒼色のドリームキャッチャー」",
1998919989
"月符「紺色の狂夢」",
19990-
"ab test",
1999119990
"道中 通常1",
1999219991
"ボス 通常1",
1999319992
"玉符「烏合の逆呪」",
@@ -20038,6 +20037,7 @@ namespace TH15 {
2003820037
"「人を殺める為の純粋な弾幕」",
2003920038
"「トリニタリアンラプソディ」",
2004020039
"「最初で最後の無名の弾幕」",
20040+
"ab test",
2004120041
},
2004220042
{
2004320043
"",
@@ -20064,7 +20064,6 @@ namespace TH15 {
2006420064
"ボス 通常3",
2006520065
"夢符「夢我夢中」",
2006620066
"月符「紺色の狂夢」",
20067-
"ab test",
2006820067
"道中 通常1",
2006920068
"ボス 通常1",
2007020069
"玉符「烏合の二重呪」",
@@ -20115,6 +20114,7 @@ namespace TH15 {
2011520114
"「人を殺める為の純粋な弾幕」",
2011620115
"「トリニタリアンラプソディ」",
2011720116
"「最初で最後の無名の弾幕」",
20117+
"ab test",
2011820118
},
2011920119
},
2012020120
};
@@ -20144,7 +20144,6 @@ namespace TH15 {
2014420144
1,
2014520145
1,
2014620146
1,
20147-
1,
2014820147
0,
2014920148
1,
2015020149
1,
@@ -20195,6 +20194,7 @@ namespace TH15 {
2019520194
1,
2019620195
1,
2019720196
1,
20197+
1,
2019820198
};
2019920199

2020020200
const th_sections_t th_sections_cba[7][2][19] {
@@ -20236,7 +20236,7 @@ namespace TH15 {
2023620236
TH15_ST3_BOSS4,
2023720237
TH15_ST3_BOSS5,
2023820238
TH15_ST3_BOSS6,
20239-
TH15_AB_TEST,
20239+
TH15_ST8_AB_TEST,
2024020240
},
2024120241
},
2024220242
{
@@ -20348,7 +20348,7 @@ namespace TH15 {
2034820348
TH15_ST3_BOSS1,
2034920349
TH15_ST3_BOSS3,
2035020350
TH15_ST3_BOSS5,
20351-
TH15_AB_TEST,
20351+
TH15_ST8_AB_TEST,
2035220352
},
2035320353
{
2035420354
TH15_ST3_MID2,

thprac/src/thprac/thprac_locale_def.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -2441,7 +2441,6 @@ namespace TH15 {
24412441
TH15_ST3_BOSS5,
24422442
TH15_ST3_BOSS6,
24432443
TH15_ST3_BOSS7,
2444-
TH15_AB_TEST,
24452444
TH15_ST4_MID1,
24462445
TH15_ST4_BOSS1,
24472446
TH15_ST4_BOSS2,
@@ -2492,6 +2491,7 @@ namespace TH15 {
24922491
TH15_ST7_END_S8,
24932492
TH15_ST7_END_S9,
24942493
TH15_ST7_END_S10,
2494+
TH15_ST8_AB_TEST,
24952495
};
24962496

24972497
extern const char* th_sections_str[3][4][75];

thprac/src/thprac/thprac_th15.cpp

+8-8
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ namespace TH15 {
186186
return TH15_ITS_LUNATIC_TIME;
187187
} else if (section == TH15_ST3_BOSS1) {
188188
return TH15_ST3_NORMAL1_TYPE;
189-
} else if (section == TH15_AB_TEST) {
189+
} else if (section == TH15_ST8_AB_TEST) {
190190
return TH15_AB_5PHASE;
191191
}
192192
return nullptr;
@@ -544,7 +544,7 @@ namespace TH15 {
544544
SetPos(-10000.0f, -10000.0f); //fly~
545545
return;
546546
}
547-
if (thPracParam.mode && thPracParam.section == TH15_AB_TEST) {
547+
if (thPracParam.mode && thPracParam.section == TH15_ST8_AB_TEST) {
548548
DWORD ecl_glob = *(DWORD*)(0x4E9A80);
549549
if (ecl_glob)
550550
{
@@ -1297,7 +1297,7 @@ namespace TH15 {
12971297
}
12981298
//---
12991299
break;
1300-
case THPrac::TH15::TH15_AB_TEST:
1300+
case THPrac::TH15::TH15_ST8_AB_TEST:
13011301
ECLJump(ecl, 0xa258, 0xa614, 60);
13021302
ecl.SetFile(2);
13031303
ECLSkipChapter(1);
@@ -2109,7 +2109,7 @@ namespace TH15 {
21092109
}
21102110
// ab test
21112111
{
2112-
if (thPracParam.mode && thPracParam.section == TH15_AB_TEST) {
2112+
if (thPracParam.mode && thPracParam.section == TH15_ST8_AB_TEST) {
21132113
static int t=0;
21142114
DWORD ecl_glob = *(DWORD*)(0x4E9A80);
21152115
DWORD m9923 = ecl_glob ? * (DWORD*)(ecl_glob + 0x18) : 0;
@@ -2271,13 +2271,13 @@ namespace TH15 {
22712271
for (int i = 0; i < 6; i++) {
22722272
const char* rank = "E";
22732273
if (scores[i] < 0.18f)
2274-
rank = "E";
2274+
rank = "F";
22752275
else if (scores[i] < 0.36f)
2276-
rank = "D";
2276+
rank = "E";
22772277
else if (scores[i] < 0.54f)
2278-
rank = "C";
2279-
else if (scores[i] < 0.72f)
22802278
rank = "D";
2279+
else if (scores[i] < 0.72f)
2280+
rank = "C";
22812281
else if (scores[i] < 0.9f)
22822282
rank = "B";
22832283
else if (scores[i] < 0.95f)

0 commit comments

Comments
 (0)