去掉大部分 调试信息

This commit is contained in:
panfudan
2025-08-21 14:33:42 +08:00
parent 92faa0fe09
commit 213149881c
27 changed files with 164 additions and 164 deletions

View File

@@ -32,7 +32,7 @@ export class MSkillComp extends CCComp {
this.fight_ready()
}
private master_called(e:any,data:any){
console.log("[EquipSkillComp]: master_called",data)
// console.log("[EquipSkillComp]: master_called",data)
let hero=HeroInfo[data.uuid]
if(hero.skills.length>0){
this.get_skill(null,{slot:this.skill_slot,uuid:hero.skills[this.skill_slot_index]})
@@ -40,7 +40,7 @@ export class MSkillComp extends CCComp {
}
fight_ready(){
console.log("[MSkillComp]: fight_ready",this.node)
// console.log("[MSkillComp]: fight_ready",this.node)
this.node.getChildByName("icon").active=false
this.hide_skill_get(null,"skill1")
this.skill={
@@ -70,7 +70,7 @@ export class MSkillComp extends CCComp {
this.node.getComponent(Animation).stop()
}
spell_skill(){
console.log("spell_skill")
// console.log("spell_skill")
this.skill.cd_time=0
tween(this.node).to(0.1, {scale:v3(1.2,1.2,1)},{onComplete:()=>{
tween(this.node).to(0.2, {scale:v3(1,1,1)}).start()
@@ -84,7 +84,7 @@ export class MSkillComp extends CCComp {
}
get_skill(e:GameEvent,data:any){
console.log("[MSkillComp]: get_skill",data)
// console.log("[MSkillComp]: get_skill",data)
if(data.slot==this.skill_slot||this.skill_slot_index==data.slot){
this.skill.uuid=data.uuid
this.skill.skill_name=SkillSet[data.uuid].name
@@ -110,7 +110,7 @@ export class MSkillComp extends CCComp {
show_info(e:any,data:any){
console.log("[MSkillComp]: show_info",this.skill)
// console.log("[MSkillComp]: show_info",this.skill)
}