|
@@ -301,7 +301,7 @@ export class car extends Component {
|
|
|
// Tween.stopAllByTarget(this.game_manager.getBuffShowView().getBuffXi())
|
|
|
// this.cancelScheduleBuffXi()
|
|
|
// tween(this.game_manager.getBuffShowView().getBuffXi()).delay(tools.game_config.buff_xi).call(this.cancelScheduleBuffXi.bind(this)).start()
|
|
|
- this.game_manager.getBuffShowView().showBuffXi(this.cancelScheduleBuffXi.bind(this),tools.game_config.buff_xi)
|
|
|
+ this.game_manager.getBuffShowView().showBuffXi(this.cancelScheduleBuffXi.bind(this),tools.game_config.buff_xi+this.mCarData.attribute.n_magnet_cd)
|
|
|
audioManager.Instance().playSound(config.AUDIO.buff_xi)
|
|
|
this.spr.getComponent(buff_manager).updateStatus(config.SHOW_BUFF_STATUS.XI)
|
|
|
this.buff_xi_status = true;
|
|
@@ -316,11 +316,11 @@ export class car extends Component {
|
|
|
}
|
|
|
|
|
|
public buff_xing(){
|
|
|
- this.addSpeedNum(tools.game_config.buff_xi_add_speed+this.mCarData.attribute.n_star_cd)
|
|
|
+ this.addSpeedNum(tools.game_config.buff_xi_add_speed)
|
|
|
// Tween.stopAllByTarget(this.game_manager.getBuffShowView().getBuffXing())
|
|
|
// this.cancelScheduleBuffXing()
|
|
|
// tween(this.game_manager.getBuffShowView().getBuffXing()).delay(tools.game_config.buff_xing).call(this.cancelScheduleBuffXing.bind(this)).start()
|
|
|
- this.game_manager.getBuffShowView().showBuffXing(this.cancelScheduleBuffXing.bind(this),tools.game_config.buff_xing)
|
|
|
+ this.game_manager.getBuffShowView().showBuffXing(this.cancelScheduleBuffXing.bind(this),tools.game_config.buff_xing+this.mCarData.attribute.n_star_cd)
|
|
|
audioManager.Instance().playSound(config.AUDIO.buff_xing)
|
|
|
this.spr.getComponent(buff_manager).updateStatus(config.SHOW_BUFF_STATUS.XING)
|
|
|
this.buff_xing_status = true;
|
|
@@ -336,12 +336,12 @@ export class car extends Component {
|
|
|
}
|
|
|
|
|
|
public buff_dun(time:number =null){
|
|
|
- this.addSpeedNum(tools.game_config.buff_dun_add_speed+this.mCarData.attribute.n_shield_cd)
|
|
|
+ this.addSpeedNum(tools.game_config.buff_dun_add_speed)
|
|
|
// Tween.stopAllByTarget(this.game_manager.getBuffShowView().getBuffDun())
|
|
|
// this.cancelScheduleBuffDun()
|
|
|
// tween(this.game_manager.getBuffShowView().getBuffDun()).delay(tools.game_config.buff_dun).call(this.cancelScheduleBuffDun.bind(this)).start()
|
|
|
// this.scheduleOnce(this.cancelScheduleBuffDun.bind(this),tools.game_config.buff_dun)
|
|
|
- this.game_manager.getBuffShowView().showBuffDun(this.cancelScheduleBuffDun.bind(this),time!=null?time:tools.game_config.buff_dun)
|
|
|
+ this.game_manager.getBuffShowView().showBuffDun(this.cancelScheduleBuffDun.bind(this),time!=null?time:(tools.game_config.buff_dun+this.mCarData.attribute.n_shield_cd))
|
|
|
audioManager.Instance().playSound(config.AUDIO.buff_dun)
|
|
|
this.spr.getComponent(buff_manager).updateStatus(config.SHOW_BUFF_STATUS.DUN)
|
|
|
this.buff_dun_status = true;
|