B1RabbitHoleStatRecovery
- Defines a need stat recovery applied gradually while a character stays in a rabbit hole.
* The stat rises by RecoveryPerGameMinute instead of decaying, and stops at TargetPercent, at MaxDurationMinutes, or when the character leaves.
| Property | Type | Description | Metadata |
|---|---|---|---|
| StatId | FName | Need stat to recover. Only motive need stats are allowed. | Category: B1RabbitHoleStatRecovery Foreign: Stat.Id |
| TriggerType | EB1RabbitHoleRecoveryTrigger | Condition that starts the recovery. | Category: B1RabbitHoleStatRecovery |
| TimeHHMM | int32 | Time trigger only. Game time (HHMM) when the recovery starts. | Category: B1RabbitHoleStatRecovery |
| TriggerPercent | float | Threshold trigger only. The recovery starts when the stat is at or below this ratio of its range (0~1). | Category: B1RabbitHoleStatRecovery ClampMax: 1 ClampMin: 0 |
| InteractionId | FName | Interaction trigger only. Rabbit hole interaction Id in this row's RabbitHoleInteractionList. | Category: B1RabbitHoleStatRecovery |
| RecoveryPerGameMinute | float | Stat value recovered per game minute. Not scaled by simulation LOD. | Category: B1RabbitHoleStatRecovery ClampMin: 0 |
| TargetPercent | float | The recovery ends when the stat reaches this ratio of its range (0~1). | Category: B1RabbitHoleStatRecovery ClampMax: 1 ClampMin: 0 |
| MaxDurationMinutes | int32 | Maximum recovery duration in game minutes. 0 means no limit, which the Time trigger does not allow. | Category: B1RabbitHoleStatRecovery ClampMin: 0 |
| bOncePerVisit | bool | If true, the recovery starts at most once per rabbit hole visit. | Category: B1RabbitHoleStatRecovery |
| OnStartScriptId | FName | Optional presentation script executed when the recovery starts. Do not change need stats here. | Category: B1RabbitHoleStatRecovery Foreign: Script_RabbitHole.Id |
| OnFinishScriptId | FName | Optional presentation script executed when the recovery ends or the character leaves. | Category: B1RabbitHoleStatRecovery Foreign: Script_RabbitHole.Id |