Added the battle accept system. The game still isn't working though

This commit is contained in:
ION606
2022-05-25 22:33:42 +03:00
parent 7b01151dde
commit a7e5efe360
6 changed files with 187 additions and 27 deletions
+3 -2
View File
@@ -7,7 +7,8 @@ const { CLIENT_ODBC } = require('mysql/lib/protocol/constants/client');
const BASE = {
PAY: 5,
HP: 5,
MP: 10
MP: 10,
XP: 5
}
const STATE = {
@@ -327,7 +328,7 @@ module.exports = {
},
//Battle Updating stuff
addxp, checkAndUpdateBal, CreateNewCollection, econHelp, BASE, STATE
addxp, checkAndUpdateBal, CreateNewCollection, econHelp, addxp, BASE, STATE
}