Skip to content
Circle CI edited this page Aug 30, 2018 · 2 revisions

element:PreUpdate(unit)

Called before the element has been updated.

  • self - the Experience element
  • unit - the unit for which the update has been triggered (string)

element:PostUpdate(unit, cur, max, rested, level, isHonor)

Called after the element has been updated.

  • self - the Experience element
  • unit - the unit for which the update has been triggered (string)
  • cur - the unit's current experience/honor (number)
  • max - the unit's maximum experience/honor (number)
  • rested - the player's current exhaustion (number)
  • level - the unit's current experience/honor level (number)
  • isHonor - indicates if the player is currently tracking honor or not (boolean)

Clone this wiki locally