Logo
Explore Help
Sign In
juni/crystall-punk-14
1
0
Fork 0
You've already forked crystall-punk-14
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
funnyfunnystuff
crystall-punk-14/Content.Shared/Damage/Events/BeforeStaminaDamageEvent.cs

13 lines
385 B
C#
Raw Permalink Normal View History

The long overdue downfall of stun meta - Stamina resists on Nukie & ERT Suits. (#35580) * Add stamina damage resistance * Probably starting a civil war within the community. * Tweak some values, my chart was outdated. * Tone down the values * Allow a way to bypass the resistances, which forks downstream can use. * Apply suggestions from code review Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com> * Comment out the changes to non-deathsquad suits. * minor text fix e * review --------- Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com> Co-authored-by: SlamBamActionman <slambamactionman@gmail.com> Co-authored-by: Milon <milonpl.git@proton.me>
2025-04-14 17:27:26 +02:00
using Content.Shared.Inventory;
namespace Content.Shared.Damage.Events;
/// <summary>
/// Raised before stamina damage is dealt to allow other systems to cancel or modify it.
/// </summary>
[ByRefEvent]
public record struct BeforeStaminaDamageEvent(float Value, bool Cancelled = false) : IInventoryRelayEvent
{
SlotFlags IInventoryRelayEvent.TargetSlots => ~SlotFlags.POCKET;
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.5 Page: 62ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API