提交配置表

This commit is contained in:
DESKTOP-5RP3AKU\Jisol
2024-01-07 03:24:10 +08:00
parent e85bd85cde
commit 2a02dc2914
11 changed files with 20751 additions and 2085 deletions
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -716,10 +716,16 @@ export class TbGRoleEquip {
this.quality = _json_.quality
if (_json_.icon === undefined) { throw new Error() }
this.icon = _json_.icon
if (_json_.levelFactors === undefined) { throw new Error() }
{ this.levelFactors = []; for(let _ele of _json_.levelFactors) { let _e; _e = _ele; this.levelFactors.push(_e);}}
if (_json_.levelBaseAttributesFactors === undefined) { throw new Error() }
{ this.levelBaseAttributesFactors = []; for(let _ele of _json_.levelBaseAttributesFactors) { let _e; _e = _ele; this.levelBaseAttributesFactors.push(_e);}}
if (_json_.baseAttributes === undefined) { throw new Error() }
{ this.baseAttributes = []; for(let _ele of _json_.baseAttributes) { let _e; { _e = []; for(let _ele of _ele) { let _e; _e = new TbGEntity.TAttributeValue(_ele); _e.push(_e);}}; this.baseAttributes.push(_e);}}
{ this.baseAttributes = []; for(let _ele of _json_.baseAttributes) { let _e; { _e = []; for(let _ele1 of _ele) { let _e1; _e1 = new TbGEntity.TAttributeValue(_ele1); _e.push(_e1);}}; this.baseAttributes.push(_e);}}
if (_json_.levelHighAttributesFactors === undefined) { throw new Error() }
{ this.levelHighAttributesFactors = []; for(let _ele of _json_.levelHighAttributesFactors) { let _e; _e = _ele; this.levelHighAttributesFactors.push(_e);}}
if (_json_.highAttributes === undefined) { throw new Error() }
{ this.highAttributes = []; for(let _ele of _json_.highAttributes) { let _e; { _e = []; for(let _ele1 of _ele) { let _e1; _e1 = new TbGEntity.TAttributeValue(_ele1); _e.push(_e1);}}; this.highAttributes.push(_e);}}
if (_json_.highAttributeSize === undefined) { throw new Error() }
{ this.highAttributeSize = []; for(let _ele of _json_.highAttributeSize) { let _e; _e = _ele; this.highAttributeSize.push(_e);}}
}
/**
@@ -743,13 +749,25 @@ export class TbGRoleEquip {
*/
readonly icon: string
/**
* 等级系数 (属性 * (等级 * 系数))
* 基础等级属性系数 (属性 * (等级 * 系数))
*/
readonly levelFactors: number[]
readonly levelBaseAttributesFactors: number[]
/**
* 基础属性(value - value 区间)
*/
readonly baseAttributes: TbGEntity.TAttributeValue[][]
/**
* 高级等级属性系数 (属性 * (等级 * 系数))
*/
readonly levelHighAttributesFactors: number[]
/**
* 高级属性(value - value 区间)
*/
readonly highAttributes: TbGEntity.TAttributeValue[][]
/**
* 高级词条随机数量
*/
readonly highAttributeSize: number[]
resolve(tables:Tables)
{