SoD druid rune spell Lifebloom gives Lua error #95


Open
  • Taargosh created this issue Dec 5, 2023

    Here is error code, getting this error when casting Lifebloom using VuhDo unitframes:

     

    Message: ...ddOns/VuhDo/Libs/LibHealComm-4.0/LibHealComm-4.0.lua:819: attempt to perform arithmetic on local 'requiresLevel' (a nil value)
    Time: Mon Dec 4 15:07:12 2023
    Count: 2
    Stack: ...ddOns/VuhDo/Libs/LibHealComm-4.0/LibHealComm-4.0.lua:819: attempt to perform arithmetic on local 'requiresLevel' (a nil value)
    [string "=[C]"]: ?
    [string "@Interface/AddOns/VuhDo/Libs/LibHealComm-4.0/LibHealComm-4.0.lua"]:819: in function <...ddOns/VuhDo/Libs/LibHealComm-4.0/LibHealComm-4.0.lua:808>
    [string "@Interface/AddOns/VuhDo/Libs/LibHealComm-4.0/LibHealComm-4.0.lua"]:974: in function <...ddOns/VuhDo/Libs/LibHealComm-4.0/LibHealComm-4.0.lua:966>
    [string "@Interface/AddOns/VuhDo/Libs/LibHealComm-4.0/LibHealComm-4.0.lua"]:2729: in function `?'
    [string "@Interface/AddOns/VuhDo/Libs/LibHealComm-4.0/LibHealComm-4.0.lua"]:3383: in function <...ddOns/VuhDo/Libs/LibHealComm-4.0/LibHealComm-4.0.lua:3381>

    Locals: (*temporary) = <function> defined =[C]:-1

  • zaptree posted a comment Dec 19, 2023

    Getting the same error when trying to use lifebloom

  • radiacalss posted a comment Dec 20, 2023

    To get rid of the error, you can add the new spell ID to the code by adding the number 408124 almost at the end of line 81 in the LibHealComm-4.0.lua file. 

     

    However, this will only fix the error message. The data used to show expected heal amount in most UI frames will be wrong. To fix that you need to correct line 793 so that it reads: 

     

            hotData[Lifebloom] = {interval = 1, ticks = 7, coeff = 0.52, dhCoeff = 0.34335, levels = {1}, averages = {29}, bomb = {59}

     

    And even then this might still be a bit wrong as I dont know if Lifebloom in Season of Discovery uses the same spell coefficients as the original Lifebloom implementation. And I dont care enough to figure that out :-)

     

    HTH

     

    Edit: I should mention, this fix is SoD specfic so only do this for classic and dont copy the file over to wrath etc. There should some code checking the wow versions etc. but I will let that up to whoever owns this addon.  

    Edited Dec 20, 2023

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