修改活动

This commit is contained in:
2025-05-11 22:08:41 +08:00
parent a7bf033ca9
commit 543b38d930
2 changed files with 48 additions and 24 deletions

View File

@@ -99,20 +99,26 @@ namespace NBF
_owner.PlayerAnimatorCtrl.PullUpRod = false;
}
// if (isSubLine)
// {
// var subLineSpeed = 2;
// var addNum = subLineSpeed * Time.deltaTime;
// // _owner.currentRod.
// // _owner.currentRod.RodData.LineLength -= addNum;
// // _owner.currentRod.currentReel.animator.SetFloat("Reeling", 1);
// _owner.Gears.Reel.AnimatorCtrl.Reeling = 1;
// }
// else
// {
// // _owner.currentRod.currentReel.animator.SetFloat("Reeling", 0);
// _owner.Gears.Reel.AnimatorCtrl.Reeling = 0;
// }
if (isSubLine)
{
var subLineSpeed = 2;
var addNum = subLineSpeed * Time.deltaTime;
if (_owner.Data.lineLength > 0.4f)
{
_owner.Data.lineLength -= addNum;
}
_owner.Data.reelSpeed = 1;
if (_owner.Data.lineLength <= 0.4f)
{
_owner.Data.lineLength = 0.4f;
ret = CheckTackFish();
}
}
else
{
_owner.Data.reelSpeed = 0;
}
return ret;
}