doadin / Plexus

Other
9 stars 2 forks source link

[Bug] [SoD] Lua error on casting Regrowth or Rejuvenation when druid knows "Enhanced Restoration" #90

Closed ssateneth closed 4 months ago

ssateneth commented 4 months ago

Describe the bug A lua error pops up. That's it.

To Reproduce Steps to reproduce the behavior:

  1. Play Season of Discovery.
  2. Group with or play a druid that knows "Enhanced Restoration"
  3. Have druid cast Regrowrth
  4. LUA error happens

Expected behavior Don't have LUA error

Screenshots image

Desktop (please complete the following information):

Additional context Message: ...dOns/Plexus/Libs/LibHealComm-4.0/LibHealComm-4.0.lua:818: attempt to perform arithmetic on local 'requiresLevel' (a nil value) Time: Sun Feb 11 17:37:58 2024 Count: 2 Stack: ...dOns/Plexus/Libs/LibHealComm-4.0/LibHealComm-4.0.lua:818: attempt to perform arithmetic on local 'requiresLevel' (a nil value)

[string "@Interface/AddOns/Plexus/Libs/LibHealComm-4.0/LibHealComm-4.0.lua"]:818: in function <...dOns/Plexus/Libs/LibHealComm-4.0/LibHealComm-4.0.lua:807> [string "@Interface/AddOns/Plexus/Libs/LibHealComm-4.0/LibHealComm-4.0.lua"]:967: in function <...dOns/Plexus/Libs/LibHealComm-4.0/LibHealComm-4.0.lua:965> [string "@Interface/AddOns/Plexus/Libs/LibHealComm-4.0/LibHealComm-4.0.lua"]:2710: in function `?' [string "@Interface/AddOns/Plexus/Libs/LibHealComm-4.0/LibHealComm-4.0.lua"]:3352: in function <...dOns/Plexus/Libs/LibHealComm-4.0/LibHealComm-4.0.lua:3350>

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

doadin commented 4 months ago

I unfortunatly don't play classic in any form, so I am unable to fix issues with LibHealComm-4.0 myself. I have pushed an update that will hopefully not make the error pop up, however if LibHealComm-4.0 does not have the data for the spell it is not going to give accurate heal prediction, for the missing spells. This issue has already been brought up https://github.com/Azilroka/LibHealComm-4.0/issues , hopefully someone will update LibHealComm-4.0.