buff 优化 heroset 不再使用json

This commit is contained in:
2024-08-29 00:28:22 +08:00
parent 5094cb4f3c
commit 3ad7155a28
9 changed files with 563 additions and 54 deletions

View File

@@ -23,13 +23,13 @@ export class SingletonModuleComp extends ecs.Comp {
map: GameMap = null!;
player_buffs: any = [
{x:-BoxSet.CSKILL_X,y:BoxSet.CSKILL_Y,eid:0},
{x:-BoxSet.CSKILL_X+70,y:BoxSet.CSKILL_Y,eid:0},
{x:-BoxSet.CSKILL_X+140,y:BoxSet.CSKILL_Y,eid:0},
{x:-BoxSet.CSKILL_X+210,y:BoxSet.CSKILL_Y,eid:0},
{x:-BoxSet.CSKILL_X,y:BoxSet.CSKILL_Y-70,eid:0},
{x:-BoxSet.CSKILL_X+70,y:BoxSet.CSKILL_Y-70,eid:0},
{x:-BoxSet.CSKILL_X+140,y:BoxSet.CSKILL_Y-70,eid:0},
{x:-BoxSet.CSKILL_X+210,y:BoxSet.CSKILL_Y-70,eid:0},
{x:-BoxSet.CSKILL_X,y:BoxSet.CSKILL_Y+55,eid:0},
{x:-BoxSet.CSKILL_X,y:BoxSet.CSKILL_Y+110,eid:0},
{x:-BoxSet.CSKILL_X+55,y:BoxSet.CSKILL_Y,eid:0},
{x:-BoxSet.CSKILL_X+55,y:BoxSet.CSKILL_Y+55,eid:0},
{x:-BoxSet.CSKILL_X+55,y:BoxSet.CSKILL_Y+110,eid:0},
{x:-BoxSet.CSKILL_X,y:BoxSet.CSKILL_Y,eid:0},
{x:-BoxSet.CSKILL_X,y:BoxSet.CSKILL_Y,eid:0},
];
monster_buffs: any = [];
/** 游戏主角 */