Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
f320603800
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -28,7 +28,7 @@ public class EnemyPathFinding : MonoBehaviour
|
||||||
private void Rumble()
|
private void Rumble()
|
||||||
{
|
{
|
||||||
RumbleManager.StartRumble(-1, 0.5f, 0.5f, 0.25f);
|
RumbleManager.StartRumble(-1, 0.5f, 0.5f, 0.25f);
|
||||||
CameraShaker.ShakecShake(0.125f, 0.25f);
|
CameraShaker.ShakecShake(0.1f, 0.25f);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Update()
|
private void Update()
|
||||||
|
|
|
@ -87,7 +87,7 @@ public class HealthComponent : MonoBehaviour, ISquezeDamageReceiver
|
||||||
if (bloodRegen)
|
if (bloodRegen)
|
||||||
{
|
{
|
||||||
PlayerInput playerInput = GetComponent<PlayerInput>();
|
PlayerInput playerInput = GetComponent<PlayerInput>();
|
||||||
float bloodAccumalted = playerInput.PlayerNum == 1 ? BloodComputeShader.Instance.mop1Clean : BloodComputeShader.Instance.mop2Clean;
|
float bloodAccumalted = playerInput.PlayerNum == 0 ? BloodComputeShader.Instance.mop1Clean : BloodComputeShader.Instance.mop2Clean;
|
||||||
TakeDamage(-bloodAccumalted / regen);
|
TakeDamage(-bloodAccumalted / regen);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue