40yd status is set to 38yd for real #62


  • Defect
  • Invalid
Closed
Assigned to _ForgeUser117147
  • _ForgeUser23602 created this issue Jan 6, 2010

    I did some debugging on my out-of-range-but-healable-player issue and I discovered the following.

    GridRange.lua have the function:
    local function checkRange40(unit)
        return UnitInRange(unit)
    end

    However UnitInRange(unit) isn't really set to 40y. Instead is set to 38y. Don't ask me why, but in wow 3.3.0 is it in that way.

    The solution is straightforward:
    GridRange.lua, line 58:
    change "local function checkRange40(unit)" to "local function checkRange38(unit)" (just 'cuz I love to be consistent)

    and
    GridRange.lua, line 70:
    change "addRange(40, checkRange40)" to addRange(38, checkRange38)

    After this change the range for 40y will be correctly set by spells in your spellbook, so if a player will be grayed out it's cuz he/she is *really* out of range.

    Cheers,

    Arzach

  • _ForgeUser23602 added the tags New Defect Jan 6, 2010
  • _ForgeUser23602 removed a tag New Jan 6, 2010
  • _ForgeUser23602 added a tag Invalid Jan 6, 2010
  • _ForgeUser23602 closed issue Jan 6, 2010

To post a comment, please login or register a new account.