Skip to content

Commit

Permalink
fix: duty support dungeons
Browse files Browse the repository at this point in the history
  • Loading branch information
nt153133 committed Jul 5, 2024
1 parent 12ca946 commit a205fff
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Helpers/LoadServerProfile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ public static List<uint> DutySupportDuties
get { return _dutySupportDuties ??= GetDutySupportDuties(); }
}

private static List<uint> GetDutySupportDuties()
public static List<uint> GetDutySupportDuties()
{
var rowCount = GeneralFunctions.GetDawnContentRowCount();

Expand All @@ -618,13 +618,18 @@ private static List<uint> GetDutySupportDuties()

if (row == IntPtr.Zero)
{
Log.Information($"Row {i} is null");
#if RB_DT
row = GeneralFunctions.GetDawnContentRow(i + 200 - 31);
row = GeneralFunctions.GetDawnContentRow(i + 200 - 32);
Log.Information($"dt" );
#else
row = GeneralFunctions.GetDawnContentRow(i + 200 - 24);
Log.Information($"non dt" );
#endif
}



if (row == IntPtr.Zero)
{
continue;
Expand Down

0 comments on commit a205fff

Please sign in to comment.