cannonpalms / LibThreatClassic

A library for multi-target threat tracking in WoW Classic (1.13.2).
GNU Lesser General Public License v2.1
0 stars 1 forks source link

Paladin is attempt to perform arithmetic on local 'amt' (a string value) #7

Closed cannonpalms closed 4 years ago

cannonpalms commented 4 years ago

Migrated from https://github.com/EsreverWoW/LibThreatClassic/issues/4 Originally created by @NoobTaco on Sat, 31 Aug 2019 12:57:32 GMT


On a paladin, after a fight or before engaging a fight it seems the library is causing other addons to fail.

Addons I have tested and receive the error below.

I have tested each addon together and separately and after entering combat the error occurs.

2x ...s\ThreatClassic-1.0-2\ClassModules\Classic\Paladin.lua:146: attempt to perform arithmetic on local 'amt' (a string value) ...s\ThreatClassic-1.0-2\ClassModules\Classic\Paladin.lua:146: in functionfunc' ...tes\Libs\ThreatClassic-1.0-2\ThreatClassModuleCore.lua:849: in function calcBuffMods' ...tes\Libs\ThreatClassic-1.0-2\ThreatClassModuleCore.lua:1038: in function?' ...ies\Ace3\CallbackHandler-1.0\CallbackHandler-1.0-7.lua:119: in function <...ies\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:119>

...ies\Ace3\CallbackHandler-1.0\CallbackHandler-1.0-7.lua:29: in function <...ies\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:25> ...ies\Ace3\CallbackHandler-1.0\CallbackHandler-1.0-7.lua:64: in function Fire' ...s\ElvUI\Libraries\Ace3\AceEvent-3.0\AceEvent-3.0-4.lua:120: in function <...s\ElvUI\Libraries\Ace3\AceEvent-3.0\AceEvent-3.0.lua:119>

cannonpalms commented 4 years ago

Migrated from https://github.com/EsreverWoW/LibThreatClassic/issues/4#issuecomment-526860907 Originally created by @EsreverWoW on Sat, 31 Aug 2019 19:54:59 GMT


I may need additional information. What level is your Paladin? Have you learned Righteous Fury and/or Holy Shield? If so, do you only see this error when using one or both?

I was unable to see this behavior on a level one character, but it looks like it might affect higher level ones when interacting with calcs concerning RF and hShield.

cannonpalms commented 4 years ago

Migrated from https://github.com/EsreverWoW/LibThreatClassic/issues/4#issuecomment-526977090 Originally created by @EsreverWoW on Mon, 02 Sep 2019 02:04:30 GMT


Closing this since this appears fixed.

cannonpalms commented 4 years ago

Migrated from https://github.com/EsreverWoW/LibThreatClassic/issues/4#issuecomment-526872693 Originally created by @NoobTaco on Sat, 31 Aug 2019 23:26:57 GMT


Just did some testing and it IS in fact when RF is active that the error is coming up. When it is off it is fine.

cannonpalms commented 4 years ago

Migrated from https://github.com/EsreverWoW/LibThreatClassic/issues/4#issuecomment-526863930 Originally created by @NoobTaco on Sat, 31 Aug 2019 20:44:16 GMT


He is level 20 and I only have Righteous Fury and have been using it. I can log in later to do some tests without it on.