]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Weapon Reflection Movement Mechanic (#27219)
authorHannah Giovanna Dawson <karakkaraz@gmail.com>
Tue, 7 May 2024 18:14:58 +0000 (19:14 +0100)
committerGitHub <noreply@github.com>
Tue, 7 May 2024 18:14:58 +0000 (20:14 +0200)
commitb90373356e7f4f0eee693732964eac9c9eaa1f02
treeb19c7e5f97ac177c15b7c96786cc0376cfd5c003
parentcd8e90c58ecd47fb018e402bd7dea84a9715bb13
Weapon Reflection Movement Mechanic (#27219)

* Weapon Reflection Movement Mechanic

Adds a movement mechanic to deflection.
Standing still gives you your best chance of deflecting a shot.
Moving lowers this to 2/3rds. Sprinting to 1/3rd.

This allows for robust players to express better and provides
counterplay to someone finding a goober-strong deflection
weapon, giving more design space.

As part of this PR I've also touched the numbers of a few swords,
shields, etc. and modified some descriptions to make them read
better. The balance numbers are not remotely final, but as intent:

1. All the sidearm swords (katana, cutlass, captain's sabre) have the same damage. There's no good reason the "ceremonial" blade the captain has doing more damage than a katana.
2. The Captain's Sabre has a 30% reflect chance, dropping to 20% when moving and 10% when sprinting. This one is controversial due to the recent nerf, I suspect: This could easily be 15->10->5?
3. The Energy Katana has a flat 30% reflect chance.
4. The meme Throngler has a 30% reflect chance, dropping to 20% when moving and 10% when sprinting.
5. The E-Sword has a 30% reflect chance, dropping to 20% when moving and 10% when sprinting.
6. The Double E-Sword has a mighty 75% reflect chance, dropping to 50% and then 25%.
7. Both reflective shields - Mirror and Energy - have a 95% deflect chance, dropping to 63% then 31%.

* Resolve PR comments.

* Weh?

* Reign in double esword a tad

* Shield nerfs no longer real

* Improve Mirror Cult desc

* Simple alert for deflection! No art yet.

* Added a new icon for deflecting
13 files changed:
Content.Shared/Alert/AlertType.cs
Content.Shared/Weapons/Reflect/ReflectComponent.cs
Content.Shared/Weapons/Reflect/ReflectSystem.cs
Resources/Locale/en-US/alerts/alerts.ftl
Resources/Prototypes/Alerts/alerts.yml
Resources/Prototypes/Anomaly/behaviours.yml
Resources/Prototypes/Entities/Clothing/OuterClothing/armor.yml
Resources/Prototypes/Entities/Mobs/NPCs/hellspawn.yml
Resources/Prototypes/Entities/Objects/Shields/shields.yml
Resources/Prototypes/Entities/Objects/Weapons/Melee/e_sword.yml
Resources/Prototypes/Entities/Objects/Weapons/Melee/sword.yml
Resources/Textures/Interface/Alerts/deflecting.rsi/deflecting0.png [new file with mode: 0644]
Resources/Textures/Interface/Alerts/deflecting.rsi/meta.json [new file with mode: 0644]