Virtual Table Pet Simulator is a game with a high degree of freedom, which can be seen from the things that can be produced. Many players have just started playing this game, so they don't know how to create the favorability calculation formula for "Virtual Desk Pet Simulator". In fact, this problem is not difficult to solve. As long as you follow the editor and read this guide, you will definitely be able to solve it.
In each cycle, when the mood is greater than or equal to 90, the favorability degree increases by 0.05f; when the mood is less than or equal to 25, it decreases by 0.05
When the mood drops to 0, half of the overflow will be deducted from the favorability. For example, if the current mood is 4, reduce the mood by 10 points -> Mood is 0, and the favorability will be deducted by 3.
Feeding will increase the favorability * preference (validity) of the corresponding item. (The preference will decrease with continuous feeding of the item. Each feeding will increase the CD of the food for two hours. The CD will stack up infinitely, but The magnification will only drop to 50% at most 7 hours)
The upper limit of favorability is current level * 10 + 90, and the overflow favorability will be converted into health.