From 76b794f86c1c7aebb35ba421dd7e66e07e1eef2f Mon Sep 17 00:00:00 2001 From: Kayne Ruse Date: Wed, 5 Jun 2019 18:44:34 +1000 Subject: [PATCH] Increased gold tick --- 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 24b3627..88a604e 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 20 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 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.
diff --git a/server/profiles.js b/server/profiles.js index 4d81d09..8b95730 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 */20 * * * *', () => { + let goldTickJob = new CronJob('0 */10 * * * *', () => { let query = 'UPDATE profiles SET gold = gold + recruits;'; connection.query(query, (err) => { if (err) throw err;