• 0

    posted a message on Script kiddie having issues with GetSpellLink() and some other things.

    Thank you,

     

    that solution works great. 

    No idea why GetSpellLink() fails sometimes but this is a nice workaround. 

     

    Posted in: Lua Code Discussion
  • 0

    posted a message on Script kiddie having issues with GetSpellLink() and some other things.

    I'm amateur coder trying to put together addon for mostly personal use.  So far I've made steady progress but there are few issues that I have no idea how to begin to untangle.  

     

    Firstly my addon has feature where shift-clicking provides hyperlink to spell. Mostly this works just fine, but there some spells which simply return nil when trying to call them with GetSpellLink(). Usually these seem to be honor talents for different classes. Most work fine though.

     

    For example hunter honor talent quickshots, spellID 213538 returns nil for whatever reason

    GetSpellLink(213538); --nil nil

    Naturally nil nil doesn't really make for a very good "hyperlink-data" so hyperlinks simply don't work. Any idea what could be causing this?

     

    Entire addon is up here if you want to have closer look, code is messy though and badly documented.

    https://wow.curseforge.com/projects/cheatsheet

    Posted in: Lua Code Discussion
  • To post a comment, please or register a new account.