FIRECATinBLACK / Spikecat

Spikecat mod by FIRECATinBLACK / Egg Yolk and OneQuish
2 stars 0 forks source link

[Bug or Issue]: Breath bar doesnt fill entirely #2

Closed FIRECATinBLACK closed 1 year ago

FIRECATinBLACK commented 1 year ago

What happened?

Whenever the player gets submerged the breath bar only fills up by 4 pips with the 5th always being displayed as empty keeping the breath bar on screen at all times even with supposedly full lungs

Steps to reproduce

1 ) lose any amount of breath 2 ) trigger anything that refills breath (Bubbleweed, submersion, shelters) |> Breath bar fills up to the 4th pip and then stops, leaving the 5th empty

Mod Version

Older than 1.5.1.a

Rainworld Version

v1.9.07b

Mod Dependencies

Additional Mods

none

Relevant log output

No response

Additional Notes

potential fix: change the value at wich it displays as "full" and fades out

FIRECATinBLACK commented 1 year ago

fixed by setting airInLungs for Issue #3 and the value at wich the bar disappears to 0.95 wich also still works Had to be same value as airInLungs but at the same time be one that doesnt send Spike's body flying all across the map

Previous fix involved setting the breath bars value to 1 wich caused Issue #3