diff --git a/Adventures in Lestoria/Monster.cpp b/Adventures in Lestoria/Monster.cpp index 9a2873bc..2d53899f 100644 --- a/Adventures in Lestoria/Monster.cpp +++ b/Adventures in Lestoria/Monster.cpp @@ -378,7 +378,7 @@ void Monster::UpdateFacingDirection(vf2d facingTargetPoint){ float facingAngle=util::angleTo(GetPos(),facingTargetPoint); vf2d diff=GetPos()-facingTargetPoint; - if(abs(facingAngle-prevFacingDirectionAngle)<(7*PI)/16.f||lastFacingDirectionChange<0.25f)return; //We don't want to change facing angle until a more drastic angle of change has occurred. About 1/4 circle should be acceptable. + if(abs(facingAngle-prevFacingDirectionAngle)MonsterData::GetLifetime()const{ } const float MonsterData::GetCollisionRadius()const{ return collisionRadius; +} +const bool MonsterData::HasArrowIndicator()const{ + return hasArrowIndicator; } \ No newline at end of file diff --git a/Adventures in Lestoria/MonsterData.h b/Adventures in Lestoria/MonsterData.h index 7880db3d..720f0333 100644 --- a/Adventures in Lestoria/MonsterData.h +++ b/Adventures in Lestoria/MonsterData.h @@ -101,6 +101,7 @@ public: const std::optionalGetLifetime()const; //If an object has a collision radius, returns it. const float GetCollisionRadius()const; + const bool HasArrowIndicator()const; private: std::string name; int hp; @@ -129,4 +130,5 @@ private: bool invulnerable{false}; std::optionallifetime{}; float collisionRadius{}; + bool hasArrowIndicator{false}; }; \ No newline at end of file diff --git a/Adventures in Lestoria/Version.h b/Adventures in Lestoria/Version.h index e30c777d..8d326255 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 2 #define VERSION_PATCH 0 -#define VERSION_BUILD 9381 +#define VERSION_BUILD 9382 #define stringify(a) stringify_(a) #define stringify_(a) #a diff --git a/Adventures in Lestoria/assets/config/Monsters.txt b/Adventures in Lestoria/assets/config/Monsters.txt index eb3c07d7..729039df 100644 --- a/Adventures in Lestoria/assets/config/Monsters.txt +++ b/Adventures in Lestoria/assets/config/Monsters.txt @@ -222,6 +222,9 @@ Monsters XP = 150 + # A flag to show an arrow indicator when the boss is off-screen. + ShowBossIndicator = True + Strategy = Slime King StartPhase = 1 @@ -898,6 +901,9 @@ Monsters XP = 5 + # A flag to show an arrow indicator when the boss is off-screen. + ShowBossIndicator = True + Strategy = Zephy #Size of each animation frame diff --git a/x64/Release/Adventures in Lestoria.exe b/x64/Release/Adventures in Lestoria.exe index a97cc81b..c8319ef3 100644 Binary files a/x64/Release/Adventures in Lestoria.exe and b/x64/Release/Adventures in Lestoria.exe differ