技能添加

This commit is contained in:
2025-07-24 23:43:22 +08:00
parent 81a45e4387
commit a5a0c26e8f
27 changed files with 9664 additions and 1230 deletions

View File

@@ -280,13 +280,10 @@ export const SkillSet = {
TGroup:TGroup.Enemy,SType:SType.damage,act:"atk",DTType:DTType.single,CdType:CdType.cd,AType:AType.fixedStart,RType:RType.linear,EType:EType.animationEnd,fname:"max",flash:false,with:0,
debuff:0,deV:0,deC:0,deR:100,in:8,ap:100,cd:5,hit:1,hited:0.2,buV:0,buC:0,buR:100,speed:720,cost:10,info:"向最前方敌人扔出石斧,造成100%攻击的伤害"},
6020:{uuid:6020,name:"冰暴",for_hero:true,sp_name:"bingyu",path:"3135",quality:Quality.BLUE, TType:TType.Frontline,maxC:1,
TGroup:TGroup.Ally,SType:SType.damage,act:"atk",DTType:DTType.range,CdType:2,AType:AType.fixedEnd,RType:RType.fixed,EType:EType.timeEnd,fname:"max",flash:false,with:90,
debuff:4,deV:0,deC:0,deR:100,in:4,ap:80,cd:5,hit:1,hited:1,buV:0,buC:0,buR:100,speed:720,cost:10,info:"射出能量暴风箭攻击最前方范围敌人,每波造成80%攻击的伤害"},
6021:{uuid:6021,name:"火龙",for_hero:true,sp_name:"firequan",path:"3061",quality:Quality.BLUE, TType:TType.Frontline,maxC:1,
6021:{uuid:6021,name:"烈火护盾",for_hero:true,sp_name:"max_firedun",path:"3061",quality:Quality.BLUE, TType:TType.Frontline,maxC:1,
TGroup:TGroup.Ally,SType:SType.damage,act:"atk",DTType:DTType.range,CdType:2,AType:AType.linear,RType:RType.linear,EType:EType.timeEnd,fname:"max",flash:false,with:90,
debuff:0,deV:0,deC:0,deR:100,in:10,ap:100,cd:5,hit:1,hited:1,buV:0,buC:0,buR:100,speed:80,cost:10,info:"召唤烈焰攻击前方敌人,造成200%攻击的伤害,烈焰维持3秒"},
debuff:0,deV:0,deC:0,deR:100,in:10,ap:100,cd:5,hit:1,hited:1,buV:0,buC:0,buR:100,speed:80,cost:10,info:"召唤烈焰保护英雄,持续10秒,每秒对范围内的敌人造成100%伤害"},
6022:{uuid:6022,name:"大火球" ,for_hero:true,sp_name:"fire",path:"3039",quality:Quality.GREEN, TType:TType.Frontline,maxC:1,
TGroup:TGroup.Enemy,SType:SType.damage,act:"atk",DTType:DTType.single,CdType:2,AType:AType.linear,RType:RType.linear,EType:EType.collision,fname:"max",flash:false,with:90,

View File

@@ -120,7 +120,7 @@ export class SkillCom extends CCComp {
this.executeTwoStageMovement();
break;
case AType.fixedEnd:
this.node.setPosition(this.targetPos.x,this.targetPos.y,0)
this.node.setPosition(this.targetPos.x > 360?300:this.targetPos.x,0,0)
if(this.node.getComponent(Animation)){
let anim = this.node.getComponent(Animation);
//console.log("[SkillCom]:has anim",anim)
@@ -137,7 +137,8 @@ export class SkillCom extends CCComp {
}
break;
case AType.fixedStart: //
this.node.setPosition(this.startPos.x,this.startPos.y,0)
this.node.setPosition(this.startPos.x > 360?300:this.startPos.x,0,0)
if(this.node.getComponent(Animation)){
let anim = this.node.getComponent(Animation);