Skip to content

Commit

Permalink
Tac reload change/nerf (#16809)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lumipharon authored Dec 22, 2024
1 parent a4a5a0b commit b16edc0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions code/modules/projectiles/gun_helpers.dm
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,9 @@ As sniper rifles have both and weapon mods can change them as well. ..() deals w
to_chat(user, span_warning("You don't know how to do tactical reloads."))
return
to_chat(user, span_notice("You start a tactical reload."))
var/tac_reload_time = max(0.25 SECONDS, 0.75 SECONDS - user.skills.getRating(SKILL_COMBAT) * 5)
if(length(chamber_items))
if(!do_after(user, tac_reload_time, IGNORE_USER_LOC_CHANGE, new_magazine) && loc == user)
return
unload(user)
if(!do_after(user, tac_reload_time, IGNORE_USER_LOC_CHANGE, new_magazine) && loc == user)
if(!do_after(user, max(0.5 SECONDS, 1.5 SECONDS - user.skills.getRating(SKILL_COMBAT) * 5), IGNORE_USER_LOC_CHANGE, new_magazine) && loc == user)
return
if(new_magazine.item_flags & IN_STORAGE)
var/obj/item/storage/S = new_magazine.loc
Expand Down

0 comments on commit b16edc0

Please sign in to comment.