muffin v7.5.13
This commit is contained in:
parent
911ed68baa
commit
acf3e3cb18
69 changed files with 2731 additions and 1425 deletions
|
|
@ -53,7 +53,27 @@ internal sealed class SmartNavRouteEnqueuer(NavRouter navRouter, PlayerNavStateB
|
|||
{
|
||||
return false;
|
||||
}
|
||||
List<NavInstruction> list = instructionBuilder.Build(routeResult, territoryId).TakeWhile((NavInstruction x) => !(x is NavInstruction.Move move) || !move.IsFinal).ToList();
|
||||
List<NavInstruction> list = instructionBuilder.Build(routeResult, territoryId).TakeWhile(delegate(NavInstruction x)
|
||||
{
|
||||
if (x is NavInstruction.Move move)
|
||||
{
|
||||
if (move.IsFinal)
|
||||
{
|
||||
goto IL_0026;
|
||||
}
|
||||
}
|
||||
else if (x is NavInstruction.Swim { IsFinal: not false })
|
||||
{
|
||||
goto IL_0026;
|
||||
}
|
||||
bool flag = false;
|
||||
goto IL_002c;
|
||||
IL_0026:
|
||||
flag = true;
|
||||
goto IL_002c;
|
||||
IL_002c:
|
||||
return !flag;
|
||||
}).ToList();
|
||||
if (list.Count == 0)
|
||||
{
|
||||
return false;
|
||||
|
|
@ -120,6 +140,18 @@ internal sealed class SmartNavRouteEnqueuer(NavRouter navRouter, PlayerNavStateB
|
|||
{
|
||||
return false;
|
||||
}
|
||||
if (instruction is NavInstruction.Swim)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
if (instruction is NavInstruction.DiveEntry)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
if (instruction is NavInstruction.Surface)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
if (instruction is NavInstruction.AethernetHop)
|
||||
{
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue