Cleaned up method description
This commit is contained in:
parent
8b0eaad0c3
commit
eb2afa81d5
@ -52,24 +52,28 @@ export class RepeatableQuestRewardGenerator {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generate the reward for a mission. A reward can consist of
|
* Generate the reward for a mission. A reward can consist of:
|
||||||
* - Experience
|
* - Experience
|
||||||
* - Money
|
* - Money
|
||||||
|
* - GP coins
|
||||||
|
* - Weapon preset
|
||||||
* - Items
|
* - Items
|
||||||
* - Trader Reputation
|
* - Trader Reputation
|
||||||
|
* - Skill level experience
|
||||||
*
|
*
|
||||||
* The reward is dependent on the player level as given by the wiki. The exact mapping of pmcLevel to
|
* The reward is dependent on the player level as given by the wiki. The exact mapping of pmcLevel to
|
||||||
* experience / money / items / trader reputation can be defined in QuestConfig.js
|
* experience / money / items / trader reputation can be defined in QuestConfig.js
|
||||||
*
|
*
|
||||||
* There's also a random variation of the reward the spread of which can be also defined in the config.
|
* There's also a random variation of the reward the spread of which can be also defined in the config
|
||||||
*
|
*
|
||||||
* Additionally, a scaling factor w.r.t. quest difficulty going from 0.2...1 can be used
|
* Additionally, a scaling factor w.r.t. quest difficulty going from 0.2...1 can be used
|
||||||
*
|
* @param pmcLevel Level of player reward is being generated for
|
||||||
* @param {integer} pmcLevel player's level
|
* @param difficulty Reward scaling factor from 0.2 to 1
|
||||||
* @param {number} difficulty a reward scaling factor from 0.2 to 1
|
* @param traderId Trader reward will be given by
|
||||||
* @param {string} traderId the trader for reputation gain (and possible in the future filtering of reward item type based on trader)
|
* @param repeatableConfig Config for quest type (daily, weekly)
|
||||||
* @param {object} repeatableConfig The configuration for the repeatable kind (daily, weekly) as configured in QuestConfig for the requested quest
|
* @param questConfig
|
||||||
* @returns {object} object of "Reward"-type that can be given for a repeatable mission
|
* @param rewardTplBlacklist OPTIONAL: list of tpls to NOT use when picking a reward
|
||||||
|
* @returns IQuestRewards
|
||||||
*/
|
*/
|
||||||
public generateReward(
|
public generateReward(
|
||||||
pmcLevel: number,
|
pmcLevel: number,
|
||||||
|
Loading…
Reference in New Issue
Block a user