Change wide swing sprites to be that of the weapon used (#21050)

Co-authored-by: notquitehadouken <1isthisameme>
This commit is contained in:
I.K
2023-10-17 20:12:00 -05:00
committed by GitHub
parent b33b57509e
commit df81532469
53 changed files with 160 additions and 103 deletions

View File

@@ -207,9 +207,6 @@ public sealed class AbsorbentSystem : SharedAbsorbentSystem
_audio.PlayPvs(component.TransferSound, target);
_useDelay.BeginDelay(used);
return true;
_audio.PlayPvs(component.TransferSound, target);
_useDelay.BeginDelay(used);
return true;
}
/// <summary>
@@ -259,7 +256,7 @@ public sealed class AbsorbentSystem : SharedAbsorbentSystem
var localPos = _transform.GetInvWorldMatrix(userXform).Transform(targetPos);
localPos = userXform.LocalRotation.RotateVec(localPos);
_melee.DoLunge(user, Angle.Zero, localPos, null, false);
_melee.DoLunge(user, used, Angle.Zero, localPos, null, false);
return true;
}