mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
修复学习完毕后会给钱, 奖学金BUG
This commit is contained in:
parent
4e969521dd
commit
11736363b4
@ -62,9 +62,11 @@ namespace VPet_Simulator.Core
|
|||||||
nowWork.Time, nowWork.NameTrans), true));
|
nowWork.Time, nowWork.NameTrans), true));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
m.Core.Save.Money += GetCount * nowWork.FinishBonus;
|
{
|
||||||
|
m.Core.Save.Exp += GetCount * nowWork.FinishBonus;
|
||||||
Stop(() => m.SayRnd(LocalizeCore.Translate("{2}完成啦, 累计获得 {0:f2} 经验\n共计花费了{1}分钟", GetCount * (1 + nowWork.FinishBonus),
|
Stop(() => m.SayRnd(LocalizeCore.Translate("{2}完成啦, 累计获得 {0:f2} 经验\n共计花费了{1}分钟", GetCount * (1 + nowWork.FinishBonus),
|
||||||
nowWork.Time, nowWork.NameTrans), true));
|
nowWork.Time, nowWork.NameTrans), true));
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -344,8 +344,7 @@
|
|||||||
<Run FontSize="18" FontWeight="Bold" Text="{ll:Str 游戏操作}" />
|
<Run FontSize="18" FontWeight="Bold" Text="{ll:Str 游戏操作}" />
|
||||||
</TextBlock>
|
</TextBlock>
|
||||||
<Button Grid.Row="1" Grid.Column="2" Margin="4" Padding="1" pu:ButtonHelper.CornerRadius="4"
|
<Button Grid.Row="1" Grid.Column="2" Margin="4" Padding="1" pu:ButtonHelper.CornerRadius="4"
|
||||||
Background="{DynamicResource SecondaryLight}" Click="cleancache_click"
|
Background="{DynamicResource SecondaryLight}" Click="save_click" Content="{ll:Str 保存游戏}" ToolTip="{ll:Str '手动保存桌宠存档,就算不手动保存,桌宠也会在退出的时候自动保存'}" />
|
||||||
Content="{ll:Str 保存游戏}" ToolTip="{ll:Str '手动保存桌宠存档,就算不手动保存,桌宠也会在退出的时候自动保存'}" />
|
|
||||||
<Button Grid.Row="1" Grid.Column="2" Margin="4" Padding="1" pu:ButtonHelper.CornerRadius="4"
|
<Button Grid.Row="1" Grid.Column="2" Margin="4" Padding="1" pu:ButtonHelper.CornerRadius="4"
|
||||||
Background="{DynamicResource SecondaryLight}" Click="cleancache_click"
|
Background="{DynamicResource SecondaryLight}" Click="cleancache_click"
|
||||||
Content="{ll:Str 清理缓存}" ToolTip="{ll:Str '清理缓存的动画,声音文件'}" />
|
Content="{ll:Str 清理缓存}" ToolTip="{ll:Str '清理缓存的动画,声音文件'}" />
|
||||||
|
Loading…
Reference in New Issue
Block a user