去掉局内经验 触发技能设定,没必要有局内技能设定,后期可以加入随机技能英雄,增加娱乐性
This commit is contained in:
@@ -86,18 +86,14 @@ export class MissionComp extends CCComp {
|
||||
smc.vmdata.mission.is_defeat=false
|
||||
smc.vmdata.mission.a_exp=0 //近战经验
|
||||
smc.vmdata.mission.h_exp=0 //远程经验
|
||||
smc.vmdata.mission.s_exp=0 //辅助经验
|
||||
smc.vmdata.mission.ma_exp=0 //敌方近战经验
|
||||
smc.vmdata.mission.mh_exp=0 //敌方远程经验
|
||||
smc.vmdata.mission.ms_exp=0 //敌方辅助经验
|
||||
this.msk={ on :false, uuid:1001,type:1,lv: 1}
|
||||
this.mmsk={ on :false, uuid:1001,type:1,lv: 1}
|
||||
this.node.getChildByName("exp").getChildByName("ap").active = true
|
||||
this.node.getChildByName("exp").getChildByName("hp").active = true
|
||||
this.node.getChildByName("exp").getChildByName("mskill").active = true
|
||||
this.node.getChildByName("mexp").getChildByName("ap").active = true
|
||||
this.node.getChildByName("mexp").getChildByName("hp").active = true
|
||||
this.node.getChildByName("mexp").getChildByName("mskill").active = true
|
||||
this.mon_refresh()
|
||||
this.heros_call()
|
||||
}
|
||||
@@ -165,21 +161,6 @@ export class MissionComp extends CCComp {
|
||||
}
|
||||
}
|
||||
|
||||
select_msk(type:number){
|
||||
smc.vmdata.mission.s_exp=0
|
||||
let sk:any=RandomManager.instance.getRandomByObjectList(MSlist[type],1)
|
||||
this.msk.uuid=sk[0]
|
||||
let skill=ecs.getEntity<MSkill>(MSkill)
|
||||
skill.load(BoxSet.HERO,this.msk.uuid)
|
||||
}
|
||||
select_mmsk(type:number){
|
||||
smc.vmdata.mission.ms_exp=0
|
||||
let sk:any=RandomManager.instance.getRandomByObjectList(MSlist[type],1)
|
||||
this.mmsk.uuid=sk[0]
|
||||
let mskill=ecs.getEntity<MSkill>(MSkill)
|
||||
mskill.load(BoxSet.MONSTER,this.mmsk.uuid)
|
||||
}
|
||||
|
||||
do_reward(){
|
||||
console.log("do_reward")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user