[CF 1615] Condition Combat Stats: Critical Strike not working
tmw-issue-import opened this issue · 0 comments
I was trying to create a Condition icon with the Critical Strike condition (Combat Stats).
While the same with Haste or Mastery works fine, the Critical Strike icon is not displayed, and I get this Lua error:
85x [string "Condition_MELEECRIT"]:3: attempt to call global 'max' (a nil value)
[string "Condition_MELEECRIT"]: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:316: in function `DeclareExternalUpdater'
TellMeWhen\Components\Core\Icon.lua:924: in function <TellMeWhen\Components\Core\Icon.lua:810>
(tail call): ?
[C]: ?
[string "safecall Dispatcher[1]"]:9: in function <[string "safecall Dispatcher[1]"]:5>
(tail call): ?
TellMeWhen\Components\Core\Group-Group.lua:496: in function <TellMeWhen\Components\Core\Group.lua:424>
(tail call): ?
[C]: ?
[string "safecall Dispatcher[1]"]:9: in function <[string "safecall Dispatcher[1]"]:5>
(tail call): ?
TellMeWhen\TellMeWhen-8.5.5.lua:2667: in function `UpdateNormally'
TellMeWhen\TellMeWhen-8.5.5.lua:2807: in function `Update'
TellMeWhen\TellMeWhen-8.5.5.lua:2933: in function `LockToggle'
[string "*:OnClick"]:1: in function <[string "*:OnClick"]:1>
Can anybody reproduce this?
I’m using TMW 8.5.5.
Posted by CurseForge user Portalbendarwinden | Imported from CurseForge issue #1615 | Raw