Adjust quest rewards.
This commit is contained in:
parent
10bd9121a2
commit
5a0369070e
@ -7,7 +7,7 @@ let uid = 0;
|
|||||||
|
|
||||||
export function createQuest(level: number): QuestType {
|
export function createQuest(level: number): QuestType {
|
||||||
const reward = getEmptyResources();
|
const reward = getEmptyResources();
|
||||||
const adjustedLevel = level * 2 + 5;
|
const adjustedLevel = level * level + 3;
|
||||||
const duration = random(adjustedLevel - 2, adjustedLevel + 2);
|
const duration = random(adjustedLevel - 2, adjustedLevel + 2);
|
||||||
Object.keys(reward).forEach(r => {
|
Object.keys(reward).forEach(r => {
|
||||||
const resource = r as keyof ResourcesType;
|
const resource = r as keyof ResourcesType;
|
||||||
|
Loading…
Reference in New Issue
Block a user