mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Derped up a bit in the last commit.
This commit is contained in:
@@ -48,7 +48,7 @@
|
||||
if(PARALYZE)
|
||||
Paralyse(effect/(blocked+1))
|
||||
if(IRRADIATE)
|
||||
radiation += max((effect - (effect*getarmor(null, "melee"))), 0)//Rads auto check armor
|
||||
radiation += max((effect - (effect*getarmor(null, "rad"))), 0)//Rads auto check armor
|
||||
if(STUTTER)
|
||||
stuttering = max(stuttering,(effect/(blocked+1)))
|
||||
if(SLUR)
|
||||
|
||||
@@ -44,16 +44,19 @@
|
||||
M.visible_message("\blue [user] decided life was worth living")
|
||||
return
|
||||
if(istype(src.in_chamber, /obj/item/projectile/bullet) && !istype(src.in_chamber, /obj/item/projectile/bullet/stunshot))
|
||||
M.apply_damage(160, BRUTE, "head", used_weapon = "Suicide attempt with a projectile weapon.")
|
||||
M.apply_damage(75, BRUTE, "head", used_weapon = "Suicide attempt with a projectile weapon.")
|
||||
M.apply_damage(85, BRUTE, "chest")
|
||||
M.visible_message("\red [user] pulls the trigger.")
|
||||
else if(istype(src.in_chamber, /obj/item/projectile/bullet/stunshot) || istype(src.in_chamber, /obj/item/projectile/energy/electrode))
|
||||
M.apply_damage(10, BURN, "head", used_weapon = "Suicide attempt with a stun round.")
|
||||
M.visible_message("\red [user] pulls the trigger, but luckily it was a stun round.")
|
||||
else if(istype(src.in_chamber, /obj/item/projectile/beam) || istype(src.in_chamber, /obj/item/projectile/energy))
|
||||
M.apply_damage(160, BURN, "head", used_weapon = "Suicide attempt with an energy weapon")
|
||||
M.apply_damage(75, BURN, "head", used_weapon = "Suicide attempt with an energy weapon")
|
||||
M.apply_damage(85, BURN, "chest")
|
||||
M.visible_message("\red [user] pulls the trigger.")
|
||||
else
|
||||
M.apply_damage(160, BRUTE, "head", used_weapon = "Suicide attempt with a gun")
|
||||
M.apply_damage(75, BRUTE, "head", used_weapon = "Suicide attempt with a gun")
|
||||
M.apply_damage(85, BRUTE, "chest")
|
||||
M.visible_message("\red [user] pulls the trigger. Ow.")
|
||||
return
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user