mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 15:17:01 +01:00
[MIRROR] Fixes projectile damage multiplier not applying to stamina damage dealt by projectiles. (#3511)
* Fixes projectile damage multiplier not applying to stamina damage dealt by projectiles. (#57016) * Fixes projectile damage multiplier not applying to stamina damage dealt by projectiles. Co-authored-by: necromanceranne <40847847+necromanceranne@users.noreply.github.com>
This commit is contained in:
co-authored by
necromanceranne
parent
a7f4cf497f
commit
7ddcb5573d
@@ -42,6 +42,7 @@
|
||||
if(isgun(fired_from))
|
||||
var/obj/item/gun/G = fired_from
|
||||
loaded_projectile.damage *= G.projectile_damage_multiplier
|
||||
loaded_projectile.stamina *= G.projectile_damage_multiplier
|
||||
|
||||
if(reagents && loaded_projectile.reagents)
|
||||
reagents.trans_to(loaded_projectile, reagents.total_volume, transfered_by = user) //For chemical darts/bullets
|
||||
|
||||
Reference in New Issue
Block a user