Skip to content

Dungeon - Reward count #71

Description

@gwagwaflamingo

Reward count refers to the count of distributed rewards.
A dungeon's reward count behavior depends on its cooldownType, being either nextDay or dayOfWeeks.
If the cooldownType is nextDay, it will reset everyday, with the amount of rewards per day being defined by rewardCount.
If the cooldownType is dayOfWeeks, it will reset every week on the defined day, with the amount of rewards per week being defined by rewardCount. On top of that weekly cap, it can also have a daily cap, defined by subRewardCount.

A dungeon's cooldownType, rewardCount and subRewardCount can be entirely overwritten with another dungeon's through unionRewardID.
For example, this is how the weekly reward system works, with most dungeons having a unionRewardID of 1006, which has a cooldownType of dayOfWeeks, a rewardCount of 30 and a subRewardCount of 15.

The reward count can also be account-wide if dungeon is isAccountReward, making the reward count the same across all characters in the account.

Dungeon reward counts can also affect entry limits. (#69)
limitClearDungeon requires the player to have a >=1 rewardCount on the dungeon of that id.
If a dungeon has a playType of limitEnter, they can no longer enter the dungeon if the dungeon has its rewardCount capped.

Dungeon reward counts are also used by trigger action SetUserValueFromDungeonRewardCount, where a key's value will be set to the rewardCount on the dungeon of that id.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Dungeonsdungeon related, including mushking royale

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions