diff --git a/Adventures in Lestoria/AdventuresInLestoria.cpp b/Adventures in Lestoria/AdventuresInLestoria.cpp index 4bbce108..4d6ab987 100644 --- a/Adventures in Lestoria/AdventuresInLestoria.cpp +++ b/Adventures in Lestoria/AdventuresInLestoria.cpp @@ -2036,9 +2036,9 @@ void AiL::RenderHud(){ if(player->GetShield()>0)heartImg=GFX["shield_heart.png"].Decal(); float healthRatio{float(healthCounter.GetDisplayValue())/player->GetMaxHealth()}; float manaRatio{float(manaCounter.GetDisplayValue())/player->GetMaxMana()}; - DrawPartialDecal({2,2+(15*(1-healthRatio))},const_cast(heartImg),{0.f,15*(1-healthRatio)},{17,15*healthRatio}); + DrawPartialDecal(vf2d{2.f,floor(2+(15*(1-healthRatio)))},const_cast(heartImg),vf2d{0.f,floor(15*(1-healthRatio))},vf2d{17.f,floor(15*healthRatio)}); DrawDecal({2,20},GFX["mana_outline.png"].Decal()); - DrawPartialDecal({2,20+(15*(1-manaRatio))},GFX["mana.png"].Decal(),{0.f,15*(1-manaRatio)},{17,15*manaRatio}); + DrawPartialDecal(vf2d{2,float(20+(15*(1-manaRatio)))},GFX["mana.png"].Decal(),vf2d{0.f,float(15*(1-manaRatio))},vf2d{17,float(15*manaRatio)}); std::string text=player->GetHealth()>0?std::to_string(healthCounter.GetDisplayValue()+shieldCounter.GetDisplayValue()):"X"; std::string text_mana=std::to_string(manaCounter.GetDisplayValue()); diff --git a/Adventures in Lestoria/Version.h b/Adventures in Lestoria/Version.h index 3f60b679..caa5a2da 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 11633 +#define VERSION_BUILD 11638 #define stringify(a) stringify_(a) #define stringify_(a) #a diff --git a/Adventures in Lestoria/assets/config/MonsterStrategies.txt b/Adventures in Lestoria/assets/config/MonsterStrategies.txt index ac92a84e..6b57dade 100644 --- a/Adventures in Lestoria/assets/config/MonsterStrategies.txt +++ b/Adventures in Lestoria/assets/config/MonsterStrategies.txt @@ -615,7 +615,7 @@ MonsterStrategy # Anything outside the max "Stand Still and Shoot Range" will cause the monster to move towards the target instead. # The perception level indicates how accurate the bow user's shots become over time. Perception can be between 0-90. A perception level of 90 should never miss. This doesn't necessarily mean lower numbers will miss, just that it doesn't auto-correct for error as much. - Starting Perception Level = 0 + Starting Perception Level = 1 # Every shot taken, the bow user's perception level will increase by this amount. Perception Level Increase = 2.5 Maximum Perception Level = 45 diff --git a/x64/Release/Adventures in Lestoria.exe b/x64/Release/Adventures in Lestoria.exe index 9852696a..f5821c78 100644 Binary files a/x64/Release/Adventures in Lestoria.exe and b/x64/Release/Adventures in Lestoria.exe differ