完成新的 卡牌栏,完成物品使用,接下来需要英雄召唤
This commit is contained in:
@@ -99,7 +99,7 @@ export class CSkillComp extends CCComp {
|
||||
// 94:role 临时buff
|
||||
// 95:role 永久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,
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user