Skip to content

Commit

Permalink
v50 and balanced spore lizard
Browse files Browse the repository at this point in the history
  • Loading branch information
Feiryn committed Jul 5, 2024
1 parent 13c8618 commit b57accf
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions LethalMon/Behaviours/SporeLizardTamedBehaviour.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ internal class SporeLizardTamedBehaviour : TamedEnemyBehaviour
{
#region Properties
// Multiplier compared to default player movement
internal readonly float RidingSpeedMultiplier = 2.2f;
internal readonly float RidingJumpForceMultiplier = 1.7f;
internal readonly float RidingSpeedMultiplier = 1.5f;
internal readonly float RidingJumpForceMultiplier = 1.3f;
internal readonly float RidingTriggerHoldTime = 1f;

internal PufferAI sporeLizard { get; private set; }
Expand Down Expand Up @@ -191,7 +191,8 @@ public void StartRidingClientRpc()

previousJumpForce = ownerPlayer!.jumpForce;
ownerPlayer!.playerBodyAnimator.enabled = false;
ownerPlayer!.disableInteract = true;
// todo v55
// ownerPlayer!.disableInteract = true;

if (IsOwnerPlayer)
{
Expand Down Expand Up @@ -219,7 +220,8 @@ public void StopRidingClientRpc()
sporeLizard.transform.SetParent(null);

ownerPlayer!.playerBodyAnimator.enabled = true;
ownerPlayer!.disableInteract = false;
// todo v55
// ownerPlayer!.disableInteract = false;

sporeLizard.agentLocalVelocity = Vector3.zero;
sporeLizard.CalculateAnimationDirection(0f);
Expand Down

0 comments on commit b57accf

Please sign in to comment.