Increase max PP for Struggle, make conan always pull the latest dependencies.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
097cda34c0
commit
3174986796
|
@ -35,10 +35,10 @@ if (NOT EXISTS ${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
|
||||||
SET(VERSION ${VERSION}.${MINOR})
|
SET(VERSION ${VERSION}.${MINOR})
|
||||||
endif()
|
endif()
|
||||||
if (NOT WINDOWS)
|
if (NOT WINDOWS)
|
||||||
execute_process(COMMAND conan install ${CMAKE_SOURCE_DIR} --install-folder=${CMAKE_BINARY_DIR} --build missing
|
execute_process(COMMAND conan install ${CMAKE_SOURCE_DIR} --install-folder=${CMAKE_BINARY_DIR} --build outdated
|
||||||
-s compiler=clang -s compiler.libcxx=libstdc++11 -s compiler.version=${VERSION})
|
-s compiler=clang -s compiler.libcxx=libstdc++11 -s compiler.version=${VERSION})
|
||||||
else()
|
else()
|
||||||
execute_process(COMMAND conan install ${CMAKE_SOURCE_DIR} --install-folder=${CMAKE_BINARY_DIR} --build missing
|
execute_process(COMMAND conan install ${CMAKE_SOURCE_DIR} --install-folder=${CMAKE_BINARY_DIR} --build outdated
|
||||||
-s compiler=gcc -s compiler.libcxx=libstdc++11 -s compiler.version=${VERSION} -s os=Windows)
|
-s compiler=gcc -s compiler.libcxx=libstdc++11 -s compiler.version=${VERSION} -s os=Windows)
|
||||||
endif()
|
endif()
|
||||||
endif ()
|
endif ()
|
||||||
|
|
|
@ -26,7 +26,7 @@ static PkmnLib::Library::MoveData* replacementMove = nullptr;
|
||||||
static PkmnLib::Library::MoveData* GetReplacementAttackData() {
|
static PkmnLib::Library::MoveData* GetReplacementAttackData() {
|
||||||
if (replacementMove == nullptr) {
|
if (replacementMove == nullptr) {
|
||||||
replacementMove =
|
replacementMove =
|
||||||
new PkmnLib::Library::MoveData("struggle"_cnc, 0, PkmnLib::Library::MoveCategory::Physical, 50, 255, 1,
|
new PkmnLib::Library::MoveData("struggle"_cnc, 0, PkmnLib::Library::MoveCategory::Physical, 50, 255, 10,
|
||||||
CreatureLib::Library::AttackTarget::Any, 0,
|
CreatureLib::Library::AttackTarget::Any, 0,
|
||||||
new CreatureLib::Library::SecondaryEffect(-1, "struggle"_cnc, {}), {});
|
new CreatureLib::Library::SecondaryEffect(-1, "struggle"_cnc, {}), {});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue