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

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