Skip to content

Commit

Permalink
buffalo 0.3.0: Added selfie buffs
Browse files Browse the repository at this point in the history
  • Loading branch information
Sentilix committed May 14, 2022
1 parent 944a7fa commit 713a356
Show file tree
Hide file tree
Showing 9 changed files with 224 additions and 96 deletions.
3 changes: 2 additions & 1 deletion Buffalo/Buffalo-Classic.toc
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
## Title: Buffalo - One-button buffing
## Notes: Smart addon to buff party / raid members
## Version: 0.2.0-alpha2
## Version: 0.3.0-alpha1
## Author: Mimma @ <EU-Nethergarde Keep>
## Interface: 11403
## SavedVariables: Buffalo_Options
## X-Expansion-Level: 1
## X-Curse-Project-ID: 623031
## X-WoWI-ID: 26305
Buffalo-Configuration.xml
Buffalo.xml

6 changes: 3 additions & 3 deletions Buffalo/Buffalo-Configuration.lua
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ function Buffalo_InitializeBuffMatrix()
["BITMASK"] = 0x0100,
["ICONID"] = 135991,
["SPELLID"] = Buffalo_GetSpellID(BUFFALO_BUFF_Mage_MageArmor_Name);
["CLASSES"] = 0x0000,
["CLASSES"] = BUFFALO_CLASS_MAGE,
["PRIORITY"] = 20,
["GROUP"] = false,
["FAMILY"] = "Armor"
Expand All @@ -217,7 +217,7 @@ function Buffalo_InitializeBuffMatrix()
["BITMASK"] = 0x0200,
["ICONID"] = 135843,
["SPELLID"] = Buffalo_GetSpellID(BUFFALO_BUFF_Mage_IceArmor_Name);
["CLASSES"] = 0x0000,
["CLASSES"] = BUFFALO_CLASS_MAGE,
["PRIORITY"] = 10,
["GROUP"] = false,
["FAMILY"] = "Armor"
Expand Down Expand Up @@ -301,7 +301,7 @@ function Buffalo_InitializeBuffMatrix()
["BITMASK"] = 0x0100,
["ICONID"] = 135926,
["SPELLID"] = Buffalo_GetSpellID(BUFFALO_BUFF_Priest_InnerFire_Name);
["CLASSES"] = 0x0000,
["CLASSES"] = BUFFALO_CLASS_PRIEST,
["PRIORITY"] = 10,
["GROUP"] = false
};
Expand Down
20 changes: 18 additions & 2 deletions Buffalo/Buffalo-Configuration.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,27 @@
<KeyValue key="backdropColor" value="BLACK" type="global"/>
<KeyValue key="backdropBorderColor" value="WHITE" type="global"/>
</KeyValues>
<Size x="440" y="280" />
<Size x="440" y="340" />
<Anchors>
<Anchor point="CENTER"/>
</Anchors>

<Frames>
<!-- Buff rows are inserted here -->
<!-- Raid buff rows are inserted here -->
<Frame name="$parentGroups" hidden="false">
<Size x="320" y="200" />
<Anchors>
<Anchor point="TOPLEFT" x="30" y="-92" />
</Anchors>
</Frame>

<Frame name="$parentSelf" hidden="false">
<Size x="320" y="200" />
<Anchors>
<Anchor point="TOPLEFT" x="30" y="-250" />
</Anchors>
</Frame>

<!-- Close button -->
<Button name="CloseButton" inherits="UIPanelButtonTemplate" movable="true" text="Close">
<Size>
Expand Down Expand Up @@ -151,6 +158,15 @@
<Color r="1" g="1" b="1" a="1.0"/>
</FontString>

<FontString inherits="GameFontNormal" text="Self buffs:">
<Anchors>
<Anchor point="TOPLEFT">
<Offset x="30" y="-220"/>
</Anchor>
</Anchors>
<Color r="1" g="1" b="1" a="1.0"/>
</FontString>

<FontString name="BuffaloVersionString" inherits="GameFontNormal" text="Buffalo x - by y">
<Anchors>
<Anchor point="BOTTOM">
Expand Down
Loading

0 comments on commit 713a356

Please sign in to comment.