Open Tranq1 opened 2 years ago
Apparently there's still some cases where the fix doesn't work, I'll look into it again
Fixed second instance of the bug appearing when having a non-intercept target cursor up (for example a spell), then using the Set Last Target
followed by the Last Hotkey
hotkey. Now the previous target gets regenerated.
Merged to Client 11/22.2021 by Jaedan
Fixed bug where previous natural target would be lost if a script first executed the
Set Last Target
hotkey and use thetarget <serial>
script commandTo reproduce the bug:
Note: If you remove the second line and target the hotkey manually, your previous spell target will return Note: If you cancel the "Set Last Target" hotkey by pressing ESC, the previous spell target will also return Note: This situation happens every time you target an intercepted target via the
target
command, not just with theSet Last Target
hotkeyThe script:
What this fix does
With this fix, the target will also be returned after executing a target by the script, thus making it consistent with manually targeting the intercepted targets or canceling the intercepted target with ESC