buff 路径需要修复
This commit is contained in:
@@ -567,6 +567,8 @@ export class HeroViewComp extends CCComp {
|
||||
console.log("to_add_buff:"+hero.hero_name+" "+sk);
|
||||
let is_crit=this.check_crit()
|
||||
skill.load(pos,this.box_group,this.node,sk,this.ap_max,t_pos,is_crit,this.crit_add);
|
||||
console.log(this.scale+this.hero_name+"使用buff:"+sk+" t_pos:"+t_pos+" box:"+this.box_group,);
|
||||
|
||||
if(SkillSet[sk].hp > 0){ //buff加血
|
||||
let increase_hp=Math.floor(SkillSet[sk].hp*this.ap_max)
|
||||
hero.add_hp(increase_hp)
|
||||
|
||||
Reference in New Issue
Block a user