Jump to content

Help! I can't force the bot to use the spell!


Recommended Posts

These code work

 

C#

if(!ObjectManager.Me.HaveBuff("Moonkin Form"))
        {
            SpellManager.CastSpellByNameLUA("Moonkin Form");
            Usefuls.WaitIsCasting();
        }

Lua

local MoonkinForm = UnitBuff("player", "Moonkin Form");
if not MoonkinForm then
    CastSpellByName("Moonkin Form");
end

 

Link to comment
Share on other sites

ps : you your client isnt english so "Moonkin form" wont work, Облик лунного совуха

Link to comment
Share on other sites

Yes, but why does everything else work? I checked the English version of the client - it also does not work. He doesn't use spells...... Apparently, the conditions do not work correctly, if you delete the conditions, it uses the form, but it uses it constantly, back and forth. This is clearly a program error. The priest has exactly the same problem.

 

Balance Druid.xml 24 июн 2021 02H40.log.html

Link to comment
Share on other sites

Yes, where are my manners!?))) Hi!  I will post the results in a text file. With and without a form. I understand that even without the form, the bot sees another aura with the same name and therefore does not cast it, since it is already present.How to make a condition by spell id? true/false 

 

 

 

Buffs.txt

Link to comment
Share on other sites

In general, everything has become even worse-now the bot does not see many active buffs such as  Lunar Empowerment, Solar Empowerment. Now I understand why when adding conditions for example on Solar Empowerment Bigger Or Equal 1, the bot stopped using Solar Wrath. For some reason, he does not see buffs on the player. I rebooted the game, the bot, the computer, nothing helps. He stopped seeing active buffs (what's under the player icon) This happened after I added the conditions for SolarWrath and Lunar Strike.

Balance Druid.xml

25 июн 2021 02H02.log.html

Buff.txt

Link to comment
Share on other sites

This is an incomprehensible solution for me. The bot does not see the player's buffs, which makes rotation illogical and ineffective. It is also unclear what to do with the form.

 

Link to comment
Share on other sites

9 hours ago, ZROBBI said:

Firestorm Sethrallis

Give me a few, I’ll down load from them and level a toon so I can debug your problem.

Link to comment
Share on other sites

  • 4 months later...

UP
what helped him?
I have the same problem
The suggested options don't work

Worked at level 30
Then I went to bed
Woke up. The druid got to 59. Found that the form did not work

BFA 8.3

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...