📄 en_buff.xml
字号:
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
C:\Projects\WoW\Bin\Interface\FrameXML\UI.xsd">
<Script file="EN_Buff.lua"/>
<!-- Target Buff -->
<Button name="EUF_TargetBuffButtonTemplate" inherits="TargetBuffButtonTemplate" virtual="true" hidden="true">
</Button>
<Button name="TargetBuffFrame" frameStrata="LOW" toplevel="true" movable="true" parent="UIParent">
<Frames>
<Button name="TargetFrameBuff6" inherits="EUF_TargetBuffButtonTemplate" id="6">
<Anchors>
<Anchor point="LEFT" relativeTo="TargetFrameBuff5" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="3" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="TargetFrameBuff7" inherits="EUF_TargetBuffButtonTemplate" id="7">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="TargetFrameBuff1" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-3"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="TargetFrameBuff8" inherits="EUF_TargetBuffButtonTemplate" id="8">
<Anchors>
<Anchor point="LEFT" relativeTo="TargetFrameBuff7" relativePoint="RIGHT">
<Offset>
<AbsDimension x="3" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="TargetFrameBuff9" inherits="EUF_TargetBuffButtonTemplate" id="9">
<Anchors>
<Anchor point="LEFT" relativeTo="TargetFrameBuff8" relativePoint="RIGHT">
<Offset>
<AbsDimension x="3" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="TargetFrameBuff10" inherits="EUF_TargetBuffButtonTemplate" id="10">
<Anchors>
<Anchor point="LEFT" relativeTo="TargetFrameBuff9" relativePoint="RIGHT">
<Offset>
<AbsDimension x="3" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="TargetFrameBuff11" inherits="EUF_TargetBuffButtonTemplate" id="11">
<Anchors>
<Anchor point="LEFT" relativeTo="TargetFrameBuff10" relativePoint="RIGHT">
<Offset>
<AbsDimension x="3" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="TargetFrameBuff12" inherits="EUF_TargetBuffButtonTemplate" id="12">
<Anchors>
<Anchor point="LEFT" relativeTo="TargetFrameBuff11" relativePoint="RIGHT">
<Offset>
<AbsDimension x="3" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="TargetFrameBuff13" inherits="EUF_TargetBuffButtonTemplate" id="13">
<Anchors>
<Anchor point="LEFT" relativeTo="TargetFrameBuff12" relativePoint="RIGHT">
<Offset>
<AbsDimension x="3" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="TargetFrameBuff14" inherits="EUF_TargetBuffButtonTemplate" id="14">
<Anchors>
<Anchor point="LEFT" relativeTo="TargetFrameBuff13" relativePoint="RIGHT">
<Offset>
<AbsDimension x="3" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="TargetFrameBuff15" inherits="EUF_TargetBuffButtonTemplate" id="15">
<Anchors>
<Anchor point="LEFT" relativeTo="TargetFrameBuff14" relativePoint="RIGHT">
<Offset>
<AbsDimension x="3" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="TargetFrameBuff16" inherits="EUF_TargetBuffButtonTemplate" id="16">
<Anchors>
<Anchor point="LEFT" relativeTo="TargetFrameBuff15" relativePoint="RIGHT">
<Offset>
<AbsDimension x="3" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
</Frames>
</Button>
<!-- Party Buff/Debuff -->
<Button name="EUF_PartyBuffButtonTemplate" virtual="true" hidden="true">
<Size>
<AbsDimension x="15" y="15"/>
</Size>
<Layers>
<Layer level="ARTWORK">
<Texture name="$parentIcon" setAllPoints="true"/>
</Layer>
</Layers>
<Scripts>
<OnEnter>
GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
GameTooltip:SetUnitBuff("party"..this:GetParent():GetID(), this:GetID());
</OnEnter>
<OnLeave>
GameTooltip:Hide();
</OnLeave>
</Scripts>
</Button>
<Button name="EUF_PartyDeBuffButtonTemplate" virtual="true" hidden="true">
<Size>
<AbsDimension x="15" y="15"/>
</Size>
<Layers>
<Layer level="ARTWORK">
<Texture name="$parentIcon" setAllPoints="true"/>
</Layer>
<Layer level="OVERLAY">
<Texture name="$parentOverlay" file="Interface\Buttons\UI-Debuff-Border">
<Size>
<AbsDimension x="17" y="17"/>
</Size>
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnEnter>
GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
GameTooltip:SetUnitDebuff("party"..this:GetParent():GetID(), this:GetID());
</OnEnter>
<OnLeave>
GameTooltip:Hide();
</OnLeave>
</Scripts>
</Button>
<Frame name="EUF_PartyBuffFrameTemplate" virtual="true">
<Anchors>
<Anchor point="TOPLEFT"/>
<Anchor point="BOTTOMRIGHT"/>
</Anchors>
<Frames>
<Button name="$parentDeBuff1" inherits="EUF_PartyDeBuffButtonTemplate" id="1">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="135" y="8"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="$parentDeBuff2" inherits="EUF_PartyDeBuffButtonTemplate" id="2">
<Anchors>
<Anchor point="LEFT" relativeTo="$parentDeBuff1" relativePoint="RIGHT">
<Offset>
<AbsDimension x="2" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="$parentDeBuff3" inherits="EUF_PartyDeBuffButtonTemplate" id="3">
<Anchors>
<Anchor point="LEFT" relativeTo="$parentDeBuff2" relativePoint="RIGHT">
<Offset>
<AbsDimension x="2" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="$parentDeBuff4" inherits="EUF_PartyDeBuffButtonTemplate" id="4">
<Anchors>
<Anchor point="LEFT" relativeTo="$parentDeBuff3" relativePoint="RIGHT">
<Offset>
<AbsDimension x="2" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="$parentDeBuff5" inherits="EUF_PartyDeBuffButtonTemplate" id="5">
<Anchors>
<Anchor point="LEFT" relativeTo="$parentDeBuff4" relativePoint="RIGHT">
<Offset>
<AbsDimension x="2" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="$parentDeBuff6" inherits="EUF_PartyDeBuffButtonTemplate" id="6">
<Anchors>
<Anchor point="LEFT" relativeTo="$parentDeBuff5" relativePoint="RIGHT">
<Offset>
<AbsDimension x="2" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="$parentDeBuff7" inherits="EUF_PartyDeBuffButtonTemplate" id="7">
<Anchors>
<Anchor point="LEFT" relativeTo="$parentDeBuff6" relativePoint="RIGHT">
<Offset>
<AbsDimension x="2" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="$parentDeBuff8" inherits="EUF_PartyDeBuffButtonTemplate" id="8">
<Anchors>
<Anchor point="LEFT" relativeTo="$parentDeBuff7" relativePoint="RIGHT">
<Offset>
<AbsDimension x="2" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="$parentDeBuff9" inherits="EUF_PartyDeBuffButtonTemplate" id="9">
<Anchors>
<Anchor point="LEFT" relativeTo="$parentDeBuff8" relativePoint="RIGHT">
<Offset>
<AbsDimension x="2" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="$parentDeBuff10" inherits="EUF_PartyDeBuffButtonTemplate" id="10">
<Anchors>
<Anchor point="LEFT" relativeTo="$parentDeBuff9" relativePoint="RIGHT">
<Offset>
<AbsDimension x="2" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="$parentDeBuff11" inherits="EUF_PartyDeBuffButtonTemplate" id="11">
<Anchors>
<Anchor point="LEFT" relativeTo="$parentDeBuff10" relativePoint="RIGHT">
<Offset>
<AbsDimension x="2" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="$parentDeBuff12" inherits="EUF_PartyDeBuffButtonTemplate" id="12">
<Anchors>
<Anchor point="LEFT" relativeTo="$parentDeBuff11" relativePoint="RIGHT">
<Offset>
<AbsDimension x="2" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="$parentDeBuff13" inherits="EUF_PartyDeBuffButtonTemplate" id="13">
<Anchors>
<Anchor point="LEFT" relativeTo="$parentDeBuff12" relativePoint="RIGHT">
<Offset>
<AbsDimension x="2" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="$parentDeBuff14" inherits="EUF_PartyDeBuffButtonTemplate" id="14">
<Anchors>
<Anchor point="LEFT" relativeTo="$parentDeBuff13" relativePoint="RIGHT">
<Offset>
<AbsDimension x="2" y="0"/>
</Offset>
</Anchor>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -