Skip to content

Commit

Permalink
Shock Work Fix (#2405)
Browse files Browse the repository at this point in the history
  • Loading branch information
EnderMage99 authored Sep 1, 2024
1 parent cdec481 commit a3dad9e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@

var/tailattack_range = 5

var/repression_change_qlip_1 = 30
var/repression_change_qlip_1_2 = 50


/* Work effects */
Expand Down Expand Up @@ -108,8 +108,8 @@
return TRUE

/mob/living/simple_animal/hostile/abnormality/shock_centipede/ChanceWorktickOverride(mob/living/carbon/human/user, work_chance, init_work_chance, work_type)
if((datum_reference?.qliphoth_meter == 1 || datum_reference?.qliphoth_meter == 2) && work_type != ABNORMALITY_WORK_REPRESSION)
return repression_change_qlip_1
if((datum_reference?.qliphoth_meter == 1 || datum_reference?.qliphoth_meter == 2) && work_type == ABNORMALITY_WORK_REPRESSION)
return repression_change_qlip_1_2
else
return work_chance

Expand Down

0 comments on commit a3dad9e

Please sign in to comment.