Fix interactions in 'A Knight of Alexandria'

This commit is contained in:
Liza 2024-08-26 15:58:14 +02:00
parent 477b7cb446
commit e6ee91c19c
Signed by: liza
GPG Key ID: 7199F8D727D55F67

View File

@ -174,6 +174,14 @@ internal static class Interact
logger.LogInformation("Interaction was most likely triggered");
_interactionState = EInteractionState.InteractionConfirmed;
}
else if (dataId is >= 1047901 and <= 1047905 &&
condition[ConditionFlag.Disguised] &&
flag == ConditionFlag.Mounting71 && // why the fuck is this the flag that's used, instead of OccupiedIn[Quest]Event
value)
{
logger.LogInformation("(A Knight of Alexandria) Interaction was most likely triggered");
_interactionState = EInteractionState.InteractionConfirmed;
}
}
private enum EInteractionState