dd
This commit is contained in:
@@ -26,9 +26,11 @@ export class MissionComp extends CCComp {
|
|||||||
mission_data:any={
|
mission_data:any={
|
||||||
gold:10,//金币
|
gold:10,//金币
|
||||||
refresh_gold:1,//刷新金币
|
refresh_gold:1,//刷新金币
|
||||||
|
refrsh_time:1, //刷新时间
|
||||||
call_gold:3,//召唤金币
|
call_gold:3,//召唤金币
|
||||||
add_gold:1,//金币增加
|
add_gold:1,//金币增加
|
||||||
change_gold:1,//金币变化
|
change_gold:1,//金币变化
|
||||||
|
|
||||||
exp:0,//经验
|
exp:0,//经验
|
||||||
skp:0,//技能点
|
skp:0,//技能点
|
||||||
box:0,//宝箱
|
box:0,//宝箱
|
||||||
@@ -77,7 +79,7 @@ export class MissionComp extends CCComp {
|
|||||||
}
|
}
|
||||||
data_init(){
|
data_init(){
|
||||||
//局内数据初始化
|
//局内数据初始化
|
||||||
this.GlodAddTimer=new Timer(1)
|
this.GlodAddTimer=new Timer(smc.vmdata.mission_data.refrsh_time)
|
||||||
smc.mission.status=1
|
smc.mission.status=1
|
||||||
smc.mission.play = true;
|
smc.mission.play = true;
|
||||||
smc.mission.is_victory=false
|
smc.mission.is_victory=false
|
||||||
|
|||||||
Reference in New Issue
Block a user