using NBF; using UnityEngine; public class FBait : FPlayerGear { // private float takeRange = 5f; public BaitAsset baitAsset; private void Awake() { baitAsset = GetComponent(); } // public bool CheckBaitEfficacy(float distanceToFish) // { // float num = 0f; // // float num2 = 100f; // takeRange = 1f + num2 * 0.5f; // int num3 = Random.Range(0, 1); // Debug.Log("Bait efficacy range: " + (takeRange + takeRange * num) + " Bait current efficacy < rand: " + num2 + // "/" + num3); // if ((float)num3 > num2) // { // Debug.Log("Bait efficacy is too low"); // return false; // } // // return true; // } }