mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
工作等级获取速率限制
This commit is contained in:
parent
c1d9eb6770
commit
5858fd0bbb
@ -32,6 +32,8 @@ namespace VPet_Simulator.Windows.Interface
|
|||||||
var rel = get / spend;
|
var rel = get / spend;
|
||||||
if (rel < 0)
|
if (rel < 0)
|
||||||
return true;
|
return true;
|
||||||
|
if (Math.Abs(get) > (work.LevelLimit + 4) * 5) //等级获取速率限制
|
||||||
|
return true;
|
||||||
return rel > 2; // 推荐rel为1.0-1.4之间 超过2.0就是超模
|
return rel > 2; // 推荐rel为1.0-1.4之间 超过2.0就是超模
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -315,7 +315,7 @@ namespace VPet_Simulator.Windows
|
|||||||
TakeItem(item);
|
TakeItem(item);
|
||||||
Main.Display(item.GetGraph(), item.ImageSource, Main.DisplayToNomal);
|
Main.Display(item.GetGraph(), item.ImageSource, Main.DisplayToNomal);
|
||||||
}
|
}
|
||||||
else if (Core.Save.Feeling < 50)
|
else if (Set.AutoGift && Core.Save.Feeling < 50)
|
||||||
{
|
{
|
||||||
food = food.FindAll(x => x.Type == Food.FoodType.Gift && x.Feeling > 10);
|
food = food.FindAll(x => x.Type == Food.FoodType.Gift && x.Feeling > 10);
|
||||||
if (food.Count == 0)
|
if (food.Count == 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user