mirror of
https://github.com/oshima-studios/OshimaGameModule.git
synced 2025-12-05 08:09:04 +00:00
1
This commit is contained in:
parent
6c0cfc60de
commit
4b0c7bb942
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user