mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-30 16:17:27 +00:00
Chances of triggering effects (#27056)
* electrocution
* slippery
* flashibg
* Update SlipperyComponent.cs
* Update SlipperySystem.cs
(cherry picked from commit 5659edd207)
This commit is contained in:
@@ -153,7 +153,7 @@ namespace Content.Server.Explosion.EntitySystems
|
||||
private void HandleFlashTrigger(EntityUid uid, FlashOnTriggerComponent component, TriggerEvent args)
|
||||
{
|
||||
// TODO Make flash durations sane ffs.
|
||||
_flashSystem.FlashArea(uid, args.User, component.Range, component.Duration * 1000f);
|
||||
_flashSystem.FlashArea(uid, args.User, component.Range, component.Duration * 1000f, probability: component.Probability);
|
||||
args.Handled = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user