From bd3b30fffd5f5b98d9324fbe35d8c3d859201f97 Mon Sep 17 00:00:00 2001 From: Kayne Ruse Date: Wed, 5 Jun 2019 19:08:10 +1000 Subject: [PATCH] Turned the gold tick WAY up --- public/content/instructions.md | 2 +- server/profiles.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/content/instructions.md b/public/content/instructions.md index 88a604e..e4830ae 100644 --- a/public/content/instructions.md +++ b/public/content/instructions.md @@ -35,7 +35,7 @@ The best way to gain gold in this game is to attack other players. You can do th
-Untrained recruits gain you 1 gold piece evey 10 minutes - the only unit type that grants a passive income. They also act as a defense force when your soldiers are away, but they have lower combat skills. When recriuts are attacked, it is marked as "undefended" in the combat log. Recruits can still use equipment. +Untrained recruits gain you 1 gold piece evey 5 minutes - the only unit type that grants a passive income. They also act as a defense force when your soldiers are away, but they have lower combat skills. When recriuts are attacked, it is marked as "undefended" in the combat log. Recruits can still use equipment.
diff --git a/server/profiles.js b/server/profiles.js index 8b95730..4a8afea 100644 --- a/server/profiles.js +++ b/server/profiles.js @@ -370,7 +370,7 @@ const ladderRequest = (connection) => (req, res) => { }; const runGoldTick = (connection) => { - let goldTickJob = new CronJob('0 */10 * * * *', () => { + let goldTickJob = new CronJob('0 */5 * * * *', () => { let query = 'UPDATE profiles SET gold = gold + recruits;'; connection.query(query, (err) => { if (err) throw err;