mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-28 05:41:55 -05:00
Update life.js
This commit is contained in:
@@ -239,13 +239,13 @@ function updatePlayerBoxes() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
playerList[n - 1].life += lifeAdjust
|
playerList[n - 1].life += lifeAdjust
|
||||||
// alert("I clicked on " + n + "!")
|
// console.log(lifeAdjust)
|
||||||
// alert("Their life total is now " + playerList[n - 1].life)
|
// alert("Their life total is now " + playerList[n - 1].life)
|
||||||
drawPlayerBox(n)
|
drawPlayerBox(n)
|
||||||
} else {
|
} //else {
|
||||||
playerList[n - 1].firection = "none"
|
// playerList[n - 1].firection = "none"
|
||||||
playerList[n - 1].holdTime = 0
|
// playerList[n - 1].holdTime = 0
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
// if (i == touchX.length - 1) {
|
// if (i == touchX.length - 1) {
|
||||||
// //At the end, start the loop!
|
// //At the end, start the loop!
|
||||||
|
Reference in New Issue
Block a user