Skill Rolls
The ability definition describes what the action does. The item granting that action supplies how the character rolls and scales it through ItemSkillRoll.
new ItemAbilityReference(
"community.example:flame_cleave",
new ItemSkillRoll(
minValue: .5m,
maxValue: 1m,
accuracy: 0,
stat: ItemStat.STR,
rolls: 3))
| Field | Meaning |
|---|---|
MinValue / MaxValue |
Native value or damage scaling range |
Accuracy |
Modifier applied to the native roll |
Stat |
Governing FTK2 stat, such as STR, INT, or AWR |
Rolls |
Number of roll slots |
Ammo |
Optional action ammunition value |
A null roll preserves a native parameterless action. Set AbilityGameplayOverrides.RequiresSkillRoll consistently with the chosen template and intended item action.
The 0.5.9 runtime test correlated Flame Cleave's item skill-roll entry with native equipped and combat enumerations before accepting execution.