October 27, 20169 yr 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)
October 28, 20169 yr if i remember right, their is actually a CastSpellByName() condition in wRobot. otherwise,http://wowwiki.wikia.com/wiki/API_CastSpellByName Example CastSpellByName("Frostbolt");
October 28, 20169 yr 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 ?
October 29, 20169 yr 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 ;(
October 29, 20169 yr Author 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.
November 2, 20169 yr 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, ...)
September 6, 20223 yr I'm getting: [string " Axovexu.lue"]:1: attempt tp call global 'CastBySpellName' (a nil value) lol spelled wrong
Create an account or sign in to comment