diff --git a/SeasonsOfLoneliness.cpp b/SeasonsOfLoneliness.cpp index d3bba41..a066add 100644 --- a/SeasonsOfLoneliness.cpp +++ b/SeasonsOfLoneliness.cpp @@ -2154,7 +2154,6 @@ public: if (BATTLE_CURRENT_TURN_ENTITY==-1) { BATTLE_DROUGHT_ACTIVE=false; std::cout<<"Drought turned off.\n"; - PETRIFY_TURNS=std::clamp(PETRIFY_TURNS-1,0,3); } else { if (CURRENT_ENCOUNTER.entities[BATTLE_CURRENT_TURN_ENTITY]->lastSlowVal==CURRENT_ENCOUNTER.entities[BATTLE_CURRENT_TURN_ENTITY]->speed&& CURRENT_ENCOUNTER.entities[BATTLE_CURRENT_TURN_ENTITY]->speed!=0&&rand()%3==0) { @@ -2216,6 +2215,7 @@ public: //std::cout<<"Battle State is "<number>0)?"-"+std::to_string(numb->number):"+"+std::to_string(numb->number*-1)); for (int x=-1;x<=1;x++) { @@ -3804,6 +3804,7 @@ public: std::cout<<"Battle State set to "<0) { - DrawDecal(pos,HP_REGEN_DECAL); + DrawDecal(pos+buffPos,HP_REGEN_DECAL); std::string txt=std::to_string(FOOD_REGEN_TURNS); DrawStringDecal({pos.x+buffPos.x-GetTextSize(txt).x+1,pos.y+16-GetTextSize(txt).y+1},txt,VERY_DARK_GREEN); DrawStringDecal({pos.x+buffPos.x-GetTextSize(txt).x,pos.y+16-GetTextSize(txt).y},txt); buffPos.x+=16; } if (PETRIFY_TURNS>0) { - DrawDecal(pos,PETRIFY_DECAL); + DrawDecal(pos+buffPos,PETRIFY_DECAL); std::string txt=std::to_string(PETRIFY_TURNS); - DrawStringDecal({pos.x+buffPos.x-GetTextSize(txt).x+1,pos.y+16-GetTextSize(txt).y+1},txt,VERY_DARK_GREEN); + DrawStringDecal({pos.x+buffPos.x-GetTextSize(txt).x+1,pos.y+16-GetTextSize(txt).y+1},txt,VERY_DARK_RED); DrawStringDecal({pos.x+buffPos.x-GetTextSize(txt).x,pos.y+16-GetTextSize(txt).y},txt); buffPos.x+=16; } diff --git a/Seasons_of_Loneliness b/Seasons_of_Loneliness index 678f716..a87ee5f 100755 Binary files a/Seasons_of_Loneliness and b/Seasons_of_Loneliness differ