Invoke Niuzao, the Black Ox and Walk with the Ox cause Lua error when showing statues #2208


Open
  • tha_trashman created this issue Aug 30, 2025

    Whenever the Statue bar is enabled for Brewmaster monk you get a LUA error any time either:

     

    1. You cast Invoke Niuzao, the Black Ox 

    2. He is summoned automatically as a guardian via the Walk with the Ox talent

     

    The only exception seems to be if you have Summon Black Ox Statue already out and he is summoned automatically by Walk with the Ox there's no error.

     

    Here is the error from bugsack where it tries to handle the PLAYER_TOTEM_UPDATE event while not having a Totem frame to update:

     

    1x [ADDON_ACTION_BLOCKED] AddOn 'ShadowedUnitFrames' tried to call the protected function 'Frame:Show()'.
    [ShadowedUnitFrames/modules/units.lua]:214: in function <ShadowedUnitFrames/modules/units.lua:211>

    Locals:
    self = SUFUnitplayer {
    vehicleUnit = "vehicle"
    RightEdge = Texture {
    }
    unitType = "player"
    indicators = Frame {
    }
    unitInitialized = true
    unit = "player"
    fontStrings = <table> {
    }
    TopEdge = Texture {
    }
    unitOwner = "player"
    fullUpdates = <table> {
    }
    incHeal = StatusBar {
    }
    LeftEdge = Texture {
    }
    registeredEvents = <table> {
    }
    TopLeftCorner = Texture {
    }
    IsPingable = true
    topFrameLevel = 5
    visibility = <table> {
    }
    isDead = false
    unitGUID = "Player-1168-0A90116A"
    Center = Texture {
    }
    unitRealType = "player"
    totemBar = Frame {
    }
    highFrame = Frame {
    }
    BottomEdge = Texture {
    }
    backdropInfo = <table> {
    }
    hasStateWatch = false
    comboPoints = Frame {
    }
    BottomRightCorner = Texture {
    }
    BottomLeftCorner = Texture {
    }
    healthBar = StatusBar {
    }
    TopRightCorner = Texture {
    }
    altPowerBar = StatusBar {
    }
    incAbsorb = StatusBar {
    }
    highlight = Frame {
    }
    healAbsorb = StatusBar {
    }
    }
    event = "PLAYER_TOTEM_UPDATE"
    unit = 1
    (for state) = <table> {
    = "Update"
    }
    (for control) = <table> {
    moduleHasBar = true
    moduleLevel = 35
    moduleKey = "totemBar"
    moduleSpec = <table> {
    }
    moduleName = "Statue bar"
    moduleClass = "MONK"
    }
    handler = <table> {
    moduleHasBar = true
    moduleLevel = 35
    moduleKey = "totemBar"
    moduleSpec = <table> {
    }
    moduleName = "Statue bar"
    moduleClass = "MONK"
    }
    func = "Update"
    unitEvents = <table> {
    UNIT_CONNECTION = true
    UNIT_POWER_UPDATE = true
    UNIT_NAME_UPDATE = true
    UNIT_HEAL_PREDICTION = true
    UNIT_HEAL_ABSORB_AMOUNT_CHANGED = true
    UNIT_POWER_BAR_HIDE = true
    UNIT_FACTION = true
    UNIT_THREAT_SITUATION_UPDATE = true
    UNIT_PHASE = true
    UNIT_HEALTH = true
    UNIT_POWER_BAR_SHOW = true
    UNIT_TARGETABLE_CHANGED = true
    PLAYER_FLAGS_CHANGED = true
    UNIT_MAXHEALTH = true
    UNIT_AURA = true
    UNIT_ABSORB_AMOUNT_CHANGED = true
    }

  • tha_trashman edited title Aug 30, 2025
  • tha_trashman posted a comment Aug 30, 2025

    I believe the max needs to be set to 3 for MONK, depending on talent selections if possible.


    Edited Aug 30, 2025
  • tha_trashman posted a comment Aug 30, 2025

    Setting it to 3 and hard coding the statue color to all 3 does fix the error but I'm checking to see how to make it dependent on talents and possibly add an option to ignore those entirely. If I can get that working I'll put up a PR for it.


To post a comment, please login or register a new account.