添加 升级系统
This commit is contained in:
@@ -108,6 +108,8 @@ export class BuffComp extends Component {
|
||||
info.hp=this.HeroView.hp
|
||||
info.hp_buff=buff.HP
|
||||
info.hp_max=this.HeroView.hp_max*(100+buff.HP)/100
|
||||
info.exp=this.HeroView.exp
|
||||
info.next_exp=this.HeroView.next_exp
|
||||
}else{
|
||||
info.hp=this.HeroView.hp
|
||||
info.hp_buff=buff.HP
|
||||
@@ -120,6 +122,7 @@ export class BuffComp extends Component {
|
||||
view_deatk += this.HeroView.DEBUFF_DEATKS[i].value
|
||||
}
|
||||
info.ap=this.HeroView.ap
|
||||
info.lv=this.HeroView.lv
|
||||
info.cd=this.HeroView.cd*(100-buff.ATK_CD)/100
|
||||
console.log("info.buff.ATK_CD",buff.ATK_CD)
|
||||
info.equip_ap=buff.ATK
|
||||
|
||||
Reference in New Issue
Block a user