mirror of
https://github.com/project-redbud/FunGame-Core.git
synced 2025-12-05 00:06:02 +00:00
小数位显示优化;报价时间 BUG 修复
This commit is contained in:
parent
bda1124af1
commit
a3d3dc7df1
@ -1390,7 +1390,7 @@ namespace Milimoe.FunGame.Core.Entity
|
|||||||
if (showEXP)
|
if (showEXP)
|
||||||
{
|
{
|
||||||
builder.AppendLine($"等级:{Level} / {GameplayEquilibriumConstant.MaxLevel}(突破进度:{LevelBreak + 1} / {GameplayEquilibriumConstant.LevelBreakList.Count})");
|
builder.AppendLine($"等级:{Level} / {GameplayEquilibriumConstant.MaxLevel}(突破进度:{LevelBreak + 1} / {GameplayEquilibriumConstant.LevelBreakList.Count})");
|
||||||
builder.AppendLine($"经验值:{EXP}{(Level != GameplayEquilibriumConstant.MaxLevel && GameplayEquilibriumConstant.EXPUpperLimit.TryGetValue(Level, out double need) ? " / " + need : "")}");
|
builder.AppendLine($"经验值:{EXP:0.##}{(Level != GameplayEquilibriumConstant.MaxLevel && GameplayEquilibriumConstant.EXPUpperLimit.TryGetValue(Level, out double need) ? " / " + need : "")}");
|
||||||
}
|
}
|
||||||
double exHP = ExHP + ExHP2 + ExHP3;
|
double exHP = ExHP + ExHP2 + ExHP3;
|
||||||
List<string> shield = [];
|
List<string> shield = [];
|
||||||
@ -1477,7 +1477,7 @@ namespace Milimoe.FunGame.Core.Entity
|
|||||||
if (showEXP)
|
if (showEXP)
|
||||||
{
|
{
|
||||||
builder.AppendLine($"等级:{Level} / {GameplayEquilibriumConstant.MaxLevel}(突破进度:{LevelBreak + 1} / {GameplayEquilibriumConstant.LevelBreakList.Count})");
|
builder.AppendLine($"等级:{Level} / {GameplayEquilibriumConstant.MaxLevel}(突破进度:{LevelBreak + 1} / {GameplayEquilibriumConstant.LevelBreakList.Count})");
|
||||||
builder.AppendLine($"经验值:{EXP}{(Level != GameplayEquilibriumConstant.MaxLevel && GameplayEquilibriumConstant.EXPUpperLimit.TryGetValue(Level, out double need) ? " / " + need : "")}");
|
builder.AppendLine($"经验值:{EXP:0.##}{(Level != GameplayEquilibriumConstant.MaxLevel && GameplayEquilibriumConstant.EXPUpperLimit.TryGetValue(Level, out double need) ? " / " + need : "")}");
|
||||||
}
|
}
|
||||||
double exHP = ExHP + ExHP2 + ExHP3;
|
double exHP = ExHP + ExHP2 + ExHP3;
|
||||||
List<string> shield = [];
|
List<string> shield = [];
|
||||||
@ -1687,7 +1687,7 @@ namespace Milimoe.FunGame.Core.Entity
|
|||||||
if (showEXP)
|
if (showEXP)
|
||||||
{
|
{
|
||||||
builder.AppendLine($"等级:{Level} / {GameplayEquilibriumConstant.MaxLevel}(突破进度:{LevelBreak + 1} / {GameplayEquilibriumConstant.LevelBreakList.Count})");
|
builder.AppendLine($"等级:{Level} / {GameplayEquilibriumConstant.MaxLevel}(突破进度:{LevelBreak + 1} / {GameplayEquilibriumConstant.LevelBreakList.Count})");
|
||||||
builder.AppendLine($"经验值:{EXP}{(Level != GameplayEquilibriumConstant.MaxLevel && GameplayEquilibriumConstant.EXPUpperLimit.TryGetValue(Level, out double need) ? " / " + need : "")}");
|
builder.AppendLine($"经验值:{EXP:0.##}{(Level != GameplayEquilibriumConstant.MaxLevel && GameplayEquilibriumConstant.EXPUpperLimit.TryGetValue(Level, out double need) ? " / " + need : "")}");
|
||||||
}
|
}
|
||||||
double exHP = ExHP + ExHP2 + ExHP3;
|
double exHP = ExHP + ExHP2 + ExHP3;
|
||||||
List<string> shield = [];
|
List<string> shield = [];
|
||||||
|
|||||||
@ -446,11 +446,11 @@ namespace Milimoe.FunGame.Core.Entity
|
|||||||
|
|
||||||
if (isShowInStore && Price > 0)
|
if (isShowInStore && Price > 0)
|
||||||
{
|
{
|
||||||
builder.AppendLine($"售价:{Price} {GameplayEquilibriumConstant.InGameCurrency}");
|
builder.AppendLine($"售价:{Price:0.##} {GameplayEquilibriumConstant.InGameCurrency}");
|
||||||
}
|
}
|
||||||
else if (Price > 0)
|
else if (Price > 0)
|
||||||
{
|
{
|
||||||
builder.AppendLine($"回收价:{Price} {GameplayEquilibriumConstant.InGameCurrency}");
|
builder.AppendLine($"回收价:{Price:0.##} {GameplayEquilibriumConstant.InGameCurrency}");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (RemainUseTimes > 0)
|
if (RemainUseTimes > 0)
|
||||||
|
|||||||
@ -39,10 +39,11 @@ namespace Milimoe.FunGame.Core.Library.SQLScript.Entity
|
|||||||
SQLHelper.Parameters["@Offeror"] = Offeror;
|
SQLHelper.Parameters["@Offeror"] = Offeror;
|
||||||
SQLHelper.Parameters["@Offeree"] = Offeree;
|
SQLHelper.Parameters["@Offeree"] = Offeree;
|
||||||
SQLHelper.Parameters["@Status"] = (int)Status;
|
SQLHelper.Parameters["@Status"] = (int)Status;
|
||||||
|
SQLHelper.Parameters["@CreateTime"] = DateTime.Now;
|
||||||
SQLHelper.Parameters["@NegotiatedTimes"] = NegotiatedTimes;
|
SQLHelper.Parameters["@NegotiatedTimes"] = NegotiatedTimes;
|
||||||
|
|
||||||
return $"{Command_Insert} {Command_Into} {TableName} ({Column_Offeror}, {Column_Offeree}, {Column_Status}, {Column_NegotiatedTimes}) " +
|
return $"{Command_Insert} {Command_Into} {TableName} ({Column_Offeror}, {Column_Offeree}, {Column_Status}, {Column_CreateTime}), {Column_NegotiatedTimes}) " +
|
||||||
$"{Command_Values} (@Offeror, @Offeree, @Status, @NegotiatedTimes)";
|
$"{Command_Values} (@Offeror, @Offeree, @Status, @CreateTime, @NegotiatedTimes)";
|
||||||
}
|
}
|
||||||
|
|
||||||
public static string Update_OfferStatus(SQLHelper SQLHelper, long Id, OfferState Status)
|
public static string Update_OfferStatus(SQLHelper SQLHelper, long Id, OfferState Status)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user