重置配置表

This commit is contained in:
DESKTOP-5RP3AKU\Jisol
2023-11-06 02:25:02 +08:00
parent e8f8cb3ce9
commit e24dded990
154 changed files with 1214 additions and 26044 deletions

View File

@@ -5,9 +5,9 @@ import { Prefab } from "cc";
import { instantiate } from "cc";
import { Vec2 } from "cc";
import { GRoleUtil } from "../entity/GRole";
import { TableGRole } from "../../../resources/config/ts/TableGRole";
import GRoleDefault from "../base/role/GRoleDefault";
import { v3 } from "cc";
import { TB } from "../../../resources/config/data/schema";
const { ccclass, property } = _decorator;
//PVP 角色
@@ -21,7 +21,7 @@ export interface GPVPModePlayerInfo{
//阵法
tactical: GTactical;
//宠物列表
roles: TableGRole[];
roles: TB.TbGRole[];
}
/**
@@ -79,7 +79,7 @@ export default class GPVPMode extends GBaseMode<{}>{
}
//生成角色
onGenRole(type: GPVPModePlayerEnum,index:number,info:TableGRole) {
onGenRole(type: GPVPModePlayerEnum,index:number,info:TB.TbGRole) {
let tactical = this.getInfo(type).tactical;
let pos:Vec2 = this.getInfo(type).tactical.getPosition(index);