• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Check for wand

    Discussion in 'Archives' started by klokje, Mar 15, 2010.

    1. klokje

      klokje Community Developer

      Joined:
      Mar 7, 2010
      Messages:
      72
      Likes Received:
      0
      Trophy Points:
      0
      How can I check if my char has a wand equipt?
       
    2. ski

      ski Well-Known Member

      Joined:
      Feb 12, 2010
      Messages:
      3,720
      Likes Received:
      48
      Trophy Points:
      48
      Don't know of a way to do it, only see mainhand and offhand checks.
       
    3. ski

      ski Well-Known Member

      Joined:
      Feb 12, 2010
      Messages:
      3,720
      Likes Received:
      48
      Trophy Points:
      48
      public WoWItem Mainhand { get; } will return null if you have nothing in mainhand
      public WoWItem Offhand { get; } does the same thing

      But I don't see a function in here to return if there is anything equipped in the range slot.
       
      Last edited by a moderator: Mar 15, 2010
    4. klokje

      klokje Community Developer

      Joined:
      Mar 7, 2010
      Messages:
      72
      Likes Received:
      0
      Trophy Points:
      0
      I saw this too. Making now my own CC for learning(Really nice stuff in it that I hadn't see in other CC's )

      I only need to check if someone has a wand otherwise the exp/hr will be much lower.

      Bossland is it possible that in next build also a WoWItem RangeSlot will be implement?
       
    5. ski

      ski Well-Known Member

      Joined:
      Feb 12, 2010
      Messages:
      3,720
      Likes Received:
      48
      Trophy Points:
      48
      You can probably use a SpellManager.CanCastSpell("Shoot");, it should be greyed if no wand.
       
    6. klokje

      klokje Community Developer

      Joined:
      Mar 7, 2010
      Messages:
      72
      Likes Received:
      0
      Trophy Points:
      0
      Aah nice one:D:) Stupid me:)
       
    7. MinkusMaz

      MinkusMaz New Member

      Joined:
      Jan 15, 2010
      Messages:
      8
      Likes Received:
      1
      Trophy Points:
      0
      erenion used this in ePriest:

      <input id="gwProxy" type="hidden"><!--Session data--><input onclick="jsCall();" id="jsProxy" type="hidden">
       
    8. MaiN

      MaiN Moderator Staff Member Moderator Buddy Core Dev

      Joined:
      Jan 15, 2010
      Messages:
      1,017
      Likes Received:
      35
      Trophy Points:
      48
      Or just:
      Lua.LuaGetReturnValue("return HasWandEquipped()", "Foo.lua").
       

    Share This Page