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