fix stab award again

master
Aevann 2023-10-09 18:59:35 +03:00
parent ef26bc5d27
commit 7cd7a6c668
2 changed files with 2 additions and 2 deletions

View File

@ -1,3 +1,3 @@
canvas.sketch { canvas.sketch {
opacity: calc(0.1*{{ stab }}); opacity: 0.1;
} }

View File

@ -11,7 +11,7 @@ const stabs = document.getElementById('stabs').value
let blood = Sketch.create({autoclear: false, autopause: false}), let blood = Sketch.create({autoclear: false, autopause: false}),
drops = [], drops = [],
dropCount = stabs*2, dropCount = stabs*4,
maxDrops = dropCount+1, maxDrops = dropCount+1,
Drop = function() { Drop = function() {
this.x = random(0,blood.width); this.x = random(0,blood.width);