break off crit damage

This commit is contained in:
Fox-McCloud
2017-07-19 12:23:31 -04:00
parent e9e1f2de8e
commit 469c5706a6
3 changed files with 2 additions and 6 deletions
+1 -1
View File
@@ -74,7 +74,7 @@
if(!breath || (breath.total_moles() == 0))
if(H.health >= config.health_threshold_crit)
H.adjustOxyLoss(HUMAN_MAX_OXYLOSS)
else if(!(NOCRITDAMAGE in species_traits))
else
H.adjustOxyLoss(HUMAN_CRIT_MAX_OXYLOSS)
H.failed_last_breath = TRUE