This commit is contained in:
2024-09-11 18:00:43 +08:00
parent ef4e502adf
commit 4501876c37
44 changed files with 518 additions and 4634 deletions

View File

@@ -127,6 +127,16 @@ export class CSkillComp extends CCComp {
}
// oops.message.dispatchEvent("add_buff",{uuid:this.skill_uuid,eid:0,group:BoxSet.HERO})
}
single_least_add_buff(target:any,uuid:number,args:any) {
let buff = SkillSet[uuid]
if(buff.hp > 0 ){
target.HeroView.add_hp(buff.hp+args.hp)
}
if(buff.atk > 0 ){
target.HeroView.add_atk(buff.atk+args.atk,buff.bsd)
}
}
/** 全局消息逻辑处理 */
// private onHandler(event: string, args: any) {
// switch (event) {