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