local UIAnim = require "widgets/uianim" local Widget = require "widgets/widget" local Text = require "widgets/text"  local tryndamere_fury = Class(Widget, function(self, owner) Widget._ctor(self, "tryndamere_fury") self.owner = owner self:SetPosition(0, 0, 0) self:SetScale(1,1,1)       self.num = self:AddChild(Text(BODYTEXTFONT, 33))     self.num:SetHAlign(ANCHOR_MIDDLE)     self.num:SetPosition(5, -50, 0) self.num:SetScale(.75,.75,.75) self.num:MoveToFront()   self.num.current = owner.fury_current:value() self.num.max = owner.fury_max:value() self.percent = self.num.current/self.num.max       self.anim = self:AddChild(UIAnim())     self.anim:GetAnimState():SetBank("health")     self.anim:GetAnimState():SetBuild("tryndamere_fury") self.anim:GetAnimState():PlayAnimation("anim") self.anim:GetAnimState():SetPercent("anim", 1-self.percent)     self.anim:SetClickable(true)      self.num:SetString(STRINGS.RAGEREADY)     owner:ListenForEvent("fury_maxdirty",function(owner,data)     self.num.max = owner.fury_max:value()     self.percent = self.num.current/self.num.max     end)     owner:ListenForEvent("fury_ragedirty",function(owner,data)  local rage = owner.fury_rage:value() if rage == 1 then self.num:SetString(STRINGS.RAGEREADY) else self.num:SetString(STRINGS.RAGE_CD) end  end) owner:ListenForEvent("fury_currentdirty",function(owner,data) self.num.current = owner.fury_current:value() self.percent = self.num.current/self.num.max end)  self:StartUpdating() end)  function tryndamere_fury:OnUpdate(dt) self.anim:GetAnimState():SetPercent("anim", 1-self.percent) end  return tryndamere_fury             