mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-02 05:23:01 +00:00
Fire damage no longer pretends to heal over time while leaving the actual injuries intact to reassert themselves when something calls your mob's updatehamage() proc.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1080 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -144,12 +144,15 @@
|
||||
handle_mutations_and_radiation()
|
||||
|
||||
if(src.fireloss)
|
||||
if(src.mutations & 2 || prob(50))
|
||||
switch(src.fireloss)
|
||||
if(1 to 50)
|
||||
src.fireloss--
|
||||
if(51 to 100)
|
||||
src.fireloss -= 5
|
||||
for(var/A in src.organs)
|
||||
if(!src.organs[A]) continue
|
||||
var/datum/organ/external/affecting = src.organs[A]
|
||||
if(!istype(affecting)) continue
|
||||
|
||||
if(src.mutations & 2 || (prob(1) && prob(75)))
|
||||
affecting.heal_damage(0,1)
|
||||
src.UpdateDamageIcon()
|
||||
src.updatehealth()
|
||||
|
||||
if (src.mutations & 8 && src.health <= 25)
|
||||
src.mutations &= ~8
|
||||
|
||||
Reference in New Issue
Block a user