Browse Source

Redo padoru chance

denikson 6 năm trước cách đây
mục cha
commit
712e265abf
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      commands/facemorph.js

+ 1 - 1
commands/facemorph.js

@@ -103,7 +103,7 @@ function getPadoruChance() {
     let now = new Date();
     if(now.getUTCMonth() != 11 || now.getUTCDate() > 26)
         return 0;
-    return Math.sin(2 * Math.PI * (1.0 / (4.0 * 25.0)) * now.getUTCDate());
+    return 1 / (26 - now.getUTCDate());
 }
 
 async function processFaceSwap(message, attachmentUrl, processor, failMessage, successMessage) {