dd
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user