Hi,
I hope this is the proper place to post these kind of questions
I'm starting to dig into the time consuming business of making questing profiles.
The profile is of the undead beginning area because it is fast to repeat with new characters to see what changes so i can figure out how to properly do certain things. So far so good! The idea of the profile is to do as many quests in a certain area as possible, the tristfal glades in this case.
Now i ran into an issue with the "Ever So Lonely" quest, where you need to beat a murlock to give or take 50% health where it flees for 10 yards or so and you need to capture it with an item. I found what seems to be an excellent CB for this purpose, CombatUseItemOn. It looks like this works, but with my two testing toons the murloc always gets killed before completing the capture. Both the lock & hunter use a pet, both without an action bar and are attacking it. The character runs after the fleeing critter and keeps attempting to use the item (murloc leash) and continues to attack in the meanwhile. By the time it stops, it is either dead or almost so.
Is there any way to deal with this situation? For example, not attacking if the toon has a pet. By digging in older profiles i could only find CombatUseItemOn method calls with (now) invalid arguments like waiting, range, etc and the wiki doesn't seem to provide a good solution for this problem
Is there any way to properly handle this scenario?
Thanks for reading!
p.s. It looks something like this.
I hope this is the proper place to post these kind of questions

I'm starting to dig into the time consuming business of making questing profiles.
The profile is of the undead beginning area because it is fast to repeat with new characters to see what changes so i can figure out how to properly do certain things. So far so good! The idea of the profile is to do as many quests in a certain area as possible, the tristfal glades in this case.
Now i ran into an issue with the "Ever So Lonely" quest, where you need to beat a murlock to give or take 50% health where it flees for 10 yards or so and you need to capture it with an item. I found what seems to be an excellent CB for this purpose, CombatUseItemOn. It looks like this works, but with my two testing toons the murloc always gets killed before completing the capture. Both the lock & hunter use a pet, both without an action bar and are attacking it. The character runs after the fleeing critter and keeps attempting to use the item (murloc leash) and continues to attack in the meanwhile. By the time it stops, it is either dead or almost so.
Is there any way to deal with this situation? For example, not attacking if the toon has a pet. By digging in older profiles i could only find CombatUseItemOn method calls with (now) invalid arguments like waiting, range, etc and the wiki doesn't seem to provide a good solution for this problem
Is there any way to properly handle this scenario?

Thanks for reading!
p.s. It looks something like this.
Code:
<some condition check>
<RunTo x="2486.775" y="1435.595" z="8.64403" />
<CustomBehavior File="CombatUseItemOn" ItemId="52059" MobId="38923" X="2486.775" Y="1435.595" Z="8.64403" NumOfTimes="1" MobHpPercentageLeft="95" QuestId="24974" />
</some condition checks>
Last edited: