Adjust quest rewards.

This commit is contained in:
Adrian 2024-11-08 11:40:23 +01:00
parent 10bd9121a2
commit 5a0369070e

View File

@ -7,7 +7,7 @@ let uid = 0;
export function createQuest(level: number): QuestType {
const reward = getEmptyResources();
const adjustedLevel = level * 2 + 5;
const adjustedLevel = level * level + 3;
const duration = random(adjustedLevel - 2, adjustedLevel + 2);
Object.keys(reward).forEach(r => {
const resource = r as keyof ResourcesType;