muffin v6.15
This commit is contained in:
parent
344451fa8e
commit
7413877064
21 changed files with 131 additions and 125 deletions
|
@ -342,13 +342,13 @@ internal sealed class CombatController : IDisposable
|
|||
{
|
||||
for (int i = 0; i < complexCombatDatas.Count; i++)
|
||||
{
|
||||
if (!_currentFight.Data.CompletedComplexDatas.Contains(i) && (!flag || complexCombatDatas[i].IgnoreQuestMarker || address->NamePlateIconId != 0) && complexCombatDatas[i].DataId == battleNpc.DataId && (!complexCombatDatas[i].NameId.HasValue || complexCombatDatas[i].NameId == battleNpc.NameId))
|
||||
if (!_currentFight.Data.CompletedComplexDatas.Contains(i) && (!flag || complexCombatDatas[i].IgnoreQuestMarker || address->NamePlateIconId != 0) && complexCombatDatas[i].DataId == battleNpc.BaseId && (!complexCombatDatas[i].NameId.HasValue || complexCombatDatas[i].NameId == battleNpc.NameId))
|
||||
{
|
||||
return (Priority: 100, Reason: "CCD");
|
||||
}
|
||||
}
|
||||
}
|
||||
else if ((!flag || address->NamePlateIconId != 0) && _currentFight.Data.KillEnemyDataIds.Contains(battleNpc.DataId))
|
||||
else if ((!flag || address->NamePlateIconId != 0) && _currentFight.Data.KillEnemyDataIds.Contains(battleNpc.BaseId))
|
||||
{
|
||||
return (Priority: 90, Reason: "KED");
|
||||
}
|
||||
|
@ -441,7 +441,7 @@ internal sealed class CombatController : IDisposable
|
|||
}
|
||||
if (!flag4)
|
||||
{
|
||||
_logger.LogInformation("Moving to {TargetName} ({DataId}) to attack", gameObject.Name, gameObject.DataId);
|
||||
_logger.LogInformation("Moving to {TargetName} ({BaseId}) to attack", gameObject.Name, gameObject.BaseId);
|
||||
MovementController movementController = _movementController;
|
||||
int num4 = 1;
|
||||
List<Vector3> list = new List<Vector3>(num4);
|
||||
|
@ -453,7 +453,7 @@ internal sealed class CombatController : IDisposable
|
|||
}
|
||||
else
|
||||
{
|
||||
_logger.LogInformation("Moving to {TargetName} ({DataId}) to attack (with navmesh)", gameObject.Name, gameObject.DataId);
|
||||
_logger.LogInformation("Moving to {TargetName} ({BaseId}) to attack (with navmesh)", gameObject.Name, gameObject.BaseId);
|
||||
_movementController.NavigateTo(EMovementType.Combat, null, gameObject.Position, fly: false, sprint: false, num3 + num - 0.25f, float.MaxValue);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue