mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 16:18:01 +01:00
Liberator pistol applies damage multipliers in process_fire() rather than fire_gun() (#95599)
## About The Pull Request The code works exactly the same, because it didn't really need to be in `fire_gun()`. The reason for this is that there are some ways that guns are shot directly through `process_fire()`, such as clowns or mail, which never end up applying multipliers. ## Why It's Good For The Game I'd say that the distance from your hand to your foot is probably point-blank.
This commit is contained in:
@@ -268,7 +268,7 @@
|
||||
unload_ammo(user, forced = TRUE)
|
||||
return FALSE
|
||||
|
||||
/obj/item/gun/ballistic/automatic/pistol/doorhickey/fire_gun(atom/target, mob/living/user, flag, params)
|
||||
/obj/item/gun/ballistic/automatic/pistol/doorhickey/process_fire(atom/target, mob/living/user, message, params, zone_override, bonus_spread)
|
||||
var/dmg_multiplier = 1
|
||||
|
||||
if (get_dist(target, user) <= 1)
|
||||
|
||||
Reference in New Issue
Block a user