Update for post-ARR quest battles

This commit is contained in:
Liza 2025-02-23 00:50:15 +01:00
parent fe1d86bf5b
commit 2ada2fa9dc
Signed by: liza
GPG Key ID: 2C41B84815CF6445
8 changed files with 47 additions and 9 deletions

View File

@ -1,5 +1,5 @@
<Project> <Project>
<PropertyGroup Condition="$(MSBuildProjectName) != 'GatheringPathRenderer'"> <PropertyGroup Condition="$(MSBuildProjectName) != 'GatheringPathRenderer'">
<Version>4.19</Version> <Version>4.20</Version>
</PropertyGroup> </PropertyGroup>
</Project> </Project>

View File

@ -21,8 +21,7 @@ internal static class SinglePlayerDutyOptionsExtensions
Assignment(nameof(SinglePlayerDutyOptions.Enabled), Assignment(nameof(SinglePlayerDutyOptions.Enabled),
dutyOptions.Enabled, emptyOptions.Enabled) dutyOptions.Enabled, emptyOptions.Enabled)
.AsSyntaxNodeOrToken(), .AsSyntaxNodeOrToken(),
Assignment(nameof(SinglePlayerDutyOptions.Notes), AssignmentList(nameof(SinglePlayerDutyOptions.Notes), dutyOptions.Notes)
dutyOptions.Notes, emptyOptions.Notes)
.AsSyntaxNodeOrToken(), .AsSyntaxNodeOrToken(),
Assignment(nameof(SinglePlayerDutyOptions.Index), Assignment(nameof(SinglePlayerDutyOptions.Index),
dutyOptions.Index, emptyOptions.Index) dutyOptions.Index, emptyOptions.Index)

View File

@ -100,6 +100,28 @@
2 2
] ]
}, },
{
"Position": {
"X": 86.662384,
"Y": 28.34813,
"Z": -627.5218
},
"TerritoryId": 156,
"InteractionType": "WalkTo",
"Fly": true,
"SkipConditions": {
"StepIf": {
"CompletionQuestVariablesFlags": [
null,
null,
null,
null,
null,
32
]
}
}
},
{ {
"DataId": 1009143, "DataId": 1009143,
"Position": { "Position": {
@ -109,7 +131,6 @@
}, },
"TerritoryId": 156, "TerritoryId": 156,
"InteractionType": "Interact", "InteractionType": "Interact",
"Fly": true,
"$": "1 112 0 0 0 2 -> 2 96 0 0 0 34", "$": "1 112 0 0 0 2 -> 2 96 0 0 0 34",
"CompletionQuestVariablesFlags": [ "CompletionQuestVariablesFlags": [
null, null,

View File

@ -28,7 +28,16 @@
"Z": -328.66406 "Z": -328.66406
}, },
"TerritoryId": 155, "TerritoryId": 155,
"InteractionType": "SinglePlayerDuty" "InteractionType": "SinglePlayerDuty",
"SinglePlayerDutyOptions": {
"Enabled": false,
"TestedBossModVersion": 292,
"Notes": [
"WIP: Needs to be re-tested",
"AI doesn't move after starting the instance, so enemies won't be triggered",
"(First Barrier) If the player is too far south, after being stunned by Vishap's roar, AI doesn't move out of the AOE and dies to the Cauterize"
]
}
} }
] ]
}, },

View File

@ -46,6 +46,10 @@
}, },
"TerritoryId": 155, "TerritoryId": 155,
"InteractionType": "SinglePlayerDuty", "InteractionType": "SinglePlayerDuty",
"SinglePlayerDutyOptions": {
"Enabled": true,
"TestedBossModVersion": 292
},
"Fly": true "Fly": true
} }
] ]

View File

@ -31,7 +31,10 @@
"InteractionType": "SinglePlayerDuty", "InteractionType": "SinglePlayerDuty",
"SinglePlayerDutyOptions": { "SinglePlayerDutyOptions": {
"Enabled": true, "Enabled": true,
"TestedBossModVersion": 292 "TestedBossModVersion": 292,
"Notes": [
"Will not move into melee range to kill the gate; Alphinaud will kill it after a while"
]
} }
} }
] ]

View File

@ -81,8 +81,10 @@ internal sealed class PartyWatchDog : IDisposable
return; return;
byte memberCount = groupManager->MainGroup.MemberCount; byte memberCount = groupManager->MainGroup.MemberCount;
_logger.LogDebug("Terrritory {TerritoryId} with {MemberCount} members", _uncheckedTeritoryId, memberCount); bool isInAlliance = groupManager->MainGroup.IsAlliance;
if (memberCount > 1) _logger.LogDebug("Territory {TerritoryId} with {MemberCount} members, alliance: {IsInAlliance}",
_uncheckedTeritoryId, memberCount, isInAlliance);
if (memberCount > 1 || isInAlliance)
StopIfRunning("Other party members present"); StopIfRunning("Other party members present");
_uncheckedTeritoryId = null; _uncheckedTeritoryId = null;

View File

@ -271,7 +271,7 @@ internal sealed class SinglePlayerDutyConfigComponent : ConfigComponent
ImGui.BulletText("Will always use BossMod for combat (ignoring the configured combat module)."); ImGui.BulletText("Will always use BossMod for combat (ignoring the configured combat module).");
ImGui.BulletText("Only a small subset of quest battles have been tested - most of which are in the MSQ."); ImGui.BulletText("Only a small subset of quest battles have been tested - most of which are in the MSQ.");
ImGui.BulletText("When retrying a failed battle, it will always start at 'Normal' difficulty."); ImGui.BulletText("When retrying a failed battle, it will always start at 'Normal' difficulty.");
ImGui.BulletText("Please don't enable this option when using a BossMod fork (such as Reborn);\nwith the combat changes, it is unlikely to be compatible."); ImGui.BulletText("Please don't enable this option when using a BossMod fork (such as Reborn);\nwith the missing combat module configuration, it is unlikely to be compatible.");
} }
#if false #if false