public bool Fish(FishingController fishingSpot) { actionTimer = fishingAnimationTime; InCombat = false; Lock(); Equipment.ShowFishingRod(); if (lastTrainedSkill != Skill.Fishing) { lastTrainedSkill = Skill.Fishing; playerAnimations.StartFishing(); return(true); } playerAnimations.Fish(); LookAt(fishingSpot.transform); if (fishingSpot.Fish(this)) { AddExp(fishingSpot.Experience, Skill.Fishing); var amount = fishingSpot.Resource * Mathf.FloorToInt(Stats.Fishing.CurrentValue / 10f); Statistics.TotalFishCollected += (int)amount; AddResource(Resource.Fishing, amount); } return(true); }