mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
为新成就准备的新统计数据2
This commit is contained in:
parent
b162309c58
commit
2dd4393b9e
@ -308,6 +308,7 @@ namespace VPet_Simulator.Windows
|
||||
var item = food[Function.Rnd.Next(food.Count)];
|
||||
Core.Save.Money -= item.Price * 0.2;
|
||||
TakeItem(item);
|
||||
GameSavesData.Statistics[(gint)"stat_autobuy"]++;
|
||||
Main.Display(item.GetGraph(), item.ImageSource, Main.DisplayToNomal);
|
||||
}
|
||||
else if (Core.Save.StrengthDrink < 75)
|
||||
@ -318,6 +319,7 @@ namespace VPet_Simulator.Windows
|
||||
var item = food[Function.Rnd.Next(food.Count)];
|
||||
Core.Save.Money -= item.Price * 0.2;
|
||||
TakeItem(item);
|
||||
GameSavesData.Statistics[(gint)"stat_autobuy"]++;
|
||||
Main.Display(item.GetGraph(), item.ImageSource, Main.DisplayToNomal);
|
||||
}
|
||||
else if (Set.AutoGift && Core.Save.Feeling < 50)
|
||||
@ -328,6 +330,7 @@ namespace VPet_Simulator.Windows
|
||||
var item = food[Function.Rnd.Next(food.Count)];
|
||||
Core.Save.Money -= item.Price * 0.2;
|
||||
TakeItem(item);
|
||||
GameSavesData.Statistics[(gint)"stat_autogift"]++;
|
||||
Main.Display(item.GetGraph(), item.ImageSource, Main.DisplayToNomal);
|
||||
}
|
||||
}
|
||||
|
@ -676,6 +676,7 @@ namespace VPet_Simulator.Windows
|
||||
|
||||
|
||||
m_menu = new ContextMenu();
|
||||
m_menu.Popup += (x, y) => { GameSavesData.Statistics[(gint)"stat_menu_pop"]++; };
|
||||
m_menu.MenuItems.Add(new MenuItem("鼠标穿透".Translate(), (x, y) => { SetTransparentHitThrough(); }) { });
|
||||
m_menu.MenuItems.Add(new MenuItem("操作教程".Translate(), (x, y) =>
|
||||
{
|
||||
@ -803,6 +804,11 @@ namespace VPet_Simulator.Windows
|
||||
|
||||
}
|
||||
|
||||
private void M_menu_Popup(object sender, EventArgs e)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
private void WorkTimer_E_FinishWork(WorkTimer.FinishWorkInfo obj)
|
||||
{
|
||||
if (obj.work.Type == GraphHelper.Work.WorkType.Work)
|
||||
|
Loading…
Reference in New Issue
Block a user