diff --git a/include/Helpers.h b/include/Helpers.h index d80b85e..8c15d3f 100644 --- a/include/Helpers.h +++ b/include/Helpers.h @@ -574,7 +574,7 @@ class Helpers if (hero_name == "Scarlet Witch") { diceanatomy = "AAABCD"; - abilities = { "AAA", "AAAA", "AAAAA", "AABB", "CC","ABCD", "ADDD", "DDDD", "DDD", "BBC", "AAC" }; + abilities = { "AAA", "AAAA", "AAAAA", "AABB", "CC","ABCD", "ADDD", "DDDD", "DDD", "BBC", "AAC", "DDDDD"}; } if (hero_name == "Krampus") { diff --git a/src/DiceThroneSimulator.cpp b/src/DiceThroneSimulator.cpp index fc24b7e..2286d72 100644 --- a/src/DiceThroneSimulator.cpp +++ b/src/DiceThroneSimulator.cpp @@ -248,7 +248,7 @@ void precalc_all(bool do_target, std::string target) void run_server(DiceRoller& helper) { #ifdef _WIN32 - DTServer server{ 80, helper}; + DTServer server{ 8080, helper}; #endif } @@ -549,12 +549,12 @@ void commandLineCalculation(const InputParser & parser) if (parser.cmdOptionExists("-cheer")) { const std::string& out_s = parser.getCmdOption("-cheer"); - slightlyWild = std::stoi(out_s); + cheer = std::stoi(out_s); } if (parser.cmdOptionExists("-probabilitymanipulation")) { const std::string& out_s = parser.getCmdOption("-probabilitymanipulation"); - slightlyWild = std::stoi(out_s); + probabilityManipulation = std::stoi(out_s); } if (parser.cmdOptionExists("-cp")) { diff --git a/src/Server.cpp b/src/Server.cpp index f8c7094..f968937 100644 --- a/src/Server.cpp +++ b/src/Server.cpp @@ -253,7 +253,7 @@ DTServer::DTServer(int port, DiceRoller& helper) : simulator_{helper}, simulator ::bind(server, reinterpret_cast(&server_addr), sizeof(server_addr)); listen(server, 0); - cout << "Listening for incoming connections..." << endl; + cout << "Listening for incoming connections on port " << std::to_string(port) << " ..." << endl; int client_addr_size = sizeof(client_addr);