From 7c83259a363f922a6cc08ec16569be53f26f90b3 Mon Sep 17 00:00:00 2001 From: tile4 <153015471+tile4@users.noreply.github.com> Date: Thu, 25 Apr 2024 19:37:43 -0400 Subject: [PATCH] Agent attribute bugfix (#2075) * Update agent.dm * Update suppression.dm * Update agent.dm * Update suppression.dm * Update suppression.dm --- code/modules/jobs/job_types/agent.dm | 10 +++++----- code/modules/jobs/job_types/suppression.dm | 22 ++++++++++++---------- 2 files changed, 17 insertions(+), 15 deletions(-) diff --git a/code/modules/jobs/job_types/agent.dm b/code/modules/jobs/job_types/agent.dm index c413ce6323fa..4e21b928e2de 100644 --- a/code/modules/jobs/job_types/agent.dm +++ b/code/modules/jobs/job_types/agent.dm @@ -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) diff --git a/code/modules/jobs/job_types/suppression.dm b/code/modules/jobs/job_types/suppression.dm index 1f1949d86db1..4af59c20035e 100644 --- a/code/modules/jobs/job_types/suppression.dm +++ b/code/modules/jobs/job_types/suppression.dm @@ -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) @@ -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