物品图标

This commit is contained in:
walkpan
2024-08-29 23:59:27 +08:00
parent 01fa44c19d
commit 6b4789d07c
22 changed files with 1089 additions and 903 deletions

View File

@@ -38,6 +38,8 @@ export class RoleViewComp extends CCComp {
atk:number = 10;
skill_uuid:number = 9003;
max_skill_uuid:number = 1001;
shield:number = 0;
shield_max:number = 200;
skin="Character01";
private atk_time:Timer = new Timer(1);
@@ -79,6 +81,9 @@ export class RoleViewComp extends CCComp {
}
}
add_hp(hp:number){
console.log("role add hp",hp);
}
setSkin(){
this.as.setSkin(this.skin);