mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
linter
This commit is contained in:
@@ -931,7 +931,7 @@
|
||||
var/damage_factor = (1 - unhappy_factor) //Unhappy factor is 0 at max unhappiness. Damage_factor is 1 at max unhappiness.
|
||||
var/prob_to_drop = (33 + damage_factor*66) //100% if just above 50%, 33% if just below 125%
|
||||
var/damage_taken = 5 + 10 * factor //15 damage if just above 50%, 5 if just below 125%
|
||||
var/message_on_fire = "<span class='notice'>As you pull the trigger, you feel the gun painfully slam into your shoulder, leaving a painful bruise!"
|
||||
var/message_on_fire = "<span class='notice'>As you pull the trigger, you feel the gun painfully slam into your shoulder, leaving a painful bruise!</span>"
|
||||
var/in_left_hand = TRUE
|
||||
if(user.r_hand == src)
|
||||
in_left_hand = FALSE
|
||||
@@ -939,7 +939,7 @@
|
||||
user.apply_damage(damage_taken,BRUTE,damaged_body_part) //Bruise
|
||||
user.apply_damage(damage_taken * 3,HALLOSS) //Ouchie juice
|
||||
if(prob(prob_to_drop))
|
||||
message_on_fire += " The force causes you to stumble backwards, dropping the gun and falling to the ground."
|
||||
message_on_fire += "<span class='notice'> The force causes you to stumble backwards, dropping the gun and falling to the ground.</span>"
|
||||
user.drop_item()
|
||||
user.apply_effect(25,WEAKEN)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user