mirror of
https://github.com/EpinelPS/EpinelPS.git
synced 2025-12-13 15:34:36 +01:00
Fill Gacha exclusion list
Adds all unobtainable characters to exclusion list in exec gacha cs which makes rates a lot more like in official sick pulls mode till has them
This commit is contained in:
@@ -8,12 +8,20 @@ namespace EpinelPS.LobbyServer.Msgs.Gacha
|
|||||||
protected override async Task HandleAsync()
|
protected override async Task HandleAsync()
|
||||||
{
|
{
|
||||||
var req = await ReadData<ReqCheckDailyFreeGacha>();
|
var req = await ReadData<ReqCheckDailyFreeGacha>();
|
||||||
|
|
||||||
var response = new ResCheckDailyFreeGacha();
|
var response = new ResCheckDailyFreeGacha();
|
||||||
|
|
||||||
// TODO implement
|
// TODO implement
|
||||||
response.FreeCount = 1;
|
response.FreeCount = 1;
|
||||||
response.EventData = new NetEventData() { Id = 1 };
|
response.EventData = new NetEventData()
|
||||||
|
{
|
||||||
|
Id = 70070,
|
||||||
|
EventSystemType = 6,
|
||||||
|
EventVisibleDate = DateTime.UtcNow.Subtract(TimeSpan.FromDays(7)).Ticks,
|
||||||
|
EventStartDate = DateTime.UtcNow.Subtract(TimeSpan.FromDays(1)).Ticks,
|
||||||
|
EventEndDate = DateTime.Now.AddDays(20).Ticks,
|
||||||
|
EventDisableDate = DateTime.Now.AddDays(20).Ticks,
|
||||||
|
};
|
||||||
|
// this is net event data i think it should be the same as in list events
|
||||||
|
|
||||||
await WriteDataAsync(response);
|
await WriteDataAsync(response);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,9 @@
|
|||||||
using EpinelPS.Database;
|
//todo
|
||||||
|
//implement response.Reward
|
||||||
|
// and response.Currencies
|
||||||
|
//NetUserCurrencyData fields Type 9000 and Value 150
|
||||||
|
//NetRewardData field Currency = new NetUserCurrencyData copy type and value from response.Currencies new NetUserCurrencyData
|
||||||
|
using EpinelPS.Database;
|
||||||
using EpinelPS.StaticInfo;
|
using EpinelPS.StaticInfo;
|
||||||
using EpinelPS.Utils;
|
using EpinelPS.Utils;
|
||||||
|
|
||||||
@@ -11,7 +16,7 @@ namespace EpinelPS.LobbyServer.Msgs.Gacha
|
|||||||
|
|
||||||
// Exclusion lists for sick pulls mode and normal mode 2500601 is the broken R rarity dorothy
|
// Exclusion lists for sick pulls mode and normal mode 2500601 is the broken R rarity dorothy
|
||||||
private static readonly List<int> sickPullsExclusionList = new List<int> { 2500601 }; // Add more IDs as needed
|
private static readonly List<int> sickPullsExclusionList = new List<int> { 2500601 }; // Add more IDs as needed
|
||||||
private static readonly List<int> normalPullsExclusionList = new List<int> { 2500601 }; // Add more IDs as needed
|
private static readonly List<int> normalPullsExclusionList = new List<int> { 2500601,422401,306201,399901,399902,399903,399904,201401,301501,112101,313201,319301,319401,320301,422601,426101,328301,328401,235101,235301,136101,339201,140001,140101,140201,580001,580101,580201,581001,581101,581201,582001,582101,582201,583001,583101,583201,583301,190101,290701 }; // Add more IDs as needed
|
||||||
|
|
||||||
protected override async Task HandleAsync()
|
protected override async Task HandleAsync()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user