mirror of
https://github.com/yawaflua/LuckyDiamond.git
synced 2025-12-10 12:19:31 +02:00
added logic for search X
This commit is contained in:
@@ -219,13 +219,18 @@ export default {
|
||||
async handler(value) {
|
||||
if (this.gamesCircle <= this.amountSaveCrystals) {
|
||||
console.log(value)
|
||||
this.offEventPointers = false
|
||||
// this.offEventPointers = false
|
||||
|
||||
let LimitClicked = this.amountSaveCrystals
|
||||
let DepositDiamonds = this.amountSaveDeposit
|
||||
|
||||
const X_Cordinates = value[this.gamesCircle]
|
||||
|
||||
if (X_Cordinates >= 5) {
|
||||
const findX = Math.floor((X_Cordinates / 5) * 5)
|
||||
console.log(findX)
|
||||
}
|
||||
|
||||
console.log(LimitClicked, DepositDiamonds, X_Cordinates)
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user