Jump to content

How to use custom spells in a fight class


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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 5 years later...

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