需要修复 英雄目标错误
This commit is contained in:
@@ -44,43 +44,32 @@ export class SingletonModuleComp extends ecs.Comp {
|
||||
{x:-BoxSet.CSKILL_X+110,y:BoxSet.CSKILL_Y+55,eid:0},
|
||||
{x:-BoxSet.CSKILL_X+165,y:BoxSet.CSKILL_Y+55,eid:0},
|
||||
];
|
||||
role_heros: any = [
|
||||
{x:BoxSet.ROLE_FUX,y:50,eid:0},
|
||||
{x:BoxSet.ROLE_FUX,y:0,eid:0},
|
||||
{x:BoxSet.ROLE_FUX,y:-50,eid:0},
|
||||
|
||||
{x:BoxSet.ROLE_FUX+40,y:50,eid:0},
|
||||
{x:BoxSet.ROLE_FUX+40,y:0,eid:0},
|
||||
{x:BoxSet.ROLE_FUX+40,y:-50,eid:0},
|
||||
|
||||
{x:BoxSet.ROLE_BUX,y:50,eid:0},
|
||||
{x:BoxSet.ROLE_BUX,y:0,eid:0},
|
||||
{x:BoxSet.ROLE_BUX,y:-50,eid:0},
|
||||
|
||||
{x:BoxSet.ROLE_BUX-40,y:50,eid:0},
|
||||
{x:BoxSet.ROLE_BUX-40,y:0,eid:0},
|
||||
{x:BoxSet.ROLE_BUX-40,y:-50,eid:0},
|
||||
|
||||
];
|
||||
monster_buffs: any = [];
|
||||
/** 游戏主角 */
|
||||
Role: Role = null;
|
||||
t_monster:any={eid:0,pos:v3(0,0,0)};
|
||||
t_hero:any={eid:0,pos:v3(0,0,0)};
|
||||
/** 游戏数据 */
|
||||
// data:data = null!;
|
||||
/**怪物数据 数组 */
|
||||
/**heros 数据 */
|
||||
|
||||
heros:any = [];
|
||||
monsters:any = [];
|
||||
skills:any = []
|
||||
sk_info:any = []
|
||||
monsters_dead:any = []
|
||||
heros_dead:any = []
|
||||
least_hp_monster_eid:number=0;
|
||||
least_hp_monster_hp:number=1000;
|
||||
least_hp_hero_eid:number=0;
|
||||
least_hp_hero_hp:number=1000;
|
||||
hero_pos:any=[
|
||||
{x:-320,y:70},
|
||||
{x:-320,y:0},
|
||||
{x:-320,y:-70},
|
||||
{x:-320,y:0},
|
||||
{x:-320,y:0},
|
||||
{x:-320,y:0},
|
||||
]
|
||||
enemy_pos:any =[
|
||||
{x:320,y:70},
|
||||
{x:320,y:0},
|
||||
{x:320,y:-70},
|
||||
{x:320,y:0},
|
||||
{x:320,y:0},
|
||||
{x:320,y:0},
|
||||
]
|
||||
vm_data: any = {
|
||||
name : "纸片精灵大乱斗",
|
||||
game_over:false,
|
||||
|
||||
@@ -1,11 +1,8 @@
|
||||
export const MissionNum = [1,2]
|
||||
export const MissionNum = [1]
|
||||
export const MonsetList = {
|
||||
1:{
|
||||
1:[1031,1032,1033,1011,1012,1013],
|
||||
},
|
||||
2:{
|
||||
1:[1011,1012,1013,1031,1032,1033,],
|
||||
},
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ export const HeroSet = {
|
||||
max_skill: "精准打击", skill_uuid: 9001, max_skill_uuid: 2003, word: "守护", info: "自身护盾", atktype: 1,
|
||||
},
|
||||
9011: {
|
||||
uuid: 9004, path: "m1", type: 1, level: 1,cost:2, name: "冰法", atk: 15, hp: 20, atk_dis: 300, atk_cd: 2.5, power: 0, power_max: 10, speed: 30,
|
||||
uuid: 9004, path: "m1", type: 3, level: 1,cost:2, name: "冰法", atk: 15, hp: 20, atk_dis: 300, atk_cd: 2.5, power: 0, power_max: 10, speed: 30,
|
||||
max_skill: "寒冰箭", skill_uuid: 9002, max_skill_uuid: 1002, word: "守护", info: "自身护盾", atktype: 1,
|
||||
},
|
||||
9021: {
|
||||
@@ -25,7 +25,7 @@ export const HeroSet = {
|
||||
|
||||
|
||||
9041: {
|
||||
uuid: 9009, path: "arc1", type: 3, level: 1,cost:2, name: "弓箭手", atk: 5, hp: 30, atk_dis: 200, atk_cd: 1.5, power: 0, power_max: 10, speed: 30,
|
||||
uuid: 9009, path: "arc1", type: 2, level: 1,cost:2, name: "弓箭手", atk: 5, hp: 30, atk_dis: 200, atk_cd: 1.5, power: 0, power_max: 10, speed: 30,
|
||||
max_skill: "精准射击", skill_uuid: 9003, max_skill_uuid: 1003, word: "狂暴", info: "全体攻击", atktype: 2
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user