载入中...
搜索中...
未找到
Optional modifiers for a single loot roll. 更多...
#include <LootSystem.h>
Public 属性 | |
| double | luck = 0.0 |
| Multiplicative chance boost for Independent tables. | |
详细描述
Optional modifiers for a single loot roll.
在文件 LootSystem.h 第 50 行定义.
类成员变量说明
◆ luck
| double eve::rpg::LootRollRequest::luck = 0.0 |
Multiplicative chance boost for Independent tables.
- 备注
- effectiveChance = clamp(chance * (1 + luck), 0, 1). Must be finite and >= -1. Weighted tables ignore luck (weights stay relative).
在文件 LootSystem.h 第 56 行定义.
该结构体的文档由以下文件生成:
- src/modules/rpg/LootSystem.h