Jump to content

justgimmiethelink

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by justgimmiethelink

  1. On 2/8/2017 at 4:00 AM, Droidz said:

    For the distance, put false at the spell option "Check if is good distance" and add condition type "C Sharp Code" with the code 

    
    Lua.LuaDoString<bool>("return IsActionInRange(" + (SpellManager.GetSpellSlotId(SpellListManager.SpellIdByName("Auto Shot")) + 1) + ")")

    (of course, replace Auto Shot by your spell name in english, this code in implemented here).

     

    @Droidz  When I follow these instructions I get compilation error:  'wManager.Wow.Helpers.SpellManager.' does not contain a definition for 'GetSpellSlotId'

    I changed Auto Shot to Shoot (for wand)

    In my spellbook I have Shoot (5019)

    Can I use spell by number id instead of GetSpellSlotId?

     

×
×
  • Create New...