master #3

Open
cacahuetes wants to merge 881 commits from liza/Questionable:master into cacahuetes-ShB-Healer
2 changed files with 18 additions and 0 deletions
Showing only changes of commit 6ceff7a117 - Show all commits

View File

@ -157,6 +157,15 @@
"InteractionType": "WalkTo",
"Mount": true
},
{
"Position": {
"X": 163.43794,
"Y": -133.31677,
"Z": 79.0077
},
"TerritoryId": 613,
"InteractionType": "WalkTo"
},
{
"Position": {
"X": -96.41638,

View File

@ -116,6 +116,15 @@ internal static class MoveTo
actualDistance = float.MaxValue;
}
// Fixes a case where you're initiating the gathering step when standing next to the NPC already
// TODO maybe this should be delayed up until starting movement
if (questId is SatisfactionSupplyNpcId)
{
logger.LogDebug("SatisfactionSupply: Changing distance to max, previous distance: {Distance}",
actualDistance);
actualDistance = float.MaxValue;
}
if (step.Mount == true)
yield return mountFactory.Mount(step.TerritoryId, Mount.EMountIf.Always);
else if (step.Mount == false)