Chances of triggering effects (#27056)
* electrocution * slippery * flashibg * Update SlipperyComponent.cs * Update SlipperySystem.cs
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