3 protected const float HEATBUFFER_SHOW = 25.0;
4 protected const float HEATBUFFER_HIDE = 20.0;
14 override void OnTick(
PlayerBase player,
float deltaT)
19 override bool ActivateCondition(
PlayerBase player)
21 float heatbuffer = player.GetStatHeatBuffer().Get();
22 if ( heatbuffer >= HEATBUFFER_SHOW )
34 if( player.GetNotifiersManager() )
37 player.ToggleHeatBufferVisibility(
true );
43 if( player.GetNotifiersManager() )
46 player.ToggleHeatBufferVisibility(
false );
50 override bool DeactivateCondition(
PlayerBase player)
52 float heatbuffer = player.GetStatHeatBuffer().Get();
53 if ( heatbuffer < HEATBUFFER_HIDE )