mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-27 21:31:39 -05:00
Update life.js
This commit is contained in:
@@ -402,7 +402,7 @@ function singleTap(targetPlayerBox) {
|
|||||||
function clockCheck(tappedPlayerBox) {
|
function clockCheck(tappedPlayerBox) {
|
||||||
if (tappedPlayerBox.touchId != 0.5) {
|
if (tappedPlayerBox.touchId != 0.5) {
|
||||||
tappedPlayerBox.life += tappedPlayerBox.direction
|
tappedPlayerBox.life += tappedPlayerBox.direction
|
||||||
drawPlayerBox(tappedPlayerBox)
|
drawPlayerBox(tappedPlayerBox.id)
|
||||||
if (tappedPlayerBox.holdTime >= 300) {
|
if (tappedPlayerBox.holdTime >= 300) {
|
||||||
setTimeout(clockCheck.bind(null, tappedPlayerBox), 10)
|
setTimeout(clockCheck.bind(null, tappedPlayerBox), 10)
|
||||||
} else if (tappedPlayerBox.holdTime >= 50) {
|
} else if (tappedPlayerBox.holdTime >= 50) {
|
||||||
@@ -564,4 +564,4 @@ function heldDown() {
|
|||||||
loop = setTimeout(heldDown, 100)
|
loop = setTimeout(heldDown, 100)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//Updated!!! Are we there yet? Ooh! Is this it?
|
//Updated!!! Are we there yet? Ooh! Is this it? ermagerd?
|
||||||
|
Reference in New Issue
Block a user