Skip to main content

Value Adapter

Transforms an input value into a format suitable for further processing.

Value Adapters do not read Stats themselves. They are used inside a Chain, a Stat Chain or a Tree Operation, and wherever a field takes a Value Adapter (a Skill event's Actor Adapter, for example).

Example​

A knockback pushes the target 4 m away from the attacker. A Tree Operation reads both positions; Value Adapters do the vector maths:

StepValue AdapterValue
1the Target's Position and the Source's Position(4, 0, 3) and (0, 0, 0)
2Direction (Incoming To Sec)(0.8, 0, 0.6)
3Alter Vector3, Multiplier (4, 4, 4)(3.2, 0, 2.4)
4Sum with the Target's Position(7.2, 0, 5.4) — the knockback end point