去掉大部分 调试信息
This commit is contained in:
@@ -7,7 +7,7 @@ export class AnmEndCom extends Component {
|
||||
|
||||
if(this.node.getComponent(Animation)){
|
||||
let anim = this.node.getComponent(Animation);
|
||||
console.log("has anim",anim)
|
||||
// console.log("has anim",anim)
|
||||
anim.on(Animation.EventType.FINISHED, this.onAnimationFinished, this);
|
||||
}
|
||||
|
||||
|
||||
@@ -22,9 +22,9 @@ export class debuff extends Component {
|
||||
if(this.deff_cd >=1){
|
||||
// this.node.setPosition(v3(-1000,0,0))
|
||||
if(this.hero){
|
||||
this.hero.in_atked()
|
||||
this.hero.hp_less(Math.ceil(this.base.ap/this.base.time))
|
||||
console.log("debuff 总扣血:"+this.base.ap+" 每秒: "+Math.ceil(this.base.ap/this.base.time))
|
||||
// this.hero.in_atked()
|
||||
// this.hero.hp_less(Math.ceil(this.base.ap/this.base.time))
|
||||
// console.log("debuff 总扣血:"+this.base.ap+" 每秒: "+Math.ceil(this.base.ap/this.base.time))
|
||||
}
|
||||
this.deff_cd=0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user