mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-28 06:28:01 +01:00
Fixes auto blindness and no click on 510 servers, lessens the lag of mesons and material scanners, and I suspect the general speed as well. I only made it work for Polaris (and by extention, to our server, Eros), and adapted it a bit. Ported from: https://github.com/Baystation12/Baystation12/commit/7c2cc890abf840b1a9967bc26c36581301e7229c
34 lines
428 B
Plaintext
34 lines
428 B
Plaintext
/mob/living/carbon/alien/ex_act(severity)
|
|
|
|
if(!blinded)
|
|
flash_eyes()
|
|
|
|
var/b_loss = null
|
|
var/f_loss = null
|
|
switch (severity)
|
|
if (1.0)
|
|
b_loss += 500
|
|
gib()
|
|
return
|
|
|
|
if (2.0)
|
|
|
|
b_loss += 60
|
|
|
|
f_loss += 60
|
|
|
|
ear_damage += 30
|
|
ear_deaf += 120
|
|
|
|
if(3.0)
|
|
b_loss += 30
|
|
if (prob(50))
|
|
Paralyse(1)
|
|
ear_damage += 15
|
|
ear_deaf += 60
|
|
|
|
adjustBruteLoss(b_loss)
|
|
adjustFireLoss(f_loss)
|
|
|
|
updatehealth()
|