This commit is contained in:
milimoe 2025-07-27 23:57:27 +08:00
parent 6c0cfc60de
commit 4b0c7bb942
Signed by: milimoe
GPG Key ID: 9554D37E4B8991D0

View File

@ -99,6 +99,8 @@ namespace Oshima.FunGame.OshimaModules.Regions
}
public override string GetCurrencyInfo(PluginConfig pc, User user, string storeName)
{
if (storeName == "dokyo_forge")
{
double forgePoints = 0;
if (pc.TryGetValue("forgepoints", out object? value) && double.TryParse(value.ToString(), out double points))
@ -107,6 +109,8 @@ namespace Oshima.FunGame.OshimaModules.Regions
}
return $"现有锻造积分:{forgePoints:0.##}";
}
return "";
}
public override void SaveGlobalStore(Store store, string storeName)
{