diff --git a/code/modules/antagonists/space_ninja/ninja_datum.dm b/code/modules/antagonists/space_ninja/ninja_datum.dm index 1d5db66cfbe..a9edb1f5744 100644 --- a/code/modules/antagonists/space_ninja/ninja_datum.dm +++ b/code/modules/antagonists/space_ninja/ninja_datum.dm @@ -442,40 +442,32 @@ // RnD Hack: Flag set to complete in the DrainAct in ninjaDrainAct.dm add_objective(/datum/objective/research_corrupt) - var/pick_chance = rand(0, 100) - if(pick_chance <= 25) + if(prob(50)) var/datum/objective/plant_explosive/bomb_objective = add_objective(/datum/objective/plant_explosive) bomb_objective.give_bomb(delayed = 0) - else if(pick_chance <= 50) + else var/datum/objective/set_up/set_up_objective = add_objective(/datum/objective/set_up) if(!set_up_objective.target) qdel(set_up_objective) - else - var/datum/objective/pain_hunter/pain_hunter_objective = add_objective(/datum/objective/pain_hunter) - if(!pain_hunter_objective.target) - qdel(pain_hunter_objective) - - switch(pick(1,2)) - if(1) - add_objective(/datum/objective/get_money) + if(prob(50)) + add_objective(/datum/objective/get_money) - if(2) - add_objective(/datum/objective/find_and_scan) + else + add_objective(/datum/objective/find_and_scan) - switch(pick(1,2)) - if(1) - for(var/i in 1 to 2) - var/datum/objective/assassinate/assassinate_objective = add_objective(/datum/objective/assassinate) - if(!assassinate_objective.target) - qdel(assassinate_objective) + if(prob(50)) + for(var/i in 1 to 2) + var/datum/objective/assassinate/assassinate_objective = add_objective(/datum/objective/assassinate) + if(!assassinate_objective.target) + qdel(assassinate_objective) - if(2) - for(var/i in 1 to 2) - var/datum/objective/steal/steal_objective = add_objective(/datum/objective/steal) - if(!steal_objective.steal_target) - qdel(steal_objective) + else + for(var/i in 1 to 2) + var/datum/objective/steal/steal_objective = add_objective(/datum/objective/steal) + if(!steal_objective.steal_target) + qdel(steal_objective) var/list/all_objectives = owner.get_all_objectives() if(!(locate(/datum/objective/escape) in all_objectives) && !(locate(/datum/objective/survive) in all_objectives)) diff --git a/code/modules/antagonists/traitor/datum_traitor.dm b/code/modules/antagonists/traitor/datum_traitor.dm index 850ecda5811..addb7a3b945 100644 --- a/code/modules/antagonists/traitor/datum_traitor.dm +++ b/code/modules/antagonists/traitor/datum_traitor.dm @@ -195,9 +195,6 @@ else if(prob(5)) add_objective(/datum/objective/debrain) - else if(prob(30)) - add_objective(/datum/objective/pain_hunter) - else if(prob(20)) add_objective(/datum/objective/protect)