Skip to content

Commit

Permalink
ion storm twice as likely to emp bots, but guardbots/secbots have a h…
Browse files Browse the repository at this point in the history
…alved chance
  • Loading branch information
Tarmunora committed Oct 4, 2023
1 parent 80c66cc commit 62337a0
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions code/modules/events/ion_storm.dm
Original file line number Diff line number Diff line change
Expand Up @@ -413,12 +413,11 @@ ABSTRACT_TYPE(/datum/ion_category)
alert_prog.send_alert(rand(1,4), TRUE)

/datum/ion_category/station_bots
amount = 1
prob_of_happening = 10
amount = 2
prob_of_happening = 20

valid_instance(obj/machinery/bot/bot)
. = ..() && !bot.emagged

. = ..() && !bot.emagged && (!istype(bot, /obj/machinery/bot/guardbot) && !istype(bot, /obj/machinery/bot/secbot) || prob(50))

build_targets()
for_by_tcl(bot, /obj/machinery/bot)
Expand Down

0 comments on commit 62337a0

Please sign in to comment.