|
@@ -97,7 +97,7 @@ export class car extends Component {
|
|
this.move_speed_y = tools.game_config.car_origin_speed
|
|
this.move_speed_y = tools.game_config.car_origin_speed
|
|
this.hp = tools.game_config.car_init_num
|
|
this.hp = tools.game_config.car_init_num
|
|
this.hp_bar.getComponent(hp_bar).updateHp(this.hp)
|
|
this.hp_bar.getComponent(hp_bar).updateHp(this.hp)
|
|
- this.hp = 100000
|
|
|
|
|
|
+ // this.hp = 100000
|
|
if(isReLife){
|
|
if(isReLife){
|
|
|
|
|
|
}else{
|
|
}else{
|