2022-08-13 09:49:41 -04:00
|
|
|
namespace Content.Shared.Alert
|
2020-11-09 20:22:19 -08:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Every kind of alert. Corresponds to alertType field in alert prototypes defined in YML
|
2020-12-13 14:28:20 -08:00
|
|
|
/// NOTE: Using byte for a compact encoding when sending this in messages, can upgrade
|
|
|
|
|
/// to ushort
|
2020-11-09 20:22:19 -08:00
|
|
|
/// </summary>
|
2020-12-13 14:28:20 -08:00
|
|
|
public enum AlertType : byte
|
2020-11-09 20:22:19 -08:00
|
|
|
{
|
|
|
|
|
Error,
|
2020-12-23 23:46:01 +01:00
|
|
|
LowOxygen,
|
2024-01-23 21:17:40 +01:00
|
|
|
LowNitrogen,
|
2020-11-09 20:22:19 -08:00
|
|
|
LowPressure,
|
|
|
|
|
HighPressure,
|
|
|
|
|
Fire,
|
|
|
|
|
Cold,
|
|
|
|
|
Hot,
|
|
|
|
|
Weightless,
|
|
|
|
|
Stun,
|
|
|
|
|
Handcuffed,
|
2022-08-24 10:50:31 -04:00
|
|
|
Ensnared,
|
2020-11-09 20:22:19 -08:00
|
|
|
Buckled,
|
|
|
|
|
HumanCrit,
|
|
|
|
|
HumanDead,
|
|
|
|
|
HumanHealth,
|
2023-08-12 17:39:58 -04:00
|
|
|
BorgBattery,
|
|
|
|
|
BorgBatteryNone,
|
2020-11-09 20:22:19 -08:00
|
|
|
PilotingShuttle,
|
|
|
|
|
Peckish,
|
|
|
|
|
Starving,
|
|
|
|
|
Thirsty,
|
|
|
|
|
Parched,
|
2022-07-06 18:06:12 +10:00
|
|
|
Stamina,
|
2020-11-09 20:22:19 -08:00
|
|
|
Pulled,
|
|
|
|
|
Pulling,
|
2021-01-11 19:24:09 +01:00
|
|
|
Magboots,
|
2022-07-25 14:42:25 +10:00
|
|
|
Internals,
|
2022-02-10 17:53:10 +13:00
|
|
|
Toxins,
|
2022-06-06 04:35:24 -04:00
|
|
|
Muted,
|
2022-04-28 23:41:03 -04:00
|
|
|
VowOfSilence,
|
|
|
|
|
VowBroken,
|
2022-08-13 09:49:41 -04:00
|
|
|
Essence,
|
|
|
|
|
Corporeal,
|
2023-07-26 02:28:35 +05:00
|
|
|
Bleed,
|
2023-08-05 17:27:12 -04:00
|
|
|
Pacified,
|
2020-11-09 20:22:19 -08:00
|
|
|
Debug1,
|
|
|
|
|
Debug2,
|
|
|
|
|
Debug3,
|
|
|
|
|
Debug4,
|
|
|
|
|
Debug5,
|
2023-09-10 07:20:27 +01:00
|
|
|
Debug6,
|
2023-09-15 06:14:47 +03:00
|
|
|
SuitPower,
|
2023-11-09 18:14:06 -05:00
|
|
|
BorgHealth,
|
|
|
|
|
BorgCrit,
|
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
2024-05-07 19:14:58 +01:00
|
|
|
BorgDead,
|
|
|
|
|
Deflecting
|
2020-11-09 20:22:19 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|