add: Added unclaimed waifu decay to gambling.yml

fix: Fixed regular decay. It was doing the opposite of what the comment says. All waifu decays will be reset
This commit is contained in:
Kwoth
2024-08-24 23:53:03 +00:00
parent 436f9ed074
commit 67b186a1a5
4 changed files with 137 additions and 98 deletions

View File

@@ -174,7 +174,7 @@ public sealed class GamblingConfigService : ConfigServiceBase<GamblingConfig>
c.Version = 5;
});
}
if (data.Version < 6)
{
ModifyConfig(c =>
@@ -190,5 +190,14 @@ public sealed class GamblingConfigService : ConfigServiceBase<GamblingConfig>
c.Version = 7;
});
}
if (data.Version < 8)
{
ModifyConfig(c =>
{
c.Version = 8;
c.Waifu.Decay.UnclaimedDecayPercent = 0;
});
}
}
}