Jump to content

Revenge is not a priority


Garub

Recommended Posts

Imagine your code being a instructions book, where you read from top left to the bottom right.
Now WROBOT reads from top left to bottom right on repeat.
If you have too many words in your book, it will take the bot some time to get from the middle to the top again.

Link to comment
Share on other sites

4 hours ago, Mike-Mail said:

Can you explain what you need with Revenge? like is it a debuff etc or you just want it to be used once its avaliable?

 

Yes!^^

Link to comment
Share on other sites

15 hours ago, Mike-Mail said:

if IsUsableSpell("Revenge") then return true end

 

Do not worry, I am still a layman in Wrobot, all my codes are copied and pasted, how and where exactly do I put this command?

Link to comment
Share on other sites

1 hour ago, Garub said:

Do not worry, I am still a layman in Wrobot, all my codes are copied and pasted, how and where exactly do I put this command?

Change it a little and use it as luacode condition

if IsUsableSpell("Revenge") then 
  CanCast = "true"
end

Then make CanCast your return var and set it to true as condition
I think that it looks for a string, if it doesn't work then change it to bool
CanCast = true <- bool

Link to comment
Share on other sites

On 8/16/2018 at 6:08 PM, Ordush said:

Change it a little and use it as luacode condition


if IsUsableSpell("Revenge") then 
  CanCast = "true"
end

Then make CanCast your return var and set it to true as condition
I think that it looks for a string, if it doesn't work then change it to bool
CanCast = true <- bool

I made it this way in this attached.
I was putting in each skill the "is spell usable" condition for both Revenge and Shield Slam, I changed, I just left for Revenge, I feel more fluids in the combat routine.

Warrior_Prot_xxx_PVE.xml

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...