mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 15:37:36 +01:00
Caps the eshotgun damage multiplier from lens to 1.5 (#30663)
This commit is contained in:
@@ -239,6 +239,7 @@
|
||||
var/fail_tick = 0
|
||||
ammo_x_offset = 1
|
||||
ammo_type = list(/obj/item/ammo_casing/energy/disabler/eshotgun, /obj/item/ammo_casing/energy/laser/eshotgun)
|
||||
lens_damage_cap = 1.5 // Caps at 90 stamina damage, to prevent one shot stamina crits.
|
||||
var/pump_time = 1 SECONDS
|
||||
COOLDOWN_DECLARE(pump_cooldown)
|
||||
|
||||
|
||||
@@ -38,6 +38,8 @@
|
||||
var/can_be_lensed = TRUE
|
||||
/// Current lens
|
||||
var/obj/item/smithed_item/lens/current_lens
|
||||
/// The max damage multiplier a lens can apply to a energy gun. Use sparingly, primarly for stamina based weapons.
|
||||
var/lens_damage_cap = 999
|
||||
|
||||
/obj/item/gun/energy/examine(mob/user)
|
||||
. = ..()
|
||||
|
||||
Reference in New Issue
Block a user