Skip to content
View in the app

A better way to browse. Learn more.

WRobot

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Use item on hostile "weakened" mob

Featured Replies

Hey all

Anyone got a profile example that demonstrates the use of "use item on opponent with less than 25% health"?

 

I can get a  bot to attempt to use an item on a mob before combat... but once the bot starts fighting it seems it will only kill the mob- not use the item.

http://www.wowhead.com/quest=28000/do-the-imp-possible is a good example.

He should prove easy pickings. Weaken him with combat, and then use this enchanted sack to capture him. Then I'll do the talking...

 

I can see how i could use fight classes to use item at >25%, is there a way to put that sort of action in a quest profile though?

  • 2 weeks later...

Hello,

  1. Add step type "PickUp" (put quest name in parameter)
  2. Add step type "RunCode", in parameter put this code:
    Thread t = new Thread(() =>
    {
    	uint itemId = 62899;
    	int questId = 28000;
    	while (robotManager.Products.Products.IsStarted)
    	{
    		if (Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause)
    		{
    			if (!Quest.HasQuest(questId))
    				break;
    			if (ObjectManager.Target.IsValid && ObjectManager.Target.IsAlive && ObjectManager.Target.HealthPercent <= 25)
    			{
    				ItemsManager.UseItem(itemId);
    			}
    		}
    		Thread.Sleep(500);
    	}
    });
    t.Start();

     (you need to have quest in your questlog, you can replace "62899" but the item id, "28000" by the quest id and "25" by the max target health)

  3. Add step type "Pulse" (put quest name in parameter)

  4. Add step type "TurnIn" (put quest name in parameter)

  • 2 years later...

Can Droidz or someone else who knows please explain me how to do same stuff with quest where need use item on hostile "dead" mob. This part of code

if (ObjectManager.Target.IsValid && ObjectManager.Target.IsAlive && ObjectManager.Target.HealthPercent <= 25)

do not work because when bot kill mob, he loose target.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.