mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 23:27:34 +01:00
@@ -87,15 +87,7 @@
|
||||
if(ghost.mind && ghost.mind.current == R)
|
||||
R.key = ghost.key
|
||||
|
||||
R.notify_ai(1)
|
||||
|
||||
R.stat = UNCONSCIOUS
|
||||
R.update_stat()
|
||||
if(R.camera && !R.wires.is_cut(WIRE_CAMERA))
|
||||
R.camera.toggle_cam(R,0)
|
||||
|
||||
dead_mob_list -= R //please never forget this ever kthx
|
||||
living_mob_list += R
|
||||
R.revive()
|
||||
|
||||
return 1
|
||||
|
||||
|
||||
@@ -511,12 +511,7 @@
|
||||
H.adjustBruteLoss((mobhealth - halfwaycritdeath) * (total_brute / overall_damage), 0)
|
||||
user.visible_message("<span class='notice'>[req_defib ? "[defib]" : "[src]"] pings: Resuscitation successful.</span>")
|
||||
playsound(get_turf(src), 'sound/machines/defib_success.ogg', 50, 0)
|
||||
H.stat = UNCONSCIOUS
|
||||
H.updatehealth()
|
||||
H.update_sight()
|
||||
H.reload_fullscreen()
|
||||
dead_mob_list -= H
|
||||
living_mob_list |= list(H)
|
||||
H.revive()
|
||||
H.emote("gasp")
|
||||
if(tplus > tloss)
|
||||
H.setBrainLoss( max(0, min(99, ((tlimit - tplus) / tlimit * 100))))
|
||||
|
||||
Reference in New Issue
Block a user