Turned the gold tick WAY up
This commit is contained in:
@@ -35,7 +35,7 @@ The best way to gain gold in this game is to attack other players. You can do th
|
|||||||
|
|
||||||
<div class="break" />
|
<div class="break" />
|
||||||
|
|
||||||
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.
|
||||||
|
|
||||||
<div class="break" />
|
<div class="break" />
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -370,7 +370,7 @@ const ladderRequest = (connection) => (req, res) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const runGoldTick = (connection) => {
|
const runGoldTick = (connection) => {
|
||||||
let goldTickJob = new CronJob('0 */10 * * * *', () => {
|
let goldTickJob = new CronJob('0 */5 * * * *', () => {
|
||||||
let query = 'UPDATE profiles SET gold = gold + recruits;';
|
let query = 'UPDATE profiles SET gold = gold + recruits;';
|
||||||
connection.query(query, (err) => {
|
connection.query(query, (err) => {
|
||||||
if (err) throw err;
|
if (err) throw err;
|
||||||
|
|||||||
Reference in New Issue
Block a user