From 34960ebd241f9cd6b3ab567beae89f4096c88ab7 Mon Sep 17 00:00:00 2001 From: Lucy Date: Fri, 29 Sep 2023 16:38:52 -0400 Subject: [PATCH] Fix ranged holopara fire rate (#9923) --- code/modules/holoparasite/abilities/weapon/projectile.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/holoparasite/abilities/weapon/projectile.dm b/code/modules/holoparasite/abilities/weapon/projectile.dm index f70547a8eb243..ba7248ed639d8 100644 --- a/code/modules/holoparasite/abilities/weapon/projectile.dm +++ b/code/modules/holoparasite/abilities/weapon/projectile.dm @@ -17,6 +17,7 @@ /datum/holoparasite_ability/weapon/ranged/apply() . = ..() owner.ranged = TRUE + owner.ranged_cooldown_time = 17.5 / master_stats.speed owner.melee_damage = 6 + round((master_stats.damage - 1) * 0.8) // barely stronger than a normal human punch owner.obj_damage = 6 + round((master_stats.damage - 1) * 0.8) owner.response_harm = "weakly punches" @@ -25,6 +26,7 @@ /datum/holoparasite_ability/weapon/ranged/remove() . = ..() owner.ranged = initial(owner.ranged) + owner.ranged_cooldown_time = initial(owner.ranged_cooldown_time) owner.melee_damage = initial(owner.melee_damage) owner.obj_damage = initial(owner.obj_damage) owner.response_harm = initial(owner.response_harm)