去掉大部分 调试信息
This commit is contained in:
@@ -137,7 +137,7 @@ export class HeroViewComp extends CCComp {
|
||||
start () {
|
||||
this.as.idle()
|
||||
this.BUFFCOMP=this.node.getComponent(BuffComp);
|
||||
console.log("[HeroViewComp]:heroview"+this.hero_name,this.Attrs)
|
||||
// console.log("[HeroViewComp]:heroview"+this.hero_name,this.Attrs)
|
||||
/** 方向 */
|
||||
this.node.setScale(this.scale,1);
|
||||
this.node.getChildByName("top").setScale(this.scale,1);
|
||||
@@ -291,7 +291,7 @@ export class HeroViewComp extends CCComp {
|
||||
if(diamond>0){
|
||||
smc.addDiamond(diamond)
|
||||
}
|
||||
console.log("[HeroViewComp]:do_drop",this.hero_uuid,drop_item,exp,gold,diamond)
|
||||
// console.log("[HeroViewComp]:do_drop",this.hero_uuid,drop_item,exp,gold,diamond)
|
||||
}
|
||||
add_debuff(type:number,deV:number,deC:number,deR:number){
|
||||
let n_deR=deR-this.Attrs[BuffAttr.DEBUFF_DOWN]
|
||||
@@ -438,7 +438,7 @@ export class HeroViewComp extends CCComp {
|
||||
if(is_crit) {
|
||||
damage = Math.floor(damage * (1 + (FightSet.CRIT_DAMAGE+crit_d)/100))
|
||||
}
|
||||
console.log(this.hero_name+"[HeroViewComp]:heroview :damage|hp|hp_max",damage,this.hp,this.Attrs[BuffAttr.HP_MAX])
|
||||
// console.log(this.hero_name+"[HeroViewComp]:heroview :damage|hp|hp_max",damage,this.hp,this.Attrs[BuffAttr.HP_MAX])
|
||||
damage=this.check_shield(damage)
|
||||
if(damage <= 0) return
|
||||
this.hp -= damage;
|
||||
@@ -586,7 +586,7 @@ export class HeroViewComp extends CCComp {
|
||||
|
||||
to_update_lv(event:string,data:any){
|
||||
if(this.fac==FacSet.MON) return
|
||||
console.log("[HeroViewComp]:升级",this.BUFFCOMP)
|
||||
// console.log("[HeroViewComp]:升级",this.BUFFCOMP)
|
||||
if(this.hero_uuid!=data.uuid) return
|
||||
this.apply_buff(BuffAttr.HP_MAX,data.hp)
|
||||
this.apply_buff(BuffAttr.AP,data.ap)
|
||||
|
||||
Reference in New Issue
Block a user