需要修复 英雄目标错误
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,
|
||||
|
||||
Reference in New Issue
Block a user