X-Git-Url: http://git.localhorst.tv/?p=blobs.git;a=blobdiff_plain;f=src%2Fcreature%2Fgoal.cpp;h=bcb1682be1bca9514d81a2cbb3fdf3f985fa84f1;hp=61ecb3778a5b874c9b61e4e6fd93b2d107bdf941;hb=a51e14dee931d657e2517fda4adf86698283e57c;hpb=f764c5e628865648bb277b1081bc23d60de38d9d diff --git a/src/creature/goal.cpp b/src/creature/goal.cpp index 61ecb37..bcb1682 100644 --- a/src/creature/goal.cpp +++ b/src/creature/goal.cpp @@ -40,7 +40,7 @@ void BlobBackgroundTask::Tick(double dt) { // TODO: derive breathing ability int gas = Assets().data.resources["air"].id; // TODO: check if in compatible atmosphere - double amount = GetCreature().GetStats().Breath().gain * -(1.5 + 0.5 * GetCreature().ExhaustionFactor()); + double amount = GetCreature().GetStats().Breath().gain * -(1.0 + GetCreature().ExhaustionFactor()); GetCreature().GetStats().Breath().Add(amount * dt); // maintain ~1% gas composition double gas_amount = GetCreature().GetComposition().Get(gas);