mirror of
https://github.com/qitoqito/psyduck.git
synced 2026-01-18 08:40:44 +08:00
Update jd_task_hudong.js
This commit is contained in:
parent
5ddec819d5
commit
0c60159d86
@ -550,6 +550,10 @@ export class Main extends Template {
|
|||||||
drawNum--
|
drawNum--
|
||||||
p.lottery(lottery)
|
p.lottery(lottery)
|
||||||
}
|
}
|
||||||
|
else if (this.haskey(lottery, 'success')) {
|
||||||
|
drawNum--
|
||||||
|
p.log("啥也没有抽到")
|
||||||
|
}
|
||||||
else {
|
else {
|
||||||
p.err("抽奖错误")
|
p.err("抽奖错误")
|
||||||
break
|
break
|
||||||
@ -656,7 +660,7 @@ export class Main extends Template {
|
|||||||
)
|
)
|
||||||
let num = parseInt(this.haskey(lottery, 'chances') || 0)
|
let num = parseInt(this.haskey(lottery, 'chances') || 0)
|
||||||
if (this.haskey(lottery, 'prizeType')) {
|
if (this.haskey(lottery, 'prizeType')) {
|
||||||
p.msg(lottery.prizeName)
|
p.award(lottery.prizeName, 'bean')
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
p.log(this.haskey(lottery, 'promptMsg') || lottery)
|
p.log(this.haskey(lottery, 'promptMsg') || lottery)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user