Skip to content

Commit

Permalink
Changes simple mob burning damage calculation (#480)
Browse files Browse the repository at this point in the history
  • Loading branch information
EgorDinamit authored Oct 15, 2023
1 parent 11b21dc commit 5c7cf40
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion code/modules/mob/living/simple_animal/simple_animal.dm
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,10 @@
if(burn_temperature < 1)
return

adjustBruteLoss(log(10, (burn_temperature + 10)))
// At minimum level of fire stacks and default(350) max body temp it will deal ~5 damage per tick
// At "absolute maximum" of around 100.000 burn_temperature it will deal ~80 damage per tick
var/burn_damage = round(sqrt(burn_temperature) * 0.25)
adjustBruteLoss(burn_damage)

/mob/living/simple_animal/update_fire()
. = ..()
Expand Down

0 comments on commit 5c7cf40

Please sign in to comment.