提交代码

This commit is contained in:
PC-20230316NUNE\Administrator
2024-01-17 18:36:59 +08:00
parent 8ad2313502
commit 1b4db3c980
46 changed files with 1518 additions and 667 deletions

View File

@@ -61,6 +61,8 @@ export class TbGRole {
this.roleAttackRange = _json_.roleAttackRange
if (_json_.roleHight === undefined) { throw new Error() }
this.roleHight = _json_.roleHight
if (_json_.roleScale === undefined) { throw new Error() }
this.roleScale = _json_.roleScale
}
/**
@@ -87,6 +89,10 @@ export class TbGRole {
* 角色高度
*/
readonly roleHight: number
/**
* 宠物默认缩放
*/
readonly roleScale: number
resolve(tables:Tables)
{
@@ -928,8 +934,12 @@ export class TbGSysDungeon {
this.name = _json_.name
if (_json_.banner === undefined) { throw new Error() }
this.banner = _json_.banner
if (_json_.type === undefined) { throw new Error() }
this.type = _json_.type
if (_json_.tigs === undefined) { throw new Error() }
this.tigs = _json_.tigs
if (_json_.consume === undefined) { throw new Error() }
this.consume = new TbGEntity.TResource(_json_.consume)
}
/**
@@ -944,10 +954,18 @@ export class TbGSysDungeon {
* 副本封面
*/
readonly banner: string
/**
* 游戏模式
*/
readonly type: string
/**
* 类标识
*/
readonly tigs: string
/**
* 消耗资源
*/
readonly consume: TbGEntity.TResource
resolve(tables:Tables)
{