kongul 0 Posted October 27, 2016 Share Posted October 27, 2016 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 More sharing options...
Dreamful 148 Posted October 28, 2016 Share Posted October 28, 2016 if i remember right, their is actually a CastSpellByName() condition in wRobot. otherwise,http://wowwiki.wikia.com/wiki/API_CastSpellByName Example CastSpellByName("Frostbolt"); Link to comment Share on other sites More sharing options...
Arcangelo 105 Posted October 28, 2016 Share Posted October 28, 2016 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 More sharing options...
kongul 0 Posted October 29, 2016 Author Share Posted October 29, 2016 No. Just single rank. Link to comment Share on other sites More sharing options...
Arcangelo 105 Posted October 29, 2016 Share Posted October 29, 2016 44 minutes ago, kongul said: No. Just single rank. Hmm i would need to check it on the private server, before i can say anything for sure ;( Link to comment Share on other sites More sharing options...
kongul 0 Posted October 29, 2016 Author Share Posted October 29, 2016 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 More sharing options...
Droidz 2734 Posted November 2, 2016 Share Posted November 2, 2016 Intead spellname put CastSpellByName("Breath of Respite"); In spell settings put "true" at "not spell is lua script". And add all conditions (like target distance, you lua conditon, timer, ...) Link to comment Share on other sites More sharing options...
homeslice 0 Posted September 6, 2022 Share Posted September 6, 2022 How do you specify ranks? If there are multiple ranks, what is the default? Link to comment Share on other sites More sharing options...
homeslice 0 Posted September 6, 2022 Share Posted September 6, 2022 I'm getting: [string " Axovexu.lue"]:1: attempt tp call global 'CastBySpellName' (a nil value) lol spelled wrong Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now