This commit is contained in:
2025-08-04 00:37:57 +08:00
parent f579ed49e7
commit 7b424d1649
6 changed files with 13972 additions and 13880 deletions

View File

@@ -40,7 +40,7 @@ export const MonList = [5201,5202,5203,5204,5205,5206,5219,5220,5221,5222,5223,5
export const Masters = [5001,5002,5003,5004,5005,5006,5007,5008,5009,5010,5011,5012]
export const HeroPos={
0:{pos:v3(-290,0,0)},
0:{pos:v3(-160,0,0)},
1:{pos:v3(0,0,0)},
2:{pos:v3(-100,0,0)},
}

View File

@@ -24,7 +24,6 @@ export class BarCompComp extends CCComp {
protected onLoad(): void {
this.on(GameEvent.FightReady,this.readay,this)
this.on(GameEvent.MasterCalled,this.master_called,this)
this.on(GameEvent.APChange,this.ap_change,this)
}
@@ -46,18 +45,6 @@ export class BarCompComp extends CCComp {
});
}
private ap_change(e:any,data:any){
console.log("[barcomp]:ap_change",data)
if(data.is_master==true){
let barNode = this.node.getChildByName("bar").getChildByName("ap").getChildByName("val")
tween(barNode).to(0.2, {scale:v3(1.5,1.5,1)},{
onComplete:()=>{
tween(barNode).to(0.1, {scale:v3(1,1,1)}).start()
}
}).start()
}
}
show_master_more(){