Type Alias ItemSingleStatDetail
ItemSingleStatDetail:
| {
cap: number;
effectiveAmount: number;
fullAmount: number;
mode: "unmelded"
| "melded";
overcapAmount: 0;
}
| {
cap: number;
effectiveAmount: number;
fullAmount: number;
mode: "melded-overcapped"
| "melded-overcapped-major"
| "synced-down";
overcapAmount: number;
}
| {
cap: 0;
effectiveAmount: 0;
fullAmount: 0;
mode: "unequipped";
overcapAmount: 0;
}
Represents a single stat of an item (possibly equipped) or item slot.
'mode' is a general description of what is going on with the item/slot. 'unmelded' and 'synced-down' are self-explanatory. 'melded' means it is melded and is not overcapped at all. 'melded-overcapped' means that you're wasting a small amount of stats. See xivconstants' MATERIA_ACCEPTABLE_OVERCAP_LOSS. 'melded-overcapped-major' means that you're wasting a larger amount of stats via overcapped melds. 'unequipped' is only applicable when examining a slot rather than specific item. It means there is nothing equipped in that slot.
'effectiveAmount' is the amount of the stat actually being provided. 'fullAmount' is the amount that would be provided if not capped. 'overcapAmount' is how much is being lost by syncing down or overcapping materia. 'cap' is the cap.