This commit is contained in:
2025-07-21 23:35:11 +08:00
parent a073682615
commit f841c9ec7f
12 changed files with 6107 additions and 4847 deletions

View File

@@ -94,6 +94,7 @@ export class BuffComp extends Component {
let buff=null
let info= null
if(!this.HeroView) return
if(!this.HeroView.is_master) return
if(this.HeroView.fac==FacSet.HERO) {info=smc.vmdata.hero;buff=this.FIGHTCON.hero_buff}
if(this.HeroView.is_boss) {info=smc.vmdata.boss;buff=this.FIGHTCON.enemy_buff}
//if(this.HeroView.is_kalami) {target_key="enemy";buff_key="enemy"} 不显示小怪
@@ -104,8 +105,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
// info.exp=this.HeroView.exp
// info.next_exp=this.HeroView.next_exp
}else{
info.hp=this.HeroView.hp
info.hp_buff=buff.HP
@@ -118,7 +119,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.lv=this.HeroView.lv
info.cd=Number((this.HeroView.cd*(100-buff.ATK_CD)/100).toFixed(2))
console.log("info.buff.ATK_CD",buff.ATK_CD)
info.equip_ap=buff.ATK