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/SetDataFromColorIndexFunction.md.

Class: SetDataFromColorIndexFunction

Beta

根据颜色索引修改掉落物品数据值的战利品物品函数。如果未设置颜色索引,则默认为零。

Loot item function that modifies the dropped item's data value based on its color index. Defaults to zero if no color index is set.

Extends

Properties

conditions

readonly conditions: LootItemCondition[]

Beta

Inherited from

LootItemFunction.conditions