Stats Editor

Going over the stats editor.

Stat IDs and attributes can be created from the Stats tab of the Inventool editor window. Stat IDs are required to add stats, while attributes are optional.

You can open the stats editor from Window > Inventool > Stats.

The stats editor window allows you to edit the stats of Items and GameObjects that have the Character Stats component.

Sections

There are multiple sections to the stats editor, each with it's own purpose.

Item Selection

At the top right, there is a button that allows you to search and select and item.

Target Info

At the top left, it displays the information of the target.

Weight

The weight section simply allows you to set the weight.

Properties

Name
Description

Weight

The weight of the target.

Level

The level section allows you to set the current and max level of the target. Changing either will affect all scaling properties.

Properties

Name
Description

Level

The current level.

Max Level

The max level.

Experience

The experience section can be used to set the experience scaling. See Scaling Properties.

Durability

The durability section can be used to set the durability scaling. See Scaling Properties.

Enchantment

The enchantment section is only visible when the target is an item. You can use the properties to change the enchantment behavior.

Properties

Name
Description

Enchantment Limit

A hard limit on the number of times this item can be enchanted. This is only relevant if the enchantment limit type is set to individual in settings.

Type

Controls how this enchantment affects the stats of an enchantable item.

Multiplier

The stat multiplier. Relevant when the enchantment type is set to Multiplier.

Currency

The currency type of the cost.

Cost

The amount this enchantment will cost.

Stats

The stats section is simply a list of stats.

Adding Stats

Stats can be added with the '+' button at the bottom.

Stat

This block represents a stat. You can use the up and down arrows to change its index in the list. The trash bin button will remove it from the list. Inside the box are 2 buttons: the one on the left will set the stat identity, and the one on the right will set the attribute.

Properties

Name
Description

Type

The stat combine type.

A stat is a scaling property. Check out Scaling Properties to learn about the other fields.

Hide Stats

The 'Hide Stats' toggle will prevent the stats from being displayed in the in-game UI. This is useful if you'd like them to be displayed in the description with Stat Text Tags instead. This toggle is only visible when the target is an item.

Scaling Properties

A scaling property is a numeric property that scales with the target's level. It has multiple sub properties, which are explained in the table below.

Name
Description

Scaling Type

Controls how scaling is applied.

Initial

The starting value.

Increment

The scaling amount used for linear scaling.

Min

The min value used for curved scaling.

Max

The max value used for curved scaling.

Curve

The scaling curve used when the Scaling Type is set to Curve. This curve is used to interpolate from the min value to the max value based on the level.

Each scaling property shows two numbers on the bottom. "Start" refers to the value at the current level. "Max" refers to the value at the max level.

Scaling properties need to be managed manually through code by working with either the Stat Profile (for items) or Character Stats classes.

Scripting Side

Stats

Last updated