完成新的 卡牌栏,完成物品使用,接下来需要英雄召唤

This commit is contained in:
walkpan
2024-09-10 21:05:52 +08:00
parent 77a168628a
commit f286a2f2b2
16 changed files with 1513 additions and 6088 deletions

View File

@@ -99,7 +99,7 @@ export class CSkillComp extends CCComp {
// 94role 临时buff
// 95role 永久buff
let uuid= this.skill_uuid;
let atk:number=smc.Role.RoleView.atk
let atk:number=smc.Role.RoleView.atk?smc.Role.RoleView.atk:0
let args:any = {
atk:atk*GameSet.ATK_TO_ATK_RATIO,
hp:atk*GameSet.ATK_TO_HP_RATIO,

View File

@@ -103,7 +103,7 @@ export class HeroCardViewComp extends CCComp {
node.active=false
node.getChildByName("data").getChildByName("shield").active=false
node.getChildByName("data").getChildByName("hp").active=false
}
private do_active_card_eid(event: string, args: any) {