@occultus/api-root - v0.29.3
    Preparing search index...

    Type Alias FoodParams

    食物组件数据

    type FoodParams = {
        amplifier?: number | number[];
        clear?: string | string[] | EffectGroups;
        duration: number | number[];
        effect: string | string[] | EffectGroups;
        show_particles?: boolean | boolean[];
    }
    Index

    Properties

    amplifier?: number | number[]

    状态效果等级

    clear?: string | string[] | EffectGroups

    要移除的状态效果类型

    其可以填形如ALLGOODBAD的状态效果组

    duration: number | number[]

    状态效果持续时间,以刻为单位 (20刻=1秒)

    其值必须在范围[0, 20000000]

    effect: string | string[] | EffectGroups

    状态效果类型

    其可以填形如ALLGOODBAD的状态效果组

    若类型为字符串,且持续时间、等级、是否展示粒子效果为数组,那么将会取数组中第一个值,其余的值将会被忽略

    show_particles?: boolean | boolean[]

    是否展示状态效果粒子