Add reflection for crystals (#16426)

This commit is contained in:
metalgearsloth
2023-05-15 15:21:05 +10:00
committed by GitHub
parent fd35b61160
commit 347dcfbeb5
11 changed files with 177 additions and 81 deletions

View File

@@ -1,3 +1,5 @@
using Content.Shared.Weapons.Reflect;
namespace Content.Shared.Weapons.Ranged.Events;
/// <summary>
@@ -5,4 +7,4 @@ namespace Content.Shared.Weapons.Ranged.Events;
/// and changing <see cref="Direction"/> where shot will go next
/// </summary>
[ByRefEvent]
public record struct HitScanReflectAttemptEvent(Vector2 Direction, bool Reflected);
public record struct HitScanReflectAttemptEvent(ReflectType Reflective, Vector2 Direction, bool Reflected);