Jump to content

Recommended Posts

I am on a server with some custom spells.  I used the development tools to dump the spell book and I can see them there.  However, I am unable to add them to a fight class.  I have the name and spell IDs.  When I "Add Spell" by name it does not work.  Is there a setting that I am missing or do I need to write macros for each ability and do LUA scripts?  Is there a way to use the spell ID instead of the name?

Here is an example from the spell book dump

Standard Spell

Auto Attack (Id found: 6603, Name found: Auto Attack, NameInGame found: Auto Attack, Know = True, IsSpellUsable = True)

Custom Spell (notice no name in the front)

 (Id found: 193358, Name found: , NameInGame found: Breath of Respite, Know = True, IsSpellUsable = False)

 

Link to comment
https://wrobot.eu/forums/topic/4256-how-to-use-custom-spells-in-a-fight-class/
Share on other sites

20 hours ago, kongul said:

I am on a server with some custom spells.  I used the development tools to dump the spell book and I can see them there.  However, I am unable to add them to a fight class.  I have the name and spell IDs.  When I "Add Spell" by name it does not work.  Is there a setting that I am missing or do I need to write macros for each ability and do LUA scripts?  Is there a way to use the spell ID instead of the name?

Here is an example from the spell book dump

Standard Spell

Auto Attack (Id found: 6603, Name found: Auto Attack, NameInGame found: Auto Attack, Know = True, IsSpellUsable = True)

Custom Spell (notice no name in the front)

 (Id found: 193358, Name found: , NameInGame found: Breath of Respite, Know = True, IsSpellUsable = False)

 

Does the spell have more than 1 rank ?

On 10/28/2016 at 8:56 AM, Dreamful said:

if i remember right, their is actually a CastSpellByName() condition in wRobot.

otherwise,
http://wowwiki.wikia.com/wiki/API_CastSpellByName

Example


CastSpellByName("Frostbolt");

 

How would i use this in wrobot?  I also saw a cast by spell id in the API page. Just need to figure how to implement it in wrobot.

  • 5 years later...

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...