File tree 1 file changed +8
-11
lines changed
monkestation/code/modules/virology/disease/symtoms/helpful
1 file changed +8
-11
lines changed Original file line number Diff line number Diff line change 20
20
max_chance = 45
21
21
badness = EFFECT_DANGER_HELPFUL
22
22
severity = 0
23
-
23
+
24
24
var /passive_message = span_notice(" You feel an odd attraction to plasma." )
25
25
var /temp_rate = 1
26
26
79
79
return TRUE
80
80
return FALSE
81
81
82
- / datum / symptom/ plasma_heal/ proc / Heal( mob / living/ carbon / M, actual_power)
82
+ / datum / symptom/ plasma_heal/ proc / Heal( mob / living/ M, actual_power)
83
83
var /heal_amt = BASE_HEAL_PLASMA_FIXATION * actual_power
84
84
85
85
if (prob(5 ))
95
95
if (prob(5 ))
96
96
to_chat (M, span_notice(" You feel warmer." ))
97
97
98
+
98
99
M. adjustToxLoss(- heal_amt)
99
100
100
- var /list /parts = M. get_damaged_bodyparts(1 ,1 , BODYTYPE_ORGANIC )
101
- if (! parts. len)
102
- return
103
- if (prob(5 ))
104
- to_chat (M, span_notice(" The pain from your wounds fades rapidly." ))
105
- for (var /obj /item/bodypart/L in parts)
106
- if (L. heal_damage(heal_amt/ parts. len, heal_amt/ parts. len, BODYTYPE_ORGANIC ))
107
- M. update_damage_overlays()
108
- return 1
101
+ if (M. getBruteLoss_nonProsthetic() > 0 || M. getFireLoss_nonProsthetic() > 0 )
102
+ M. heal_overall_damage(brute = heal_amt, burn = heal_amt, required_bodytype = BODYTYPE_ORGANIC )
103
+ if (prob(5 ))
104
+ to_chat (M, span_notice(" The pain from your wounds fades rapidly." ))
105
+ return TRUE
109
106
110
107
// /Plasma End
111
108
#undef HEALING_PER_MOL
You can’t perform that action at this time.
0 commit comments