加血修复
This commit is contained in:
@@ -1415,8 +1415,8 @@
|
|||||||
},
|
},
|
||||||
"_lpos": {
|
"_lpos": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 40,
|
"x": 35,
|
||||||
"y": -130,
|
"y": -140,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_lrot": {
|
"_lrot": {
|
||||||
@@ -1805,8 +1805,8 @@
|
|||||||
},
|
},
|
||||||
"_lpos": {
|
"_lpos": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": -40,
|
"x": -35,
|
||||||
"y": -130,
|
"y": -140,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_lrot": {
|
"_lrot": {
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -195,8 +195,8 @@ export class HeroViewComp extends CCComp {
|
|||||||
}
|
}
|
||||||
|
|
||||||
add_hp_max(hprate: number=0){
|
add_hp_max(hprate: number=0){
|
||||||
this.hp_max += Math.floor(hprate) ;
|
this.hp_max += Math.floor(hprate) ;
|
||||||
this.add_hp2(hprate)
|
this.hp += Math.floor(hprate) ;
|
||||||
this.BUFFCOMP.update_info_hp()
|
this.BUFFCOMP.update_info_hp()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user