ChilliHugger / The-Lords-Of-Midnight

All data regarding The Lords of Midnight games.
28 stars 4 forks source link

DDR Dawn energy boosts are potentially flipped for AI / Non AI characters #192

Closed IcemarkUK closed 1 year ago

IcemarkUK commented 1 year ago

Discussed in https://github.com/ChilliHugger/The-Lords-Of-Midnight/discussions/190

Originally posted by **FrozenEmpire** October 21, 2023 Increasing energies through resting, ahead of night battles, seems ok to me, however the dawn energy boosts also get applied here ahead of the nights battles... ``` void ddr_character::StartDawn ( void ) { if ( !IsDead() ) { if ( IsResting() ) IncreaseEnergy(RESTING_ENERGY_BOOST); if ( IsAIControlled() ) IncreaseEnergy( DAWN_ENERGY_BOOST_AI ); else IncreaseEnergy( DAWN_ENERGY_BOOST ); } } ```