[MIRROR] [READY]syriniver nerfix / syringe projectile fix + various fixes requested by maintainer (#190)

* [READY]syriniver nerfix /  syringe projectile fix + various fixes requested by maintainer (#52019)

* syringe projectile fix

* greenman review

* oversight fix

* [READY]syriniver nerfix /  syringe projectile fix + various fixes requested by maintainer

Co-authored-by: Krysonism <49783092+Krysonism@users.noreply.github.com>
This commit is contained in:
SkyratBot
2020-08-04 12:18:41 +02:00
committed by GitHub
co-authored by Krysonism
parent 418778e7cb
commit 724f9632b5
13 changed files with 19 additions and 39 deletions
+1 -3
View File
@@ -456,9 +456,7 @@
var/mob/living/L = target
if(L.reagents && L.can_inject(null, 0))
var/injecting_amount = max(1, G.seed.potency*0.2) // Minimum of 1, max of 20
var/fraction = min(injecting_amount/G.reagents.total_volume, 1)
G.reagents.expose(L, INJECT, fraction)
G.reagents.trans_to(L, injecting_amount)
G.reagents.trans_to(L, injecting_amount, method = INJECT)
to_chat(target, "<span class='danger'>You are pricked by [G]!</span>")
log_combat(G, L, "pricked and attempted to inject reagents from [G] to [L]. Last touched by: [G.fingerprintslast].")