武器 击晕 冰冻 易伤 效果添加
This commit is contained in:
@@ -44,6 +44,12 @@ export class SkillCom extends CCComp {
|
||||
ap:number=0;
|
||||
heal:number=0;
|
||||
shield:number=0;
|
||||
burn_count:number=0;
|
||||
burn_value:number=0;
|
||||
stun_time:number=0;
|
||||
stun_ratto:number=0;
|
||||
frost_ratto:number=0;
|
||||
frost_time:number=0;
|
||||
FIGHTCON:FightConComp=null;
|
||||
run_time:number=0;
|
||||
hited_time:number=0;
|
||||
@@ -146,7 +152,10 @@ export class SkillCom extends CCComp {
|
||||
// console.log("[SkillCom]:onBeginContact hit_count:",this.hit_count,SkillSet[this.s_uuid].hit)
|
||||
// if(this.hit_count > 0&&!is_range) this.ap=this.ap*(50+this.puncture_damage)/100 // 穿刺后 伤害减半,过滤范围伤害
|
||||
if(target == null) return;
|
||||
target.do_atked(this.ap,this.caster_crit,this.caster_crit_d) // ap 及暴击 属性已经在skill.ts 处理
|
||||
target.do_atked(this.ap,this.caster_crit,this.caster_crit_d,
|
||||
this.burn_count,this.burn_value,
|
||||
this.stun_time,this.stun_ratto,
|
||||
this.frost_time,this.frost_ratto) // ap 及暴击 属性已经在skill.ts 处理
|
||||
console.log("[SkillCom]:single_damage",this.ap,this.caster_crit,this.caster_crit_d,this.hit_count)
|
||||
if(SkillSet[this.s_uuid].debuff>0){
|
||||
let deUP =this.get_debuff() // 因为不是每个技能都需要,debuff的增益在这里处理, ap 及暴击 属性已经在skill.ts 处理
|
||||
|
||||
Reference in New Issue
Block a user