Skip to content

Commit

Permalink
Fix ranged holopara fire rate (#9923)
Browse files Browse the repository at this point in the history
  • Loading branch information
Absolucy authored Sep 29, 2023
1 parent 1c3e40d commit 34960eb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/modules/holoparasite/abilities/weapon/projectile.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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)
Expand Down

0 comments on commit 34960eb

Please sign in to comment.