mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
降低心情掉落速率
This commit is contained in:
parent
62fea177b1
commit
32c0601654
@ -166,9 +166,9 @@ namespace VPet_Simulator.Core
|
|||||||
Core.Save.StoreTake();
|
Core.Save.StoreTake();
|
||||||
double freedrop = (DateTime.Now - LastInteractionTime).TotalMinutes;
|
double freedrop = (DateTime.Now - LastInteractionTime).TotalMinutes;
|
||||||
if (freedrop < 1)
|
if (freedrop < 1)
|
||||||
freedrop = 0.25 * TimePass;
|
freedrop = 0;
|
||||||
else
|
else
|
||||||
freedrop = Math.Min(Math.Sqrt(freedrop) * TimePass / 2, Core.Save.FeelingMax / 400);
|
freedrop = Math.Min(Math.Sqrt(freedrop) * TimePass / 4, Core.Save.FeelingMax / 800);
|
||||||
switch (State)
|
switch (State)
|
||||||
{
|
{
|
||||||
case WorkingState.Empty:
|
case WorkingState.Empty:
|
||||||
|
Loading…
Reference in New Issue
Block a user