1
0
forked from liza/Questionable

Wait for longer before retrying item use

This commit is contained in:
Liza 2024-07-24 22:14:11 +02:00
parent deb426f81c
commit ff669708d3
Signed by: liza
GPG Key ID: 7199F8D727D55F67

View File

@ -109,10 +109,7 @@ internal static class UseItem
throw new TaskException($"Don't have any {ItemId} in inventory (NQ only)"); throw new TaskException($"Don't have any {ItemId} in inventory (NQ only)");
_usedItem = UseItem(); _usedItem = UseItem();
if (ItemId == VesperBayAetheryteTicket) _continueAt = DateTime.Now.AddSeconds(11);
_continueAt = DateTime.Now.AddSeconds(11);
else
_continueAt = DateTime.Now.AddSeconds(2);
return true; return true;
} }
@ -144,7 +141,7 @@ internal static class UseItem
if (!_usedItem) if (!_usedItem)
{ {
_usedItem = UseItem(); _usedItem = UseItem();
_continueAt = DateTime.Now.AddSeconds(2); _continueAt = DateTime.Now.AddSeconds(11);
return ETaskResult.StillRunning; return ETaskResult.StillRunning;
} }