Hekili Priority Helper

Hekili Priority Helper

44M Downloads

Backtrace after import of most recent SIMC WindWalker

doktorstick opened this issue · 1 comments

commented

I imported the most recent import SIMC Walker profile and it generates a backtrace when it tries to predict abilities.

Character data:

build: v8.3.0-03
level: 120 (120)
class: MONK
spec: windwalker

talents: ascension
    chi_torpedo
    eye_of_the_tiger
    good_karma
    inner_strength
    invoke_xuen
    whirling_dragon_punch

azerite: azerite_empowered=3
    blood_siphon=1
    dance_of_chiji=1
    gemhide=1
    gutripper=1
    impassive_visage=1
    misty_peaks=1
    open_palm_strikes=1
    sunrise_technique=1
    tradewinds=1
    vampiric_speed=1

essences: [breath_of_the_dying]=1, spark_of_inspiration=1, the_crucible_of_flame=4

sets/legendaries/artifacts: none

gear:     7th_legionnaires_britches=1
    ashjrakamas_shroud_of_resolve=1
    corrupted_aspirants_leather_boots=1
    corrupted_aspirants_leather_gloves=1
    cranial_recalibrator=1
    dribbling_inkpod=1
    girdle_of_the_insatiable_maw=1
    gorehorns_rack=1
    guise_of_the_voracious_prowler=1
    heart_of_azeroth=1
    plunderbeards_flask=1
    seafarer_shoulderpads=1
    smugglers_cove_ring=1
    stonemasons_guild_band=1
    type_ii_bomber_jacket=1
    wristwraps_of_the_insatiable_maw=1

itemIDs: 157979, 158075, 158160, 158164, 158710, 163266, 165678, 169052, 169073, 169223, 169319, 172820, 172821, 173815, 174243, 174954

Profile:
https://raw.githubusercontent.com/simulationcraft/simc/bfa-dev/profiles/Tier25/T25_Monk_Windwalker.simc (a421edb 7 days ago)

Trace:

Date: 2020-01-26 23:48:42
ID: 1
Error occured in: Global
Count: ∞
Message: [string "-- Windwalker:tod:2 recheck..."] line 2:
   attempt to index field 'time_to_pct_30' (a number value)
Debug:
   [string "-- Windwalker:tod:2 recheck
   return target.time_to_pct_30.remains-8"]:2: Recheck()
   [string "@Hekili\State.lua"]:1316: recheck()
   [string "@Hekili\Core.lua"]:707: GetPredictionFromAPL()
   [string "@Hekili\Core.lua"]:624: GetPredictionFromAPL()
   [string "@Hekili\Core.lua"]:624: GetPredictionFromAPL()
   [string "@Hekili\Core.lua"]:1020: GetNextPrediction()
   [string "@Hekili\Core.lua"]:1190: ProcessHooks()
   [string "@Hekili\UI.lua"]:811:
      Hekili\UI.lua:675
Locals:
(*temporary) = 2518
(*temporary) = nil
(*temporary) = "attempt to index field 'time_to_pct_30' (a number value)"

AddOns:
<snipped for brevity>
commented

Don't use 'target.time_to_pct_30.remains' as the '.remains' part is redundant. It should now be autoconverted.