dd
This commit is contained in:
@@ -44,8 +44,9 @@ export class HeroViewComp extends CCComp {
|
||||
is_atking:boolean = false;
|
||||
is_boss:boolean = false;
|
||||
is_big_boss:boolean = false;
|
||||
rate:number=0;
|
||||
r_up:number=0;
|
||||
ap_u:number=0;
|
||||
ap_ur:number=0;
|
||||
hp_up:number=0;
|
||||
hp: number = 100; /** 血量 */
|
||||
hp_max: number = 100; /** 最大血量 */
|
||||
hp_speed: number = 0; //每秒回复量
|
||||
@@ -132,8 +133,7 @@ export class HeroViewComp extends CCComp {
|
||||
// return
|
||||
// }
|
||||
if(this.timer.update(dt)){
|
||||
this.add_ap(10)
|
||||
this.add_hp_max(20)
|
||||
// this.add_ap(10)
|
||||
};
|
||||
if(this.ice_cd > 0){
|
||||
this.ice_cd -=dt;
|
||||
|
||||
Reference in New Issue
Block a user