mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
提高等级盈利倍率
This commit is contained in:
parent
504f597792
commit
3ad01e4782
@ -198,7 +198,7 @@ namespace VPet_Simulator.Core
|
|||||||
}
|
}
|
||||||
if (addhealth > 0)
|
if (addhealth > 0)
|
||||||
Core.Save.Health += addhealth * TimePass;
|
Core.Save.Health += addhealth * TimePass;
|
||||||
var addmoney = Math.Max(0, TimePass * (nowwork.MoneyBase * (efficiency) + Math.Sqrt(Core.Save.Level) * nowwork.MoneyLevel * (efficiency - 0.5) * 2));
|
var addmoney = Math.Max(0, TimePass * (nowwork.MoneyBase * (efficiency) + Math.Pow(Core.Save.Level, 0.75) * nowwork.MoneyLevel * (efficiency - 0.5) * 2));
|
||||||
if (nowwork.Type == GraphHelper.Work.WorkType.Work)
|
if (nowwork.Type == GraphHelper.Work.WorkType.Work)
|
||||||
Core.Save.Money += addmoney;
|
Core.Save.Money += addmoney;
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user