#'Use Bandage' macro
1 messages · Page 1 of 1 (latest)
You can implement it on your own and bind script to hotkey:
const bandage = client.findType(0xE21, undefined, player.backpack)
if ('amount' in bandage) {
player.use(bandage)
} else {
console.log('No bandages found')
}
Actually BandageTarget action does what you want, you're not forced to pre-define target.
Hey 1337, thanks for that, but someone told me BandageTarget required a pre-defined target/would automatically go onto your set target. Don't want that.
It will go on to your set target in case it's set.
Ah, I see. I don't want it to do that, because I have more than 1 pet. And I want to easily change targets
I can't use your script though, I'm on webclient on new legacy, no scripting allowed
So we still need a simple 'use bandage' function, with no frills
Yeah this works exactly as you require.
If I use my Bandage Self it auto targets me
then, if I use this one, it waits for target every time
I shall give that a try 🙂 thanks
Yeah that still doesn't work properly. If the pet is by any chance fully healed, and then you try to bandage self again, it just gets stuck with "that being is not damaged". I (we, really) need something that is reliably working 100% of the time, so a plain 'use bandages' function is the only way really, shouldn't have to be using workarounds
Thank you for the workaround suggestion though 🙂
ok I see the problem now, it sticky targets yeah
Even if you include a WaitForTarget after the BandageTarget if the pet is fully healed the target becomes "sticky" (a blue health bar beneath the target) and the next attempted use will not WaitForTarget, instead attempting to apply immediately to the "stickied" friendly.
Reproduce:
- Create BandageTarget macro as per image #1297977978441175141 message
- Use BandageTarget macro and manually target a pet until pet is full / or at full
- Use BandageTarget macro a second time
**Expected result: **
Cursor is waiting for target like in first use
Actual result:
Macro attempts to heal the fully healed pet without manually clicking, it does not WaitForTarget (even with the insertion of this Action)
@main cedar You can use a macro with just LastObject in it as a temporary work around, it will definitely use the bandages (if they're the last object used) and properly waits for manual target.
that was my first workaround, unfortunately it does not work in a boss fight
lol
because of all the add bodies that pop up, due to auto open
so the game is constantly reassigning last object to dead adds
Yeah
I have bandages in my counters like so
with single click casting enable
Need a 'use bandage' standalone option really
Yeah I do as well, but I hate manually clicking
which makes that bandage button a single click for manual targeting
Agree, no good for boss fight. The fix is required, that Action should not auto target last
thing is if we have a macro option for 'bandage self' which has targetting baked in, surely we can have a 'use bandage' option only without Broadsword minding it. It likely just needs implementing, but I know the cuo devs are busy at work with lots of things to do 🙂
Just thought I'd raise it because a lot of people would like it
even Target.ClearLast() as an Action would make it work, though a second step in the macro itself, useful though
It's in Enhanced Client
They'd be fine with it
I think :D
Reproduce here.
Ideally just 'use bandage' as a standalone, instead of a clear target separate macro, because sometimes due to latency it could be delayed/less optimal than just using one macro instead of two steps or similar. Aware that might be subject to approval. Either way anything would be an improvement 🙂 Thank you for looking into it
@main cedar #📂github-repo message
@main cedar #web-updates message