From 2b702e3a260d7caac95b3d95d004e49fe86e50d9 Mon Sep 17 00:00:00 2001 From: Atermonera Date: Thu, 21 May 2020 11:40:33 -0700 Subject: [PATCH] Merge pull request #7183 from Mechoid/SwarmPylonUpkeep Swarm Balancing Upkeep --- code/game/objects/structures/props/swarm.dm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/game/objects/structures/props/swarm.dm b/code/game/objects/structures/props/swarm.dm index 455698acb25..128254a456e 100644 --- a/code/game/objects/structures/props/swarm.dm +++ b/code/game/objects/structures/props/swarm.dm @@ -114,7 +114,7 @@ /obj/structure/cult/pylon/swarm/defender/pylonhit(var/damage) if(!isbroken) - if(prob(1 + damage * 3) && round(damage * 0.8) >= 30) + if(prob(1 + damage * 3) && damage >= 25) visible_message("[shatter_message]") STOP_PROCESSING(SSobj, src) playsound(src,shatter_sound, 75, 1) @@ -125,7 +125,7 @@ /obj/structure/cult/pylon/swarm/defender/attackpylon(mob/user as mob, var/damage) if(!isbroken) - if(prob(1 + damage * 3) && round(damage * 0.8) >= 25) + if(prob(1 + damage * 2) && damage >= 15) user.visible_message( "[user] smashed \the [src]!", "You hit \the [src], and its crystal breaks apart!", @@ -142,7 +142,7 @@ to_chat(user, "You hit \the [src]!") playsound(src,impact_sound, 75, 1) else - if(prob(damage * 2)) + if(prob(damage * 3)) to_chat(user, "You pulverize what was left of \the [src]!") qdel(src) else