view Turok/Modules/Combat/Castbar.xml @ 11:0b1a2f3dbfc4 tip

aura duration override triggering activation twice when aura data still exists briefly after duration end
author Nenue
date Mon, 22 Feb 2016 03:11:54 -0500
parents a9b8b0866ece
children
line wrap: on
line source
<Ui>

  <Frame name="TurokCastingBar" inherits="TurokStatusBar" virtual="true" hidden="true">
    <Scripts>
      <OnHide>
        self:SetAlpha(0)
        self.casttime:SetText(nil)
        self.spelltext:SetText(nil)
        self.casting = nil
        self.channeling = nil
        self.succeeded = nil
        self.fading = nil
        self.fadeIn = nil
        self.fadeOut = nil
        self.stopping = nil
      </OnHide>
    </Scripts>
    <Layers>
      <Layer level="OVERLAY">
        <Texture name="$parentSpark" parentKey="spark" file="Interface\CastingBar\UI-CastingBar-Spark" alphaMode="ADD" hidden="true" />
        <Texture name="$parentPingBox" parentKey="ping" hidden="true" blendMode="ADD">
          <Color r="1" g="0.25" b="0" a="0.5" />
          <Anchors>
            <Anchor point="BOTTOMRIGHT" x="-3" y="3" />
            <Anchor point="TOPRIGHT" x="-3" y="-3" />
          </Anchors>
        </Texture>

        <!-- SPELL NAME -->
        <FontString name="$parentSpellText" parentKey="spelltext" inherits="TurokFont" height="18" outline="NORMAL">
          <Anchors>
            <Anchor point="LEFT" relativePoint="LEFT" relativeKey="foreground" x="6" y="0"/>
          </Anchors>
        </FontString>

        <!-- CAST TIME -->
        <FontString name="$parentTimeText" parentKey="casttime" inherits="TurokFont" height="18" outline="NORMAL">
          <Color r="1" g="1" b="1" a="1" />
          <Anchors>
            <Anchor point="RIGHT" relativePoint="RIGHT" relativeTo="$parent" x="-6" y="0" />
          </Anchors>
        </FontString>

        <!-- CAST LAG -->
        <Texture name="$parentPingBar" parentKey="pingbar" alphaMode="ADD" hidden="true">
          <Color r="1" g="0" b="0" a="0.7" />
        </Texture>

        <FontString name="$parentPingText" parentKey="ping" inherits="TurokFontDetail" hidden="true">
          <Color r="1" g="1" b="1" a="1" />
          <Anchors>
            <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMLEFT" outline="NORMAL" relativeTo="$parent" x="-6" y="-3" />
          </Anchors>
        </FontString>

        <!-- CHAINCAST LAG -->
        <FontString name="$parentDownTimeText" parentKey="downtime" inherits="TurokFontDetail" hidden="true">
          <Color r="1" g="1" b="1" a="1" />
          <Anchors>
            <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" outline="NORMAL" relativeTo="$parent" x="6" y="-3" />
          </Anchors>
        </FontString>

        <!-- NOT-INTERRUPTIBLE -->
        <Texture file="Interface/CastingBar/UI-CastingBar-Arena-Shield" name="$parentInterruptStatus" parentKey="interrupt" hidden="true">
          <Size x="94" y="94" />
          <Anchors>
            <Anchor point="CENTER" relativePoint="RIGHT" relativeKey="$parent.icon" x="0" y="0" />
          </Anchors>
        </Texture>
      </Layer>
    </Layers>
  </Frame>
</Ui>