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

Class: SetPotionFunction

Beta

为掉落药水分配类型的战利品物品函数。

Loot item function that assigns a type to a dropped potion.

Extends

Properties

conditions

readonly conditions: LootItemCondition[]

Beta

Inherited from

LootItemFunction.conditions


id

readonly id: string

Beta

Remarks

分配给掉落药水的 id。

The id to be assigned to the dropped potion.