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 ExtraActionButton spell to kill NPC

Featured Replies

I'm trying to find a way to use the ExtraActionButton1 to cast an AoE spell to kill NPC's. I've tried several variations including InteractWithNpc with "ExtraActionButton1:Click()" in the macro. This will give me the AoE green circle to put down, but it never clicks or uses it.

 

I've also tried the code from Use item on hostile "weakened" mob but I am not good enough with coding to change it from an item to a spell.

 

Any suggestions?

i hae the same problem with quest 

i've asked also 

since he has fixed my issue, and i believe its the same issue. follow that forum also :) maybe we will get a reply :)

Like here: http://wrobot.eu/forums/topic/2681-snippets-codes-for-quest-profiles/?do=findComment&comment=12204

try with this code: 

            Thread t = new Thread(() =>
            {
                uint itemId = 62899;
                uint spellId = 62899;
                int questId = 28000;
                while (robotManager.Products.Products.IsStarted)
                {
                    if (Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause)
                    {
                        if (!Quest.HasQuest(questId))
                            break;
                        if (ObjectManager.Target.IsValid && ObjectManager.Target.IsAlive)
                        {
                            if (itemId > 0)
                                ItemsManager.UseItem(itemId); // if it is item
                            if (spellId > 0)
                                SpellManager.CastSpellByIdLUA(spellId); // if it is spell
                            ClickOnTerrain.Pulse(new Vector3(ObjectManager.Target.Position)); // for AOE spell/item
                        }
                    }
                    Thread.Sleep(500);
                }
            });
            t.Start();

 

  • Author

 

            Thread t = new Thread(() =>
            {
                uint itemId = 0;
                uint spellId = 185887;
                int questId = 38582;
                while (robotManager.Products.Products.IsStarted)
                {
                    if (Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause)
                    {
                        if (!Quest.HasQuest(questId))
                            break;
                        if (ObjectManager.Target.IsValid && ObjectManager.Target.IsAlive)
                        {
                            if (itemId > 0)
                                ItemsManager.UseItem(itemId); // if it is item
                            if (spellId > 0)
                                SpellManager.CastSpellByIdLUA(spellId); // if it is spell
                            ClickOnTerrain.Pulse(new Vector3(ObjectManager.Target.Position)); // for AOE spell/item
                        }
                    }
                    Thread.Sleep(500);
                }
            });
            t.Start();

 

This appears to work for normal spells in spellbook, like Heroic Leap, but does not activate the ExtraActionButton1 spell. 

Spell in question is185887 Ysera's Wrath

Quest 38582 To Old Friends

  • Author
7 hours ago, Droidz said:

When you run in your wow chat 


/cast Ysera's Wrath

this works?

Nope.

7 hours ago, Droidz said:

ps: you can also replace


                            if (itemId > 0)
                                ItemsManager.UseItem(itemId); // if it is item
                            if (spellId > 0)
                                SpellManager.CastSpellByIdLUA(spellId); // if it is spell

by


Lua.LuaDoString("ExtraActionButton1:Click()");

 

This did.

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.