更新一下const的使用
This commit is contained in:
@@ -7,7 +7,7 @@ export default class Actor {
|
||||
private lv: number = 0;
|
||||
private oldCe: number = 0;
|
||||
private star: number = 0;
|
||||
private fire: number = 0;
|
||||
private colorStar: number = 0;
|
||||
private equips: Array<any> = [];
|
||||
private conections: Array<{id: number;name: string;valid: boolean;}> = [];
|
||||
/**被动技能 */
|
||||
@@ -19,9 +19,9 @@ export default class Actor {
|
||||
this.lv = hero.lv;
|
||||
this.oldCe = hero.ce;
|
||||
this.star = hero.star;
|
||||
this.fire = hero.fire;
|
||||
this.colorStar = hero.colorStar;
|
||||
this.equips = hero.equips;
|
||||
console.log(this.hid, this.lv, this.oldCe, this.star, this.fire, this.conections);
|
||||
console.log(this.hid, this.lv, this.oldCe, this.star, this.colorStar, this.conections);
|
||||
this.updateActorEffect();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user