What version of TellMeWhen are you using?
8.7.4 Classic
What steps will reproduce the problem?
Create an Icon or Group with an attackpower condition
What do you expect to happen? What happens instead?
The icon is always displayed, regardless of settings. For example >10 ap or <10ap will both show the icon.
Additional Info
LUA error log, line 4 seems particularly relevant:
Message: ...nts\Core\Conditions\Categories\PlayerCombatStats.lua:170: attempt to call global 'c' (a nil value)
Time: Mon May 18 18:24:02 2020
Count: 1
Stack: ...nts\Core\Conditions\Categories\PlayerCombatStats.lua:170: attempt to call global 'c' (a nil value)
...nts\Core\Conditions\Categories\PlayerCombatStats.lua:170: in function `MELEEAP_UnitAttackPower'
[string "Condition_MELEEAP"]:3: in function `CheckFunction'
...eWhen\Components\Core\Conditions\ConditionObject.lua:265: in function <...eWhen\Components\Core\Conditions\ConditionObject.lua:259>
(tail call): ?
[C]: ?
[string "safecall Dispatcher[1]"]:9: in function <[string "safecall Dispatcher[1]"]:5>
(tail call): ?
...eWhen\Components\Core\Conditions\ConditionObject.lua:234: in function `RegisterForUpdating'
...eWhen\Components\Core\Conditions\ConditionObject.lua:318: in function `DeclareExternalUpdater'
Interface\AddOns\TellMeWhen\Components\Core\Icon.lua:1040: in function <Interface\AddOns\TellMeWhen\Components\Core\Icon.lua:926>
(tail call): ?
[C]: ?
...
(tail call): ?
Interface\AddOns\TellMeWhen\TellMeWhen.lua:2673: in function `UpdateNormally'
Interface\AddOns\TellMeWhen\TellMeWhen.lua:2803: in function `Update'
Interface\AddOns\TellMeWhen\TellMeWhen.lua:2919: in function `LockToggle'
Interface\AddOns\TellMeWhen\TellMeWhen.lua:3024: in function `?'
...Ons\TellMeWhen\Lib\AceConsole-3.0\AceConsole-3.0.lua:94: in function `?'
Interface\FrameXML\ChatFrame.lua:4690: in function `ChatEdit_ParseText'
Interface\FrameXML\ChatFrame.lua:4351: in function `ChatEdit_SendText'
Interface\FrameXML\ChatFrame.lua:4387: in function `ChatEdit_OnEnterPressed'
[string "*:OnEnterPressed"]:1: in function <[string "*:OnEnterPressed"]:1>
Locals: <none>
What version of TellMeWhen are you using? 8.7.4 Classic
What steps will reproduce the problem?
attackpower
conditionWhat do you expect to happen? What happens instead? The icon is always displayed, regardless of settings. For example
>10 ap
or<10ap
will both show the icon.Screenshots and Export Strings
^1^T^SType^Scooldown ^SName^SFlash~`of~`Light ^SConditions^T ^N1^T ^SType^SMELEEAP ^SOperator^S> ^SLevel^N10 ^t^Sn^N1 ^t^SEnabled^B ^t^N87402^S~`~| ^Sicon^^
Additional Info LUA error log, line 4 seems particularly relevant: