BattletechModders / CBTBehaviorsEnhanced

Applies Classic BattleTech behaviors to the HBS BattleTech Game
MIT License
5 stars 6 forks source link

MechHeatSequence is being invoked on overheating #70

Closed IceRaptor closed 4 years ago

IceRaptor commented 4 years ago

new CAC causes end-of-turn shutdown rolls to happen at random points in the turn sequence. This was the log after a Swordsman was attacked by an Assassin with inferno rounds:

11:01:46.864 Mech Swordsman_Recruit_20898AB4 has thresholdHeat 81 >= warningHeat: 42. Displaying heat warning.
11:01:46.996 In ShutdownIndicator, projectedHeat 0 => calculatedHeat: 81 vs 42
11:01:46.996   current: 61 projected: 0 temp: 0  sinkable: 5  sinkCapacity: -22  future: 76  threshold: 81
11:01:46.996   CACTerrainHeat15  CurrentPathNodes: 1  isProjectedHeat: True
11:01:46.996 Mech Swordsman_Recruit_20898AB4 has thresholdHeat 81 >= warningHeat: 42. Displaying heat warning.
11:01:47.010 In ShutdownIndicator, projectedHeat 0 => calculatedHeat: 81 vs 42
11:01:47.010   current: 61 projected: 0 temp: 0  sinkable: 5  sinkCapacity: -22  future: 76  threshold: 81
11:01:47.010   CACTerrainHeat15  CurrentPathNodes: 1  isProjectedHeat: True
11:01:47.010 Mech Swordsman_Recruit_20898AB4 has thresholdHeat 81 >= warningHeat: 42. Displaying heat warning.
11:01:47.995 MHS - executing updated logic for state: Finished on actor:Swordsman_Recruit_20898AB4.
11:01:47.995 -- AT END OF TURN FOR Swordsman_Recruit_20898AB4... CHECKING EFFECTS
11:01:47.995  Actor: Swordsman_Recruit_20898AB4 has gutsMulti: 0.2  pilotingMulti: 0.25
11:01:47.995  AmmoBox: 'Ammo AC/5' is not functional, skipping.
11:01:47.995  AmmoBox: Ammo LRM has 115 rounds with explosion/ammo: 4 heat/ammo: 0 stab/ammo: 1 weight:  for 575 total damage.
11:01:47.995  AmmoBox: Ammo SRM has 92 rounds with explosion/ammo: 8 heat/ammo: 0 stab/ammo: 2 weight:  for 920 total damage.
11:01:48.011 In ShutdownIndicator, projectedHeat 0 => calculatedHeat: 112 vs 42
11:01:48.011   current: 89 projected: 0 temp: 0  sinkable: 8  sinkCapacity: -19  future: 104  threshold: 112
11:01:48.011   CACTerrainHeat15  CurrentPathNodes: 1  isProjectedHeat: True
11:01:48.011 Mech Swordsman_Recruit_20898AB4 has thresholdHeat 112 >= warningHeat: 42. Displaying heat warning.
11:01:48.064 In ShutdownIndicator, projectedHeat 0 => calculatedHeat: 8 vs 42
11:01:48.064   current: 0 projected: 0 temp: 0  sinkable: -7  sinkCapacity: -34  future: 15  threshold: 8
11:01:48.064   CACTerrainHeat15  CurrentPathNodes: 1  isProjectedHeat: True
11:01:48.069  AmmoBox: 'Ammo AC/5' is not functional, skipping.
11:01:48.069  AmmoBox: 'Ammo LRM' is not functional, skipping.
11:01:48.069  AmmoBox: 'Ammo SRM' is not functional, skipping.
11:01:48.069   failedShutdownCheck: False
11:01:48.568 Updating heat dialog for actor: Assassin ASN-21_Reign_D8F7A995
11:01:48.568   previous values:  CurrentHeat: 0  ProjectedHeat: 0  TempHeat: 19  CACTerrainHeat: 15  currentPathNodes: 9
11:01:48.568   current values:  CurrentHeat: 19  ProjectedHeat: 0  TempHeat: 0  CACTerrainHeat: 15  currentPathNodes: 9
11:01:48.590 Updating heat dialog for actor: Assassin ASN-21_Reign_D8F7A995
11:01:48.590   previous values:  CurrentHeat: 19  ProjectedHeat: 0  TempHeat: 0  CACTerrainHeat: 15  currentPathNodes: 9
11:01:48.590   current values:  CurrentHeat: 0  ProjectedHeat: 0  TempHeat: 0  CACTerrainHeat: 15  currentPathNodes: 9
11:01:48.769 MHS - executing updated logic for state: Finished on actor:Assassin ASN-21_Reign_D8F7A995.
11:01:48.769 -- AT END OF TURN FOR Assassin ASN-21_Reign_D8F7A995... CHECKING EFFECTS
11:01:48.770  Actor: Assassin ASN-21_Reign_D8F7A995 has gutsMulti: 0.25  pilotingMulti: 0.35
11:01:48.770  AmmoBox: Ammo SRM L-K has 100 rounds with explosion/ammo: 8 heat/ammo: 0 stab/ammo: 2 weight:  for 1000 total damage.
11:01:48.770  AmmoBox: Ammo SRM [INF] has 70 rounds with explosion/ammo: 2 heat/ammo: 6 stab/ammo: 1 weight: 0.9 for 567 total damage.
11:01:48.770  AmmoBox: Ammo SRM [INF] has 100 rounds with explosion/ammo: 2 heat/ammo: 6 stab/ammo: 1 weight: 0.9 for 810 total damage.
11:01:48.770   AmmoBox: Ammo SRM L-K is not a volatile ammo, skipping.
11:01:48.770  AmmoBox: Ammo SRM [INF] has 70 rounds with explosion/ammo: 2 heat/ammo: 6 stab/ammo: 1 weight: 0.9 for 567 total damage.
11:01:48.770  AmmoBox: Ammo SRM [INF] has 100 rounds with explosion/ammo: 2 heat/ammo: 6 stab/ammo: 1 weight: 0.9 for 810 total damage.
11:01:48.770   failedShutdownCheck: False
11:01:48.809 ON_ACTIVATION_END:PRE - Actor: Assassin ASN-21_Reign_D8F7A995 has currentHeat: 0 tempHeat: 0  maxHeat: 150  heatsinkCapacity: 42
11:01:48.835 ON_ACTIVATION_END:POST - Actor: Assassin ASN-21_Reign_D8F7A995 has currentHeat: 0 tempHeat: 0  maxHeat: 150  heatsinkCapacity: 42
11:03:54.981 In ShutdownIndicator, projectedHeat 0 => calculatedHeat: 0 vs 42
11:03:54.981   current: 0 projected: 0 temp: 0  sinkable: -25  sinkCapacity: -28  future: 0  threshold: 0
11:03:54.981   CACTerrainHeat0  CurrentPathNodes: 5  isProjectedHeat: True
11:03:55.330 In ShutdownIndicator, projectedHeat 0 => calculatedHeat: 0 vs 42
11:03:55.330   current: 0 projected: 0 temp: 0  sinkable: -25  sinkCapacity: -28  future: 0  threshold: 0
11:03:55.330   CACTerrainHeat0  CurrentPathNodes: 5  isProjectedHeat: True
IceRaptor commented 4 years ago

Fixed in 0.5.24