shawenguan 1 yıl önce
ebeveyn
işleme
714d5b3acc
1 değiştirilmiş dosya ile 4 ekleme ve 1 silme
  1. 4 1
      Scripts/hbcpre/hbcpreComposite.js

+ 4 - 1
Scripts/hbcpre/hbcpreComposite.js

@@ -304,7 +304,7 @@ async function tryOneComposite(activityId){
             }
             if(result.code == 200){
                 break;
-            } else if(result.code == 415){
+            } else if(result.code == 415){//活动已结束
                 magicJS.notification.appendNotifyInfo(`🎉合成<${activityData?.eventsName}#${activityId}>已结束!`);
                 break;
             }
@@ -363,6 +363,9 @@ async function tryOneComposite(activityId){
             break;
         } else {
             magicJS.notification.appendNotifyInfo(`🎉合成<${activityData.eventsName}>${result.message}[${i}]`);
+            if(result.code == 415){//活动已结束
+                break;
+            }
         }
     }
     if(!result){