From 42cd4c62ad30de11b15e8473f0db11e9b8c77055 Mon Sep 17 00:00:00 2001 From: Aevann Date: Tue, 10 Oct 2023 19:07:57 +0300 Subject: [PATCH] buff bones award --- files/assets/events/homoween/js/bones.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/assets/events/homoween/js/bones.js b/files/assets/events/homoween/js/bones.js index 605f81f07..99227c725 100644 --- a/files/assets/events/homoween/js/bones.js +++ b/files/assets/events/homoween/js/bones.js @@ -1,7 +1,7 @@ let bones_container = document.getElementById('bones-container'); -let number = parseInt(bones_container.dataset.bones)*2 +let number = parseInt(bones_container.dataset.bones) const sources = ['skeleton1.webp','skeleton2.webp','skeleton3.webp','skeleton4.webp','skeleton5.webp','skeleton6.webp']; -number = Math.min(number, sources.length) +number = Math.min(number, sources.length) * 2 const pw = screen.availWidth / 3