mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
修复超模工作计算错误 Fix #185
This commit is contained in:
parent
7dcfa14032
commit
146a08bea4
@ -21,7 +21,7 @@ namespace VPet_Simulator.Windows.Interface
|
|||||||
(work.Feeling >= 0 ? 1 : -1) * Math.Pow((work.Type == Work.WorkType.Play ? -1 : 1) * work.Feeling * 2 + 1, 2) / 12) *
|
(work.Feeling >= 0 ? 1 : -1) * Math.Pow((work.Type == Work.WorkType.Play ? -1 : 1) * work.Feeling * 2 + 1, 2) / 12) *
|
||||||
(Math.Pow(work.LevelLimit / 2 + 1, 0.5) / 4 + 1) - 0.5;
|
(Math.Pow(work.LevelLimit / 2 + 1, 0.5) / 4 + 1) - 0.5;
|
||||||
if (spend <= 0)
|
if (spend <= 0)
|
||||||
return false;
|
return true;
|
||||||
var get = (work.MoneyBase + work.MoneyLevel * 10) * (work.MoneyLevel + 1) * (1 + work.FinishBonus / 2);
|
var get = (work.MoneyBase + work.MoneyLevel * 10) * (work.MoneyLevel + 1) * (1 + work.FinishBonus / 2);
|
||||||
if (work.Type != Work.WorkType.Work)
|
if (work.Type != Work.WorkType.Work)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user