更新了技能,需要修复 全体技能会给与敌方伤害问题

This commit is contained in:
2025-01-15 16:56:48 +08:00
parent 1f1cbf7477
commit 8aa5a51b83
13 changed files with 964 additions and 15 deletions

View File

@@ -20,7 +20,7 @@ export const MissionSet = [
export const Missions = [
[5201,5201,5202,5203,5204,5205,5206,5207,5208,5209,5210,5211,5212,5219,5220,5221],
[5213,5213,5214,5215,5216,5217,5218],
[5015,5016],
[5015,5003],
]

View File

@@ -144,7 +144,7 @@ export const SkillSet={
6027:{uuid: 6027,path: "6027",type:1, tg:3,fname:"",flash:false,with:false,debuff:8,depb:100,debtime:2,derate:0,in:3,count:1,def:0,apup:0,ap:500,mhp:0,hp:0,cd:1,shield:0,speed:500,sonsk:0,
name: "国王霸气",sp_name:"kingba",info:"释放烈火剑气攻击前方地方,对前方敌人造成3段伤害"},
6028:{uuid: 6028,path: "6028",type:1, tg:0,fname:"",flash:false,with:false,debuff:0,depb:0,debtime:0,derate:0,in:2,count:1,def:0,apup:0,ap:100,mhp:0,hp:10,cd:2,shield:2,speed:350, sonsk:0,
6028:{uuid: 6028,path: "6028",type:1, tg:2,fname:"",flash:false,with:false,debuff:0,depb:0,debtime:0,derate:0,in:2,count:1,def:0,apup:0,ap:100,mhp:0,hp:10,cd:2,shield:2,speed:350, sonsk:0,
name: "自然庇佑",sp_name:"heath2",info:"为全体友方恢复施法者最大生命值10%的生命,和抵御2次攻击的护盾"},
6029:{uuid: 6029,path: "6029",type:1, tg:3,fname:"",flash:false,with:false,debuff:8,depb:50,debtime:2,derate:0,in:3,count:1,def:0,apup:0,ap:500,mhp:0,hp:0,cd:1,shield:0,speed:500,sonsk:0,
name: "潮汐",sp_name:"fireys",info:"释放烈火剑气攻击前方地方,对前方敌人造成3段伤害"},

View File

@@ -703,8 +703,7 @@ export class HeroViewComp extends CCComp {
}
do_all_buff(sk:number){
let skill = ecs.getEntity<Skill>(Skill);
let pos=v3(-320,0)
if(this.box_group==BoxSet.MONSTER) pos=v3(320,0)
let pos=v3(0,0)
let t_pos = pos
this.to_console("to_all_buff:"+sk)
let is_crit=this.check_crit()

View File

@@ -0,0 +1,17 @@
import { _decorator, Component, Node } from 'cc';
import { SkillCom } from './SkillCom';
import { BoxSet } from '../common/config/BoxSet';
const { ccclass, property } = _decorator;
@ccclass('StartCom')
export class StartCom extends Component {
start() {
this.node.setPosition(0,0)
}
update(deltaTime: number) {
}
}

View File

@@ -0,0 +1,9 @@
{
"ver": "4.0.23",
"importer": "typescript",
"imported": true,
"uuid": "61a5611c-1772-4c97-be58-795e13f763f3",
"files": [],
"subMetas": {},
"userData": {}
}