Skip to content

Commit

Permalink
Agent attribute bugfix (#2075)
Browse files Browse the repository at this point in the history
* Update agent.dm

* Update suppression.dm

* Update agent.dm

* Update suppression.dm

* Update suppression.dm
  • Loading branch information
tile4 authored Apr 25, 2024
1 parent 0aaf849 commit 7c83259
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 15 deletions.
10 changes: 5 additions & 5 deletions code/modules/jobs/job_types/agent.dm
Original file line number Diff line number Diff line change
Expand Up @@ -85,19 +85,19 @@
if(15 to 29) // Shouldn't be anything more than TETHs (4 Abnormalities)
set_attribute *= 1.5

if(30 to 44) // HEs (8 Abnormalities)
if(29 to 44) // HEs (8 Abnormalities)
set_attribute *= 2

if(45 to 59) // A bit before WAWs (11 Abnormalities)
if(44 to 59) // A bit before WAWs (11 Abnormalities)
set_attribute *= 2.5

if(60 to 69) // WAWs around here (15 Abnormalities)
if(59 to 69) // WAWs around here (15 Abnormalities)
set_attribute *= 3

if(70 to 79) // ALEPHs starting to spawn (17 Abnormalities)
if(69 to 79) // ALEPHs starting to spawn (17 Abnormalities)
set_attribute *= 3.5

if(80 to 100) // ALEPHs around here (20 Abnormalities)
if(79 to 100) // ALEPHs around here (20 Abnormalities)
set_attribute *= 4

set_attribute += GetFacilityUpgradeValue(UPGRADE_AGENT_STATS)
Expand Down
22 changes: 12 additions & 10 deletions code/modules/jobs/job_types/suppression.dm
Original file line number Diff line number Diff line change
Expand Up @@ -36,21 +36,22 @@
if(15 to 29) // Shouldn't be anything more than TETHs (4 Abnormalities)
set_attribute *= 1.5

if(30 to 44) // HEs (8 Abnormalities)
if(29 to 44) // HEs (8 Abnormalities)
set_attribute *= 2

if(45 to 59) // A bit before WAWs (11 Abnormalities)
if(44 to 59) // A bit before WAWs (11 Abnormalities)
set_attribute *= 2.5

if(60 to 69) // WAWs around here (15 Abnormalities)
if(59 to 69) // WAWs around here (15 Abnormalities)
set_attribute *= 3

if(70 to 79) // ALEPHs starting to spawn (17 Abnormalities)
if(69 to 79) // ALEPHs starting to spawn (17 Abnormalities)
set_attribute *= 3.5

if(80 to 100) // ALEPHs around here (20 Abnormalities)
if(79 to 100) // ALEPHs around here (20 Abnormalities)
set_attribute *= 4


set_attribute += GetFacilityUpgradeValue(UPGRADE_AGENT_STATS)*2 //Get double stats because this is all they get.

for(var/A in roundstart_attributes)
Expand Down Expand Up @@ -146,21 +147,22 @@
if(15 to 29) // Shouldn't be anything more than TETHs (4 Abnormalities)
set_attribute *= 1.5

if(30 to 44) // HEs (8 Abnormalities)
if(29 to 44) // HEs (8 Abnormalities)
set_attribute *= 2

if(45 to 59) // A bit before WAWs (11 Abnormalities)
if(44 to 59) // A bit before WAWs (11 Abnormalities)
set_attribute *= 2.5

if(60 to 69) // WAWs around here (15 Abnormalities)
if(59 to 69) // WAWs around here (15 Abnormalities)
set_attribute *= 3

if(70 to 79) // ALEPHs starting to spawn (17 Abnormalities)
if(69 to 79) // ALEPHs starting to spawn (17 Abnormalities)
set_attribute *= 3.5

if(80 to 100) // ALEPHs around here (20 Abnormalities)
if(79 to 100) // ALEPHs around here (20 Abnormalities)
set_attribute *= 4


set_attribute += GetFacilityUpgradeValue(UPGRADE_AGENT_STATS)*2 //Get double stats because this is all they get.

//Set all stats to 0
Expand Down

0 comments on commit 7c83259

Please sign in to comment.