diff --git a/Adventures in Lestoria/OctopusArm.cpp b/Adventures in Lestoria/OctopusArm.cpp index 234f887e..425eb0a2 100644 --- a/Adventures in Lestoria/OctopusArm.cpp +++ b/Adventures in Lestoria/OctopusArm.cpp @@ -200,9 +200,12 @@ void Monster::STRATEGY::OCTOPUS_ARM(Monster&m,float fElapsedTime,std::string str case ATTACK_RECOVERY:{ m.F(A::RECOVERY_TIME)-=fElapsedTime; if(m.F(A::RECOVERY_TIME)<=0.f){ - m.PerformIdleAnimation(); + m.PerformAnimation("SUBMERGE"); + SETPHASE(SUBMERGE); + m.GetFloat(A::RECOVERY_TIME)=m.GetCurrentAnimation().GetTotalAnimationDuration()*util::random_range(1.f,2.f); + m.SetCollisionRadius(0.f); + m.V(A::JUMP_TARGET_POS)=m.GetPos(); m.SetStrategyDrawFunction([](AiL*game,Monster&monster,const std::string&strategy){}); - SETPHASE(SEARCH); } }break; case SUBMERGE:{ diff --git a/Adventures in Lestoria/Version.h b/Adventures in Lestoria/Version.h index cbac74cd..d6c7bffc 100644 --- a/Adventures in Lestoria/Version.h +++ b/Adventures in Lestoria/Version.h @@ -39,7 +39,7 @@ All rights reserved. #define VERSION_MAJOR 1 #define VERSION_MINOR 3 #define VERSION_PATCH 0 -#define VERSION_BUILD 11914 +#define VERSION_BUILD 11916 #define stringify(a) stringify_(a) #define stringify_(a) #a diff --git a/x64/Release/Adventures in Lestoria.exe b/x64/Release/Adventures in Lestoria.exe index 691b39a8..6c4d2c82 100644 Binary files a/x64/Release/Adventures in Lestoria.exe and b/x64/Release/Adventures in Lestoria.exe differ