"Steps": [
{
"AetheryteShortcut": "Eastern Thanalan - Camp Drybone",
- "Mount": true,
"Fly": true,
"DataId": 1005709,
"Position": {
"Steps": [
{
"AetheryteShortcut": "Southern Thanalan - Forgotten Springs",
- "Mount": true,
"Fly": true,
"Position": {
"X": -273.9414,
"TerritoryId": 146,
"InteractionType": "Combat",
"EnemySpawnType": "FateEnemies",
- "KillEnemyDataIds": [
- 2390
+ "ComplexCombatData": [
+ {
+ "DataId": 2390
+ },
+ {
+ "DataId": 2391
+ }
]
}
]
"Steps": [
{
"AetheryteShortcut": "Eastern Thanalan - Camp Drybone",
- "Mount": true,
"Fly": true,
"DataId": 1005709,
"Position": {
"Steps": [
{
"AetheryteShortcut": "Southern Thanalan - Forgotten Springs",
- "Mount": true,
"Fly": true,
"DataId": 1005710,
"Position": {
{
"Sequence": 3,
"Steps": [
+ {
+ "Position": {
+ "X": -147.13564,
+ "Y": 11.999999,
+ "Z": -5.086131
+ },
+ "TerritoryId": 130,
+ "InteractionType": "WalkTo"
+ },
{
"DataId": 1005716,
"Position": {
"Y": 12,
"Z": 0.99176025
},
- "StopDistance": 4,
+ "StopDistance": 7,
"TerritoryId": 130,
"InteractionType": "CompleteQuest",
"NextQuestId": 1207
"Steps": [
{
"AetheryteShortcut": "Eastern Thanalan - Camp Drybone",
- "Mount": true,
"Fly": true,
"DataId": 1005722,
"Position": {
"Sequence": 2,
"Steps": [
{
- "Mount": true,
+ "Position": {
+ "X": -567.424,
+ "Y": 5.893569,
+ "Z": -221.67596
+ },
+ "TerritoryId": 145,
+ "InteractionType": "WalkTo",
"Fly": true,
+ "SkipConditions": {
+ "StepIf": {
+ "CompletionQuestVariablesFlags": [
+ null,
+ null,
+ null,
+ null,
+ null,
+ 32
+ ]
+ }
+ }
+ },
+ {
"DataId": 1004042,
"Position": {
"X": -568.4138,
"Sequence": 3,
"Steps": [
{
- "Mount": true,
"Fly": true,
"DataId": 1005724,
"Position": {
"Steps": [
{
"AetheryteShortcut": "Eastern Thanalan - Camp Drybone",
- "Mount": true,
"Fly": true,
"DataId": 1005727,
"Position": {
"Y": 5.4049973,
"Z": -249.25616
},
- "StopDistance": 4,
+ "StopDistance": 5,
"TerritoryId": 145,
"InteractionType": "AcceptQuest"
}
"TargetTerritoryId": 140
},
{
- "Mount": true,
"DataId": 1008709,
"Position": {
"X": -431.7846,
"Steps": [
{
"AetheryteShortcut": "Western Thanalan - Horizon",
- "Mount": true,
"Fly": true,
"DataId": 1008713,
"Position": {
]
},
{
- "Mount": true,
"Fly": true,
"DataId": 1002022,
"Position": {
]
},
{
- "Mount": true,
"Fly": true,
"DataId": 1008715,
"Position": {
"Y": 13.504211,
"Z": 159.19727
},
+ "StopDistance": 4.5,
"TerritoryId": 140,
"InteractionType": "Interact",
"CompletionQuestVariablesFlags": [
]
},
{
- "DataId": 2003659,
+ "DataId": 2003657,
"Position": {
- "X": -76.15784,
- "Y": 13.443176,
- "Z": 155.90137
+ "X": -80.18622,
+ "Y": 13.412659,
+ "Z": 158.12915
},
+ "StopDistance": 4.5,
"TerritoryId": 140,
"InteractionType": "Interact",
"CompletionQuestVariablesFlags": [
null,
null,
null,
- 16
+ 64
]
},
{
- "DataId": 2003657,
+ "DataId": 2003659,
"Position": {
- "X": -80.18622,
- "Y": 13.412659,
- "Z": 158.12915
+ "X": -76.15784,
+ "Y": 13.443176,
+ "Z": 155.90137
},
"TerritoryId": 140,
"InteractionType": "Interact",
null,
null,
null,
- 64
+ 16
]
}
]
"Steps": [
{
"AetheryteShortcut": "Northern Thanalan - Camp Bluefog",
- "Mount": true,
"Fly": true,
"DataId": 2003664,
"Position": {
"Sequence": 2,
"Steps": [
{
- "Mount": true,
"DataId": 2003665,
"Position": {
"X": 34.50061,
"Sequence": 255,
"Steps": [
{
- "Mount": true,
+ "Position": {
+ "X": 110.67165,
+ "Y": 18.372795,
+ "Z": 122.4577
+ },
+ "TerritoryId": 147,
+ "InteractionType": "WalkTo",
+ "Fly": true
+ },
+ {
"DataId": 2003666,
"Position": {
"X": 111.192505,
},
"TerritoryId": 147,
"InteractionType": "CompleteQuest",
- "Fly": true,
"NextQuestId": 1317
}
]
"TargetTerritoryId": 140
},
{
- "Mount": true,
"DataId": 1008730,
"Position": {
"X": -431.26575,
"Steps": [
{
"AetheryteShortcut": "Coerthas Central Highlands - Camp Dragonhead",
- "Mount": true,
"Fly": true,
"DataId": 1008739,
"Position": {
"Sequence": 4,
"Steps": [
{
- "Mount": true,
"DataId": 2003741,
"Position": {
"X": 394.7965,
"Sequence": 5,
"Steps": [
{
- "Mount": true,
"DataId": 1008752,
"Position": {
"X": 487.81555,
"TargetTerritoryId": 140
},
{
- "Mount": true,
"Fly": true,
"DataId": 1008788,
"Position": {
"Steps": [
{
"AetheryteShortcut": "Eastern La Noscea - Costa Del Sol",
- "Mount": true,
"Fly": true,
"DataId": 1009305,
"Position": {
"Prompt": "TEXT_CHRHDB301_01438_Q2_000_000",
"Answer": "TEXT_CHRHDB301_01438_A2_000_030"
}
- ]
+ ],
+ "Fly": true
}
]
},
"Sequence": 3,
"Steps": [
{
- "Mount": true,
"Fly": true,
"DataId": 1009310,
"Position": {
"Z": 421.01147
},
"TerritoryId": 137,
- "InteractionType": "Interact"
+ "InteractionType": "Interact",
+ "Fly": true
}
]
},
{
"Sequence": 6,
"Steps": [
+ {
+ "Position": {
+ "X": 582.44116,
+ "Y": 14.587065,
+ "Z": 394.23407
+ },
+ "TerritoryId": 137,
+ "InteractionType": "WalkTo",
+ "Fly": true
+ },
{
"DataId": 1009317,
"Position": {
},
"TerritoryId": 137,
"InteractionType": "CompleteQuest",
+ "Fly": true,
"NextQuestId": 1439
}
]
},
"TerritoryId": 138,
"InteractionType": "CompleteQuest",
+ "Fly": true,
"NextQuestId": 1440
}
]
"Sequence": 1,
"Steps": [
{
- "Mount": true,
- "Fly": true,
+ "DataId": 1003584,
+ "Position": {
+ "X": 317.43335,
+ "Y": -36.325005,
+ "Z": 352.86487
+ },
+ "TerritoryId": 138,
+ "InteractionType": "Interact",
+ "TargetTerritoryId": 138,
+ "SkipConditions": {
+ "StepIf": {
+ "CompletionQuestVariablesFlags": [
+ null,
+ null,
+ null,
+ null,
+ null,
+ 128
+ ]
+ }
+ }
+ },
+ {
"DataId": 2004324,
"Position": {
"X": -283.0091,
},
"TerritoryId": 138,
"InteractionType": "Interact",
+ "Fly": true,
"CompletionQuestVariablesFlags": [
null,
null,
},
"TerritoryId": 138,
"InteractionType": "Interact",
+ "Fly": true,
"CompletionQuestVariablesFlags": [
null,
null,
},
"TerritoryId": 138,
"InteractionType": "Interact",
+ "Fly": true,
"DialogueChoices": [
{
"Type": "YesNo",
"Sequence": 4,
"Steps": [
{
- "Mount": true,
"Fly": true,
"DataId": 1009336,
"Position": {
"Z": 375.17358
},
"TerritoryId": 137,
- "InteractionType": "Interact"
+ "InteractionType": "Interact",
+ "Fly": true
}
]
},
"Z": 350.3623
},
"TerritoryId": 137,
- "InteractionType": "Interact"
+ "InteractionType": "Interact",
+ "Fly": true
}
]
},
"Z": 447.13513
},
"TerritoryId": 137,
- "InteractionType": "Interact"
+ "InteractionType": "Interact",
+ "Fly": true
}
]
},
"Y": 17.44805,
"Z": 448.69153
},
+ "StopDistance": 7,
"TerritoryId": 137,
"InteractionType": "AcceptQuest"
}
"[Ul'dah] Aetheryte Plaza",
"[Ul'dah] Thaumaturges' Guild"
],
+ "Position": {
+ "X": -153.18225,
+ "Y": 14.005,
+ "Z": 43.458076
+ },
+ "TerritoryId": 130,
+ "InteractionType": "WalkTo"
+ },
+ {
"DataId": 1010160,
"Position": {
"X": -144.64032,
{
"Sequence": 2,
"Steps": [
+ {
+ "Position": {
+ "X": -153.18225,
+ "Y": 14.005,
+ "Z": 43.458076
+ },
+ "TerritoryId": 130,
+ "InteractionType": "WalkTo"
+ },
{
"AethernetShortcut": [
"[Ul'dah] Thaumaturges' Guild",
"[Ul'dah] Gladiators' Guild",
"[Ul'dah] Thaumaturges' Guild"
],
+ "Position": {
+ "X": -153.18225,
+ "Y": 14.005,
+ "Z": 43.458076
+ },
+ "TerritoryId": 130,
+ "InteractionType": "WalkTo"
+ },
+ {
"DataId": 1010160,
"Position": {
"X": -144.64032,
{
"Sequence": 4,
"Steps": [
+ {
+ "Position": {
+ "X": -127.24249,
+ "Y": 7.999999,
+ "Z": -55.6639
+ },
+ "TerritoryId": 130,
+ "InteractionType": "WalkTo"
+ },
{
"DataId": 1010188,
"Position": {
{
"Sequence": 5,
"Steps": [
+ {
+ "Position": {
+ "X": -123.05803,
+ "Y": 1.363661,
+ "Z": -142.65125
+ },
+ "TerritoryId": 130,
+ "InteractionType": "WalkTo"
+ },
{
"AethernetShortcut": [
"[Ul'dah] Aetheryte Plaza",
"[Ul'dah] Gladiators' Guild"
],
"Position": {
- "X": -71.1609,
- "Y": 6.9845705,
- "Z": 9.066199
+ "X": -72.12142,
+ "Y": 6.9845715,
+ "Z": 8.82207
},
"TerritoryId": 131,
"InteractionType": "WalkTo"
"Y": 6.9839683,
"Z": 3.982544
},
+ "StopDistance": 7,
"TerritoryId": 131,
"InteractionType": "Interact",
"DisableNavmesh": true
"[Ul'dah] Gladiators' Guild",
"[Ul'dah] Thaumaturges' Guild"
],
+ "Position": {
+ "X": -153.18225,
+ "Y": 14.005,
+ "Z": 43.458076
+ },
+ "TerritoryId": 130,
+ "InteractionType": "WalkTo"
+ },
+ {
"DataId": 1010287,
"Position": {
"X": -142.71765,
"Sequence": 2,
"Steps": [
{
- "Mount": true,
"AetheryteShortcut": "Central Thanalan - Black Brush Station",
+ "Position": {
+ "X": -60.649715,
+ "Y": -11.872707,
+ "Z": -61.934204
+ },
+ "TerritoryId": 141,
+ "InteractionType": "WalkTo",
+ "Fly": true
+ },
+ {
"DataId": 1010293,
"Position": {
"X": -61.387024,
"Sequence": 3,
"Steps": [
{
- "Mount": true,
"Fly": true,
"DataId": 1010298,
"Position": {
"Sequence": 4,
"Steps": [
{
- "Mount": true,
"Fly": true,
"DataId": 1010310,
"Position": {
"[Ul'dah] Aetheryte Plaza",
"[Ul'dah] Thaumaturges' Guild"
],
+ "Position": {
+ "X": -153.18225,
+ "Y": 14.005,
+ "Z": 43.458076
+ },
+ "TerritoryId": 130,
+ "InteractionType": "WalkTo"
+ },
+ {
"DataId": 1010290,
"Position": {
"X": -144.73187,
{
"Sequence": 2,
"Steps": [
+ {
+ "Position": {
+ "X": -45.67461,
+ "Y": 11.927631,
+ "Z": -16.919664
+ },
+ "StopDistance": 0.25,
+ "TerritoryId": 131,
+ "InteractionType": "Jump",
+ "JumpDestination": {
+ "Position": {
+ "X": -48.14437,
+ "Y": 9.999995,
+ "Z": -10.52473
+ }
+ }
+ },
{
"DataId": 1010316,
"Position": {
"Y": 9.999972,
"Z": -12.64978
},
- "StopDistance": 6,
+ "StopDistance": 7,
"TerritoryId": 131,
"InteractionType": "Interact"
}
"Sequence": 3,
"Steps": [
{
- "Comment": "This teleport is because I couldn't figure out jumping",
- "AetheryteShortcut": "Ul'dah",
"AethernetShortcut": [
- "[Ul'dah] Aetheryte Plaza",
+ "[Ul'dah] Gladiators' Guild",
"[Ul'dah] Weavers' Guild"
],
"DataId": 2004901,
},
{
"Position": {
- "X": 109.42333,
+ "X": 108.07826,
"Y": 8,
- "Z": 8.92655
+ "Z": 8.036793
},
"TerritoryId": 131,
"InteractionType": "WalkTo"
{
"Sequence": 4,
"Steps": [
+ {
+ "Position": {
+ "X": 98.252335,
+ "Y": 8.000075,
+ "Z": -38.319664
+ },
+ "TerritoryId": 131,
+ "InteractionType": "WalkTo"
+ },
{
"AethernetShortcut": [
"[Ul'dah] Sapphire Avenue Exchange",
"[Ul'dah] Gladiators' Guild"
],
"Position": {
- "X": -71.1609,
- "Y": 6.9845705,
- "Z": 9.066199
+ "X": -72.12142,
+ "Y": 6.9845715,
+ "Z": 8.82207
},
"TerritoryId": 131,
"InteractionType": "WalkTo"
"Steps": [
{
"AetheryteShortcut": "Eastern Thanalan - Camp Drybone",
- "Mount": true,
"Fly": true,
"DataId": 1010161,
"Position": {
"[Ul'dah] Aetheryte Plaza",
"[Ul'dah] Gladiators' Guild"
],
+ "Position": {
+ "X": -72.12142,
+ "Y": 6.9845715,
+ "Z": 8.82207
+ },
+ "TerritoryId": 131,
+ "InteractionType": "WalkTo"
+ },
+ {
"DataId": 1010330,
"Position": {
"X": -69.5354,
},
"TerritoryId": 131,
"InteractionType": "CompleteQuest",
+ "DisableNavmesh": true,
"NextQuestId": 490
}
]
{
"Sequence": 1,
"Steps": [
+ {
+ "Position": {
+ "X": -72.76394,
+ "Y": 6.9845715,
+ "Z": 6.476269
+ },
+ "TerritoryId": 131,
+ "InteractionType": "WalkTo"
+ },
{
"AethernetShortcut": [
"[Ul'dah] Gladiators' Guild",
"Y": 40,
"Z": 92.11865
},
+ "StopDistance": 5,
"TerritoryId": 131,
"InteractionType": "Interact"
}
"[Ul'dah] Alchemists' Guild",
"[Ul'dah] Gate of the Sultana (Western Thanalan)"
],
- "Mount": true,
"DataId": 1011677,
"Position": {
"X": 363.54602,
"[Ul'dah] Aetheryte Plaza",
"[Ul'dah] Thaumaturges' Guild"
],
+ "Position": {
+ "X": -171.53638,
+ "Y": 17.999998,
+ "Z": 66.511505
+ },
+ "TerritoryId": 130,
+ "InteractionType": "WalkTo"
+ },
+ {
"DataId": 1011681,
"Position": {
"X": -182.29956,
"Z": 56.90088
},
"TerritoryId": 130,
- "InteractionType": "Interact"
+ "InteractionType": "Interact",
+ "CompletionQuestVariablesFlags": [
+ null,
+ null,
+ null,
+ null,
+ null,
+ 16
+ ]
},
{
"DataId": 1003897,
"Z": 60.53247
},
"TerritoryId": 130,
- "InteractionType": "Interact"
+ "InteractionType": "Interact",
+ "CompletionQuestVariablesFlags": [
+ null,
+ null,
+ null,
+ null,
+ null,
+ 128
+ ]
},
{
"DataId": 1001294,
"Z": 72.129395
},
"TerritoryId": 130,
- "InteractionType": "Interact"
+ "InteractionType": "Interact",
+ "CompletionQuestVariablesFlags": [
+ null,
+ null,
+ null,
+ null,
+ null,
+ 64
+ ]
},
{
"DataId": 1001708,
"Z": 80.88806
},
"TerritoryId": 130,
- "InteractionType": "Interact"
+ "InteractionType": "Interact",
+ "CompletionQuestVariablesFlags": [
+ null,
+ null,
+ null,
+ null,
+ null,
+ 32
+ ]
}
]
},
"Sequence": 4,
"Steps": [
{
- "Mount": true,
"Position": {
"X": -345.65482,
"Y": 23,
"Z": -352.02484
},
"TerritoryId": 140,
- "InteractionType": "WalkTo"
+ "InteractionType": "WalkTo",
+ "Fly": true
}
]
},
{
"Sequence": 1,
"Steps": [
+ {
+ "Position": {
+ "X": 44.860275,
+ "Y": 34.02289,
+ "Z": -12.268097
+ },
+ "TerritoryId": 131,
+ "InteractionType": "WalkTo"
+ },
{
"DataId": 2005164,
"Position": {
{
"Sequence": 2,
"Steps": [
+ {
+ "Position": {
+ "X": 45.576427,
+ "Y": 34,
+ "Z": -23.220316
+ },
+ "TerritoryId": 131,
+ "InteractionType": "WalkTo"
+ },
+ {
+ "Position": {
+ "X": 49.565746,
+ "Y": 33.999992,
+ "Z": -25.594622
+ },
+ "TerritoryId": 131,
+ "InteractionType": "WalkTo",
+ "DisableNavmesh": true
+ },
{
"DataId": 2005165,
"Position": {
{
"Sequence": 3,
"Steps": [
+ {
+ "Position": {
+ "X": 53.15642,
+ "Y": 33.999992,
+ "Z": -25.133741
+ },
+ "TerritoryId": 131,
+ "InteractionType": "WalkTo"
+ },
+ {
+ "Position": {
+ "X": 62.437984,
+ "Y": 28.992012,
+ "Z": -34.336155
+ },
+ "TerritoryId": 131,
+ "InteractionType": "WalkTo",
+ "DisableNavmesh": true
+ },
{
"DataId": 2005166,
"Position": {
{
"Sequence": 4,
"Steps": [
+ {
+ "Position": {
+ "X": 62.437984,
+ "Y": 28.992012,
+ "Z": -34.336155
+ },
+ "TerritoryId": 131,
+ "InteractionType": "WalkTo"
+ },
+ {
+ "Position": {
+ "X": 45.576427,
+ "Y": 34,
+ "Z": -23.220316
+ },
+ "TerritoryId": 131,
+ "InteractionType": "WalkTo",
+ "DisableNavmesh": true
+ },
{
"DataId": 1011697,
"Position": {
"Y": 34,
"Z": 29.984009
},
+ "StopDistance": 7,
"TerritoryId": 131,
- "InteractionType": "Interact"
+ "InteractionType": "Interact",
+ "CompletionQuestVariablesFlags": [
+ null,
+ null,
+ null,
+ null,
+ null,
+ 64
+ ]
},
{
"DataId": 1011694,
"Y": 33.999992,
"Z": 29.43457
},
+ "StopDistance": 7,
"TerritoryId": 131,
- "InteractionType": "Interact"
+ "InteractionType": "Interact",
+ "CompletionQuestVariablesFlags": [
+ null,
+ null,
+ null,
+ null,
+ null,
+ 128
+ ]
},
{
"DataId": 1011695,
"Y": 33.999992,
"Z": 30.044922
},
+ "StopDistance": 7,
"TerritoryId": 131,
- "InteractionType": "Interact"
+ "InteractionType": "Interact",
+ "CompletionQuestVariablesFlags": [
+ null,
+ null,
+ null,
+ null,
+ null,
+ 32
+ ]
}
]
},
"Y": 34,
"Z": 30.22815
},
+ "StopDistance": 7,
"TerritoryId": 131,
"InteractionType": "AcceptQuest"
}
"Y": 33.99998,
"Z": 29.343018
},
+ "StopDistance": 7,
"TerritoryId": 131,
"InteractionType": "Interact"
}
"[Ul'dah] The Chamber of Rule",
"[Ul'dah] Sapphire Avenue Exchange"
],
+ "Position": {
+ "X": 137.68585,
+ "Y": 3.9999998,
+ "Z": -58.555218
+ },
+ "TerritoryId": 131,
+ "InteractionType": "WalkTo"
+ },
+ {
"DataId": 1001679,
"Position": {
"X": 140.48975,
"Y": 4.0099983,
"Z": -59.80017
},
+ "StopDistance": 5,
"TerritoryId": 131,
"InteractionType": "Interact"
}
{
"Sequence": 255,
"Steps": [
+ {
+ "Position": {
+ "X": 22.47297,
+ "Y": 33.999996,
+ "Z": -40.833565
+ },
+ "TerritoryId": 131,
+ "InteractionType": "WalkTo"
+ },
+ {
+ "Position": {
+ "X": 33.41606,
+ "Y": 34,
+ "Z": -32.54854
+ },
+ "TerritoryId": 131,
+ "InteractionType": "WalkTo"
+ },
{
"DataId": 1011707,
"Position": {
"Steps": [
{
"AetheryteShortcut": "Central Thanalan - Black Brush Station",
- "Mount": true,
"Fly": true,
"DataId": 1011714,
"Position": {
"Z": 43.9917
},
"TerritoryId": 141,
- "InteractionType": "Interact"
- },
- {
+ "InteractionType": "Say",
"ChatMessage": {
"Key": "TEXT_CHRHDB505_00502_SAYTODO_000_000"
- },
- "TerritoryId": 141,
- "InteractionType": "Say"
+ }
}
]
},
"Sequence": 3,
"Steps": [
{
+ "Position": {
+ "X": 159.84998,
+ "Y": 37.381317,
+ "Z": 174.60776
+ },
+ "TerritoryId": 153,
+ "InteractionType": "WalkTo",
"AetheryteShortcut": "South Shroud - Quarrymill",
- "Mount": true,
- "Fly": true,
+ "Fly": true
+ },
+ {
"DataId": 1011722,
"Position": {
"X": 159.68555,
// but also delays killing the next enemy a little
if (_currentFight == null ||
_currentFight.Data.SpawnType == EEnemySpawnType.OverworldEnemies ||
- (_currentFight.Data.SpawnType != EEnemySpawnType.FateEnemies && _currentFight.Data.KillEnemyDataIds.Count > 0))
+ _currentFight.Data.SpawnType == EEnemySpawnType.FateEnemies ||
+ _currentFight.Data.KillEnemyDataIds.Count > 0)
{
if (battleNpc.IsDead)
return 0;
}
}
- if (_currentFight?.Data.SpawnType == EEnemySpawnType.FateEnemies)
- {
- var gameObjectStruct = (GameObject*)gameObject.Address;
- if (gameObjectStruct->FateId != 0)
- return 15;
- }
-
// stuff trying to kill us
if (battleNpc.TargetObjectId == _clientState.LocalPlayer?.GameObjectId)
return 10;
{
logger.LogInformation("Moving to aethernet shortcut");
_moving = true;
+ float distance = from switch
+ {
+ _ when from.IsFirmamentAetheryte() => 4.4f,
+ EAetheryteLocation.UldahChamberOfRule => 5f,
+ _ when AetheryteConverter.IsLargeAetheryte(from) => 10.9f,
+ _ => 6.9f,
+ };
movementController.NavigateTo(EMovementType.Quest, (uint)from, aetheryteData.Locations[from],
false, true,
- from.IsFirmamentAetheryte()
- ? 4.4f
- : AetheryteConverter.IsLargeAetheryte(from)
- ? 10.9f
- : 6.9f);
+ distance);
}
private void DoTeleport()
private readonly Configuration _configuration;
public DebugOverlay(QuestController questController, QuestRegistry questRegistry, IGameGui gameGui,
- IClientState clientState, ICondition condition, AetheryteData aetheryteData, IObjectTable objectTable, CombatController combatController, Configuration configuration)
+ IClientState clientState, ICondition condition, AetheryteData aetheryteData, IObjectTable objectTable,
+ CombatController combatController, Configuration configuration)
: base("Questionable Debug Overlay###QuestionableDebugOverlay",
ImGuiWindowFlags.NoTitleBar | ImGuiWindowFlags.NoScrollbar | ImGuiWindowFlags.NoBackground |
ImGuiWindowFlags.NoInputs | ImGuiWindowFlags.NoSavedSettings, true)
if (!visible)
continue;
- ImGui.GetWindowDrawList() .AddText(screenPos + new Vector2(10, -8), 0xFFFFFFFF, $"{x.Name}/{x.GameObjectId:X}, {_combatController.GetKillPriority(x)}, {Vector3.Distance(x.Position, _clientState.LocalPlayer!.Position):N2}, {x.IsTargetable}");
+ int priority = _combatController.GetKillPriority(x);
+ ImGui.GetWindowDrawList().AddText(screenPos + new Vector2(10, -8), priority > 0 ? 0xFF00FF00 : 0xFFFFFFFF,
+ $"{x.Name}/{x.GameObjectId:X}, {x.DataId}, {priority}, {Vector3.Distance(x.Position, _clientState.LocalPlayer!.Position):N2}, {x.IsTargetable}");
}
}