pokemon-rogue-battle
    Preparing search index...

    Interface CustomModifierSettings

    interface CustomModifierSettings {
        allowLuckUpgrades?: boolean;
        fillRemaining?: boolean;
        guaranteedModifierTiers?: ModifierTier[];
        guaranteedModifierTypeFuncs?: ModifierTypeFunc[];
        guaranteedModifierTypeOptions?: ModifierTypeOption[];
        rerollMultiplier?: number;
    }
    Index

    Properties

    allowLuckUpgrades?: boolean

    If false, will prevent set item tiers from upgrading via luck.

    true

    fillRemaining?: boolean

    If set to true, will fill the remainder of shop items that were not overridden by the 3 options above, up to the count param value.

    count = 4;
    customModifierSettings = { guaranteedModifierTiers: [ModifierTier.GREAT], fillRemaining: true };

    The first item in the shop will be GREAT tier, and the remaining 3 items will be generated normally.

    If fillRemaining: false in the same scenario, only 1 GREAT tier item will appear in the shop (regardless of the value of count).

    false

    guaranteedModifierTiers?: ModifierTier[]

    If specified, will override the next X items to be the specified tier. These can upgrade with luck.

    guaranteedModifierTypeFuncs?: ModifierTypeFunc[]

    If specified, will override the next X items to be auto-generated from specific modifier functions (these don't have to be pre-genned).

    guaranteedModifierTypeOptions?: ModifierTypeOption[]

    If specified, will override the first X items to be specific modifier options (these should be pre-genned).

    rerollMultiplier?: number

    If specified, can adjust the amount of money required for a shop reroll. If set to a negative value, the shop will not allow rerolls at all.