mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-18 03:21:13 +01:00
Flash and flashbang tweaks and fixes (#15651)
This commit is contained in:
@@ -47,15 +47,19 @@
|
||||
if(burnthrough <= 0)
|
||||
return
|
||||
|
||||
if(burnthrough == 1)
|
||||
to_chat(owner, SPAN_WARNING("Your eyes sting a little."))
|
||||
take_damage(rand(1, 3), TRUE)
|
||||
else if(burnthrough == 2)
|
||||
to_chat(owner, SPAN_WARNING("Your eyes burn!"))
|
||||
var/eye_name = (BP_IS_ROBOTIC(src) && robotic_name) ? robotic_name : "eyes"
|
||||
|
||||
if(burnthrough <= 1)
|
||||
to_chat(owner, SPAN_WARNING("Your [eye_name] sting a little."))
|
||||
owner.eye_blurry = max(owner.eye_blurry, 6)
|
||||
take_damage(1, TRUE)
|
||||
else if(burnthrough <= 2)
|
||||
to_chat(owner, SPAN_WARNING("Your [eye_name] burn!"))
|
||||
owner.eye_blurry = max(owner.eye_blurry, rand(6, 12))
|
||||
take_damage(rand(2, 3), TRUE)
|
||||
else if(burnthrough > 2)
|
||||
to_chat(owner, SPAN_DANGER("[FONT_HUGE("Your [eye_name] burn from the intense light of the flash!")]"))
|
||||
take_damage(rand(3, 5), TRUE)
|
||||
else if(burnthrough >= 3)
|
||||
to_chat(owner, SPAN_DANGER("[FONT_HUGE("Your eyes burn from the intense light of the flash!")]"))
|
||||
take_damage(rand(5, 9), TRUE)
|
||||
owner.eye_blurry += rand(12, 20)
|
||||
|
||||
if(is_bruised() && !is_broken() && !(owner.disabilities & NEARSIGHTED))
|
||||
|
||||
Reference in New Issue
Block a user