dd
This commit is contained in:
@@ -2,7 +2,7 @@ import { _decorator, CCBoolean, CCInteger, instantiate, Node, Prefab, v3, Vec3 }
|
||||
import { ecs } from "../../../../extensions/oops-plugin-framework/assets/libs/ecs/ECS";
|
||||
import { CCComp } from "../../../../extensions/oops-plugin-framework/assets/module/common/CCComp";
|
||||
import { HeroViewComp } from "../hero/HeroViewComp";
|
||||
import { BuffAttr, RType, SkillSet } from "../common/config/SkillSet";
|
||||
import { getAttrs, RType, SkillSet } from "../common/config/SkillSet";
|
||||
import { AtkConCom } from "./AtkConCom";
|
||||
import { BoxSet } from "../common/config/BoxSet";
|
||||
|
||||
@@ -43,23 +43,7 @@ export class SkillViewCom extends CCComp {
|
||||
group:0
|
||||
fac: 0
|
||||
// 战斗相关运行时数据
|
||||
ap:number=0;
|
||||
burn_count:number=0;
|
||||
burn_value:number=0;
|
||||
stun_time:number=0;
|
||||
stun_ratio:number=0;
|
||||
frost_ratio:number=0;
|
||||
frost_time:number=0;
|
||||
run_time:number=0;
|
||||
hited_time:number=0;
|
||||
hit_count:number=0;
|
||||
caster_crit:number=0;
|
||||
caster_crit_d:number=0;
|
||||
puncture:number=0;
|
||||
puncture_damage:number=0;
|
||||
debuff_up:number=0;
|
||||
debuff_value:number=0;
|
||||
debuff_count:number=0;
|
||||
Attrs:any=null
|
||||
targetPos:any[]=null
|
||||
start() {
|
||||
// var entity = this.ent as ecs.Entity; // ecs.Entity 可转为当前模块的具体实体对象
|
||||
@@ -126,20 +110,8 @@ export class SkillViewCom extends CCComp {
|
||||
group: this.group,
|
||||
fac: this.fac,
|
||||
// 技能数值
|
||||
ap: this.ap,
|
||||
caster_crit: this.caster_crit,
|
||||
caster_crit_d: this.caster_crit_d,
|
||||
puncture: this.puncture,
|
||||
puncture_damage: this.puncture_damage,
|
||||
burn_count: this.burn_count,
|
||||
burn_value: this.burn_value,
|
||||
stun_time: this.stun_time,
|
||||
stun_ratio: this.stun_ratio,
|
||||
frost_time: this.frost_time,
|
||||
frost_ratio: this.frost_ratio,
|
||||
debuff_up: this.debuff_up,
|
||||
debuff_value: this.debuff_value,
|
||||
debuff_count: this.debuff_count,
|
||||
Attrs:this.Attrs
|
||||
|
||||
});
|
||||
switch(this.runType){
|
||||
case RType.linear:
|
||||
|
||||
Reference in New Issue
Block a user