SOD Priest: renew with Enhanced Restoration rune #98


Open
  • psyko1985 created this issue Feb 12, 2024

    Message: Interface/AddOns/LibHealComm-4.0-108/LibHealComm-4.0.lua:818: attempt to perform arithmetic on local 'requiresLevel' (a nil value)
    Time: Mon Feb 12 10:58:52 2024
    Count: 1
    Stack: Interface/AddOns/LibHealComm-4.0-108/LibHealComm-4.0.lua:818: attempt to perform arithmetic on local 'requiresLevel' (a nil value)
    [string "@Interface/AddOns/LibHealComm-4.0/LibHealComm-4.0.lua"]:2706: in function `?'
    [string "@Interface/AddOns/LibHealComm-4.0/LibHealComm-4.0.lua"]:3348: in function <Interface/AddOns/LibHealComm-4.0/LibHealComm-4.0.lua:3346>

    Locals: self = <table> {
    TargetLastTarget = <function> defined @Interface/AddOns/LibHealComm-4.0/LibHealComm-4.0.lua:3028
    GetHealModifier = <function> defined @Interface/AddOns/LibHealComm-4.0/LibHealComm-4.0.lua:389
    OVERTIME_HEALS = 6
    TargetLastFriend = <function> defined @Interface/AddOns/LibHealComm-4.0/LibHealComm-4.0.lua:3024
    compressGUID = <table> {
    }
    UNIT_SPELLCAST_CHANNEL_START = <function> defined @Interface/AddOns/LibHealComm-4.0/LibHealComm-4.0.lua:2839
    GetNextHealAmount = <function> defined @Interface/AddOns/LibHealComm-4.0/LibHealComm-4.0.lua:412
    ALL_HEALS = 23
    GLYPH_ADDED = <function> defined @Interface/AddOns/LibHealComm-4.0/LibHealComm-4.0.lua:2194
    UseAction = <function> defined @Interface/AddOns/LibHealComm-4.0/LibHealComm-4.0.lua:3033
    itemSetsData = <table> {
    }
    currentModifiers = <table> {
    }
    aurasUpdated = true
    GLYPH_REMOVED = <function> defined @Interface/AddOns/LibHealComm-4.0/LibHealComm-4.0.lua:2194
    GetCasterHealAmount = <function> defined @Interface/AddOns/LibHealComm-4.0/LibHealComm-4.0.lua:553
    CASTED_HEALS = 3
    UNIT_SPELLCAST_CHANNEL_UPDATE = <function> defined @Interface/AddOns/LibHealComm-4.0/LibHealComm-4.0.lua:2936
    BOMB_HEALS = 16
    GetNumHeals = <function> defined @Interface/AddOns/LibHealComm-4.0/LibHealComm-4.0.lua:685
    callbacks = <table> {
    }
    GLYPH_UPDATED = <function> defined @Interface/AddOns/LibHealComm-4.0/LibHealComm-4.0.lua:2194
    removeRecordList = <function> defined @Interface/AddOns/LibHealComm-4.0/LibHealComm-4.0.lua:283
    getRecord = <function> defined @Interface/AddOns/LibHealComm-4.0/LibHealComm-4.0.lua:246
    GlyphsUpdated = <function> defined @Interface/AddOns/LibHealComm-4.0/LibHealComm-4.0.lua:2194
    Target = <function> defined @Interface/AddOns/LibHealComm-4.0/LibHealComm-4.0.lua:2987
    GetOthersHealAmount = <function> defined @Interface/AddOns/LibHealComm-4.0/LibHealComm-4.0.lua:540
    UNIT_AURA = <function> defined @Interface/AddOns/LibHealComm-4.0/LibHealComm-4.0.lua:2098
    tempPlayerList = <table> {
    }
    GetPlayerHealingMod = <function> defined @Interface/AddOns/LibHealComm-4.0/LibHealComm-4.0.lua:384
    UPDATE_MOUSEOVER_UNIT = <function> defined @Interface/AddOns/LibHealComm-4.0/LibHealComm-4.0.lua:2965
    ZONE_CHANGED_NEW_AREA = <function> defined @Interface/AddOns/LibHealComm-4.0/LibHealComm-4.0.lua:2077
    healingModifiers = <table> {
    }
    hotMonitor = Frame {
    }
    spellData = <table> {
    }
    guidToUnit = <table> {
    }
    CHARACTER_POINTS_CHANGED = <function> defined @Interface/AddOns/LibHealComm-4.0/LibHealComm-4.0.lua:2220
    CastSpell = <function> defined @Interface/AddOns/LibHealComm-4.0/LibHealComm-4.0.lua:3033
    DeleteTable = <function> defined @Interface/AddOns/LibHealComm-4.0/LibHealComm-4.0.lua:204
    TargetUnit = <function> defined @Interface/AddOns/LibHealComm-4.0/LibHealComm-4.0.lua:2987
    OnInitialize = <function> defined @Interface/AddOns/LibHealComm-4.0/LibHealComm-4.0.lua:3222
    PLAYER_ENTERING_WORLD = <function> defined @Interface/AddOns/LibHealComm-4.0/LibHealComm-4.0.lua:2072
    equippedSetCache = <table> {
    }
    unitToPet = <table> {
    }
    bucketHeals = <table> {
    }
    talentData = <table> {
    }
    activePets = <table> {
    }
    ABSORB_SHIELDS = 8
    tooltip = GameTooltip {
    }
    initialized = true
    CastSpellByID = <function> defined @Interface/AddOns/LibHealComm-4.0/LibHealComm-4.0.lua:3033
    CHANNEL_HEALS = 2
    PLAYER_LOGIN = <function> defined @Interface/AddOns/LibHealComm-4.0/LibHealComm-4.0.lua:3363
    eventFrame = Frame {
    }
    CHAT_MSG_A

  • lusive83 posted a comment Oct 25, 2024

    A fix for Rejuv/Regrowth/Renew:
    Find the block at around line 104 starting with localSpellIDToRank = {} and then add the code directly after it:

     

    local SpellIDToRank = {}
    for rankIndex, spellIDTable in pairs(spellRankTableData) do
    	for _, spellID in pairs(spellIDTable) do
    		SpellIDToRank[spellID] = rankIndex
    	end
    end
    
    local SoD = { 
        Rejuvenation = { 417057, 417058, 417059, 417060, 417061, 417062, 417063, 417064, 417065, 417066, 417068 },
        Regrowth = { 436937, 436938, 436939, 436940, 436942, 436943, 436944, 436945, 436946 },
        Lifebloom = { 408124 },
        Renew = { 425268, 425269, 425270, 425271, 425272, 425273, 425274, 425275, 425276, 425277 },
    }
    
    for i, spell in pairs(SoD) do
        for rankIndex, spellID in pairs(spell) do
            SpellIDToRank[spellID] = rankIndex
        end
    end

    Edited Oct 25, 2024

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