mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-04-01 17:06:41 +00:00
Remove debug printing from previous commit
This commit is contained in:
parent
f0220fb06b
commit
c98a815581
1 changed files with 1 additions and 6 deletions
|
@ -1,6 +1,5 @@
|
||||||
#include "waitdialog.hpp"
|
#include "waitdialog.hpp"
|
||||||
|
|
||||||
#include <iostream>
|
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
|
||||||
#include <boost/lexical_cast.hpp>
|
#include <boost/lexical_cast.hpp>
|
||||||
|
@ -160,14 +159,10 @@ namespace MWGui
|
||||||
normalizedEncumbrance = 1;
|
normalizedEncumbrance = 1;
|
||||||
float hourlyFatigueDelta = fFatigueReturnBase + fFatigueReturnMult * (1 - normalizedEncumbrance);
|
float hourlyFatigueDelta = fFatigueReturnBase + fFatigueReturnMult * (1 - normalizedEncumbrance);
|
||||||
hourlyFatigueDelta *= 3600 * fEndFatigueMult * stats.getAttribute(ESM::Attribute::Endurance).getModified();
|
hourlyFatigueDelta *= 3600 * fEndFatigueMult * stats.getAttribute(ESM::Attribute::Endurance).getModified();
|
||||||
|
|
||||||
std::cout << "Calced health per hour: " << hourlyHealthDelta << std::endl;
|
|
||||||
|
|
||||||
float healthHours = hourlyHealthDelta >= 0.0
|
float healthHours = hourlyHealthDelta >= 0.0
|
||||||
? (stats.getHealth().getBase() - stats.getHealth().getCurrent()) / hourlyHealthDelta
|
? (stats.getHealth().getBase() - stats.getHealth().getCurrent()) / hourlyHealthDelta
|
||||||
: 1.0f;
|
: 1.0f;
|
||||||
std::cout << "Calced health hours: " << healthHours << std::endl;
|
|
||||||
std::cout << "getBase returns " << stats.getHealth().getBase() << ", getModified() returns " << stats.getHealth().getModified() << std::endl;
|
|
||||||
float magickaHours = stunted ? 0.0 :
|
float magickaHours = stunted ? 0.0 :
|
||||||
hourlyMagickaDelta >= 0.0
|
hourlyMagickaDelta >= 0.0
|
||||||
? (stats.getMagicka().getBase() - stats.getMagicka().getCurrent()) / hourlyMagickaDelta
|
? (stats.getMagicka().getBase() - stats.getMagicka().getCurrent()) / hourlyMagickaDelta
|
||||||
|
|
Loading…
Reference in a new issue