mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-20 11:31:12 +01:00
33 lines
419 B
Plaintext
33 lines
419 B
Plaintext
/mob/living/carbon/alien/ex_act(severity)
|
|
|
|
if(!blinded)
|
|
flash_act()
|
|
|
|
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
|
|
|
|
adjustEarDamage(30, 120, 0)
|
|
|
|
if(3.0)
|
|
b_loss += 30
|
|
if (prob(50))
|
|
Paralyse(1)
|
|
ear_damage += 15
|
|
ear_deaf += 60
|
|
|
|
adjustBruteLoss(b_loss)
|
|
adjustFireLoss(f_loss)
|
|
|
|
updatehealth()
|