mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-31 00:58:26 +01:00
If you can't shoot a gun, then... JUST TOSS IT AT THEM (#84827)
## About The Pull Request Adds a new trait TRAIT_TOSS_GUN_HARD (which currently comes from the Sleeping Carp scroll, ninja MODsuit, berserk armor, being a medieval pirate or highlander). The owner of this trait deals an additional **10-20** (depending on the size of the weapon) damage to the enemy by throwing a gun, and also knocks them for 0.5 seconds. If a ballistic weapon **with a magazine** was thrown, then the magazine is removed and the bolt is racked, and if **without a magazine**, then all cartridges (revolvers) or chambered one is removed. Here's a preview of how it works: https://github.com/tgstation/tgstation/assets/126676387/2a56eb74-6d37-4343-a685-3bf7159ab628 ## Why It's Good For The Game It's classic  ## Changelog 🆑 add: If you can't shoot a gun, then... JUST TOSS IT AT THEM (for 0.5 seconds of knockdown and 10-20 an additional brute damage) /🆑 --------- Co-authored-by: paganiy <leunscrupuloustrolle@gmail.com>
This commit is contained in:
@@ -772,7 +772,7 @@
|
||||
user.physiology.brute_mod *= 0.5
|
||||
user.next_move_modifier *= BERSERK_ATTACK_SPEED_MODIFIER
|
||||
user.add_atom_colour(COLOR_BUBBLEGUM_RED, TEMPORARY_COLOUR_PRIORITY)
|
||||
ADD_TRAIT(user, TRAIT_NOGUNS, BERSERK_TRAIT)
|
||||
user.add_traits(list(TRAIT_NOGUNS, TRAIT_TOSS_GUN_HARD), BERSERK_TRAIT)
|
||||
ADD_TRAIT(src, TRAIT_NODROP, BERSERK_TRAIT)
|
||||
berserk_active = TRUE
|
||||
START_PROCESSING(SSobj, src)
|
||||
@@ -790,7 +790,7 @@
|
||||
user.physiology.brute_mod *= 2
|
||||
user.next_move_modifier /= BERSERK_ATTACK_SPEED_MODIFIER
|
||||
user.remove_atom_colour(TEMPORARY_COLOUR_PRIORITY, COLOR_BUBBLEGUM_RED)
|
||||
REMOVE_TRAIT(user, TRAIT_NOGUNS, BERSERK_TRAIT)
|
||||
user.remove_traits(list(TRAIT_NOGUNS, TRAIT_TOSS_GUN_HARD), BERSERK_TRAIT)
|
||||
REMOVE_TRAIT(src, TRAIT_NODROP, BERSERK_TRAIT)
|
||||
STOP_PROCESSING(SSobj, src)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user