UNPKG

ggejs

Version:

A powerful JavaScript library for interacting with the server of Goodgame Empire: Four Kingdoms

11 lines 381 B
module.exports.name = "afa"; /** * @param {Socket} socket * @param {number} errorCode * @param {{CF:number, HF:number}} params */ module.exports.execute = function (socket, errorCode, params) { const myAlliance = socket.client.clientUserData.myAlliance; myAlliance.allianceFamePoints = params.CF; myAlliance.allianceFamePointsHighestReached = params.HF; }