@@ -376,7 +376,7 @@ function RefreshSkillMenu(interval = 1) {
376376 }
377377}
378378
379- g_float_AbetRatio <- 1.67 ;
379+ g_float_AbetRatio <- 1.5 ;
380380function RefreshMenu (hMarine) {
381381 local i = - 1 ;
382382
@@ -638,30 +638,30 @@ function DetectAndApplySkill(interval = 1) {
638638 }
639639 local flg = false ;
640640 local temp = null ;
641- foreach (idx , tempMarine in g_marine_Iaf) {
641+ foreach (tempidx , tempMarine in g_marine_Iaf) {
642642 if (hMarine == tempMarine) {
643643 flg = true ; // 标记Iaf队员
644- temp = idx ; // 标记Iaf队员的索引
644+ temp = tempidx ; // 标记Iaf队员的索引
645645 }
646646 }
647647 if (flg) {
648648 g_marine_Iaf. remove (temp); // 从列表中移除IAF队员
649649 }
650650 flg = false ;
651651 temp = null ;
652- foreach (idx , tempMarine in g_marine_IafAlive) {
652+ foreach (tempidx , tempMarine in g_marine_IafAlive) {
653653 if (hMarine == tempMarine) {
654654 flg = true ; // 标记Iaf队员
655- temp = idx ; // 标记Iaf队员的索引
655+ temp = tempidx ; // 标记Iaf队员的索引
656656 }
657657 }
658658 if (flg) {
659659 g_marine_IafAlive. remove (temp); // 从存活列表中移除IAF队员
660660 g_int_IafAliveCount = g_marine_IafAlive. len (); // 更新存活的IAF队员数量
661661 }
662- g_tbl_MenuSkillInfo. infectorIsSkillUsed = true ;
663662 g_lst_MenuProps[idx]. infectorIsAbeted = true ;
664663 g_marine_AbetedMarine = hMarine;
664+ g_tbl_MenuSkillInfo. infectorIsSkillUsed = true ;
665665 break ;
666666 }
667667 }
@@ -799,7 +799,6 @@ function CheckSurrenderVotes(interval) {
799799 hHud3. SetString (0 , GetLocalizedString (" #challenge_traitors_game_instruction_traitor3" , strLanguage));
800800 }
801801 }
802-
803802 }
804803}
805804
@@ -1075,16 +1074,17 @@ function DeterminRoleCount() {
10751074 case 5 :
10761075 g_int_TraitorCount = 1 ;
10771076 g_bool_HasTraitorLeader = true ;
1078- g_int_TraitorLeaderExtraHealth = 220 ;
1077+ g_int_TraitorLeaderExtraHealth = 350 ;
10791078 break ; // 1
10801079 case 6 :
10811080 g_int_TraitorCount = 2 ;
10821081 g_bool_HasTraitorLeader = true ;
1083- g_int_TraitorLeaderExtraHealth = 120 ;
1082+ g_int_TraitorLeaderExtraHealth = 150 ;
10841083 break ; // 2
10851084 case 7 :
10861085 g_int_TraitorCount = 2 ;
1087- g_bool_HasIafLeader = (RandomHQUniformIntDistribution (0 , 2 ) == 0 );
1086+ g_bool_HasIafLeader = true ;
1087+ g_int_TraitorLeaderExtraHealth = 200 ;
10881088 g_bool_HasScanner = (RandomHQUniformIntDistribution (0 , 20 ) == 0 );
10891089 g_bool_HasBiochemist = (RandomHQUniformIntDistribution (0 , 14 ) == 0 );
10901090 g_bool_HasInfector = g_bool_HasBiochemist;
@@ -1111,10 +1111,9 @@ function DeterminRoleCount() {
11111111 g_bool_HasScanner = (RandomHQUniformIntDistribution (0 , 10 ) == 0 );
11121112 g_bool_HasBiochemist = (RandomHQUniformIntDistribution (0 , 7 ) == 0 );
11131113 g_bool_HasIafLeader = (RandomHQUniformIntDistribution (0 , 1 ) == 0 );
1114- g_bool_HasInfector = g_bool_HasBiochemist;
1115- g_bool_HasSilencer = g_bool_HasScanner;
1114+ g_bool_HasInfector = (RandomHQUniformIntDistribution (0 , 1 ) == 0 );
11161115 g_bool_HasTraitorLeader = true ;
1117- g_int_TraitorLeaderExtraHealth = 250 ;
1116+ g_int_TraitorLeaderExtraHealth = 350 ;
11181117 switch (RandomHQUniformIntDistribution (0 , 5 )) {
11191118 case 0 :
11201119 // g_bool_HasInfector = true;
@@ -1170,7 +1169,8 @@ function DeterminRoleCount() {
11701169 g_bool_HasInfector = true ;
11711170 g_bool_HasSilencer = (RandomHQUniformIntDistribution (0 , 3 ) != 0 );
11721171 g_bool_HasMimic = ! g_bool_HasSilencer;
1173- g_bool_HasTraitorLeader = g_bool_HasIafLeader;
1172+ g_bool_HasTraitorLeader = true ;
1173+ g_int_TraitorLeaderExtraHealth = 300 ;
11741174 if ((RandomHQUniformIntDistribution (0 , 12 - g_int_MarineCount) == 0 )) {
11751175 g_bool_HasBoomer = (RandomHQUniformIntDistribution (0 , 1 ) == 0 );
11761176 g_bool_HasInfector = ! g_bool_HasBoomer;
@@ -1188,6 +1188,7 @@ function DeterminRoleCount() {
11881188 g_bool_HasInfector = true ;
11891189 g_bool_HasSilencer = true ;
11901190 g_bool_HasTraitorLeader = true ;
1191+ g_int_TraitorLeaderExtraHealth = 350 ;
11911192 g_bool_HasMimic = (RandomHQUniformIntDistribution (0 , 16 - g_int_MarineCount) == 0 );
11921193 g_bool_HasBoomer = (RandomHQUniformIntDistribution (0 , 16 - g_int_MarineCount) == 0 );
11931194 g_bool_HasInfector = ! g_bool_HasBoomer;
@@ -2443,7 +2444,6 @@ function GenerateTraitorList() {
24432444 g_str_TraitorNameList = g_str_TraitorNameList + " [ " + hPlayer. GetPlayerName () + " ]" ; // 将选出的内鬼名字存入内鬼名单
24442445 } else {
24452446 g_str_TraitorNameList = g_str_TraitorNameList + " < " + " %s2" + " > " ; // 将选出的内鬼名字存入内鬼名单
2446-
24472447 }
24482448 }
24492449}
0 commit comments