mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-21 07:32:35 +00: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:
7c2cc890ab
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()
|