Skip to main content

Int To Float (Altered)

Transforms an Int Stat into a Float value after applying a predefined modification.

See Alter Stat Value Adapters for more information.

FieldDescription
ModifierThe value applied to the Int after conversion.
Modify TypeFlat, Rate or Multiplier — see Alter.

Example​

In Kodes, Poison deals damage per stack. LinkerDefinition_PoisonDamageByStack_R3D multiplies the poison damage by the Int Poison stack count, which first has to become a Float:

FieldValue
AdapterStatValueAdapter_IntStackToMultiplier_R3D
Modify TypeMultiplier
Modifier1
Incoming Poison = 3→ 3.0 — the Linker multiplies the damage by 3