MCPcopy Create free account
hub / github.com/TTimo/doom3.gpl / AdjustHeartRate

Method AdjustHeartRate

neo/d3xp/Player.cpp:5956–5969  ·  view source on GitHub ↗

============== idPlayer::AdjustHeartRate Player heartrate works as follows DEF_HEARTRATE is resting heartrate Taking damage when health is above 75 adjusts heart rate by 1 beat per second Taking damage when health is below 75 adjusts heart rate by 5 beats per second Maximum heartrate from damage is MAX_HEARTRATE Firing a weapon adds 1 beat per second up to a maximum of COMBAT_HEARTRATE Being

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

InitMethod · 0.45

Tested by

no test coverage detected