This commit is contained in:
2025-08-04 17:16:05 +08:00
parent 7b424d1649
commit 2423b25dea
4 changed files with 12132 additions and 3799 deletions

View File

@@ -45,7 +45,7 @@ export class CardComp extends CCComp {
talent_select(args: any,data:any){
this.c_type=cardType.TALENT
this.c_uuid=args.uuid
this.talent_slot=data.slot
// this.talent_slot=data.slot
this.show_talent(this.c_uuid)
this.node.getChildByName("show").active=false
this.node.getChildByName("anim").getChildByName("up").getComponent(Animation).play('carsup')

View File

@@ -293,7 +293,9 @@ export class MissionComp extends CCComp {
call_friend_card(){
oops.message.dispatchEvent(GameEvent.HeroSelect,{is_master:false})
}
call_tal_card(){
oops.message.dispatchEvent(GameEvent.TalentSelect)
}
call_func_card(){
if(smc.vmdata.mission_data.gold < smc.vmdata.mission_data.lucky_gold){
oops.gui.toast("金币不足", false);