Update cellTask.js
This commit is contained in:
parent
2162df8885
commit
393f77768b
@ -65,6 +65,7 @@ cc.Class({
|
|||||||
this.mid = v.mission_id
|
this.mid = v.mission_id
|
||||||
this.lb_jd.string = v.current + "/" + v.target
|
this.lb_jd.string = v.current + "/" + v.target
|
||||||
var cfg = gameConfig.task[this.mid]
|
var cfg = gameConfig.task[this.mid]
|
||||||
|
if(cfg){
|
||||||
this.lb_des.string = cfg.des
|
this.lb_des.string = cfg.des
|
||||||
this.nd_lingqu.active = this.nd_finish.active = this.nd_doing.active = false
|
this.nd_lingqu.active = this.nd_finish.active = this.nd_doing.active = false
|
||||||
if (state == 0) {
|
if (state == 0) {
|
||||||
@ -83,6 +84,7 @@ cc.Class({
|
|||||||
|
|
||||||
Utils.setitem(this, items[1].id, this.sp_icon, this.sp_pz)
|
Utils.setitem(this, items[1].id, this.sp_icon, this.sp_pz)
|
||||||
this.jump = cfg.jump_value
|
this.jump = cfg.jump_value
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user