ggejs
Version:
A powerful Node.js module for interacting with the server of Goodgame Empire & Goodgame Empire: Four Kingdoms
11 lines • 375 B
JavaScript
module.exports.name = "gmu";
/**
* @param {BaseClient} client
* @param {number} errorCode
* @param {{MP:number, HMP:number}} params
*/
module.exports.execute = function (client, errorCode, params) {
client.clientUserData.mightpoints = params.MP;
client.clientUserData.highestAchievedMight = params.HMP;
// TEMP_SERVER_BUILDING_MIGHT : params.TSBM;
}