For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /server/classes/SetItemCountFunction.md.

Class: SetItemCountFunction

Beta

修改战利品池条目掉落物品数量的战利品物品函数。

Loot item function that modifies the number items that drop from the loot pool entry.

Extends

Properties

conditions

readonly conditions: LootItemCondition[]

Beta

Inherited from

LootItemFunction.conditions


count

readonly count: NumberRange

Beta

Remarks

函数随机选择掉落物品数量的范围,包含最小值和最大值。

The value range from which the function randomly chooses the number of items to drop. Contains minimum and maximum values.