Skip to content

Commit

Permalink
v2.6.6
Browse files Browse the repository at this point in the history
- Tracking arrow now rotates around the reticle.
- Added possible fix for hoarfrost not always working on execute
  • Loading branch information
kyoma committed Jul 4, 2018
1 parent 0fe498a commit 7444879
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 14 deletions.
6 changes: 4 additions & 2 deletions BuffsDebuffs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -421,8 +421,10 @@ cloudrest.olorime_spears = 104019

-- Shade of Galenwe and Falarielle
--cloudrest.hoarfrost = {}
cloudrest.hoarfrost = 103760 -- first frost
cloudrest.hoarfrost_aoe = 103743 -- when picked up from the floor
cloudrest.hoarfrost = {}
cloudrest.hoarfrost[103760] = true -- first frost
cloudrest.hoarfrost[110465] = true -- during execute
cloudrest.hoarfrost_aoe = 103743 -- when picked up from the floor (no 2nd one for execute?)
cloudrest.hoarfrost_countdown = 6000 -- hardcoded for now
cloudrest.hoarfrost_syn = 103697
cloudrest.hoarfrost_shed = 103714
Expand Down
5 changes: 2 additions & 3 deletions RaidNotifier.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ local RaidNotifier = RaidNotifier

RaidNotifier.Name = "RaidNotifier"
RaidNotifier.DisplayName = "Raid Notifier"
RaidNotifier.Version = "2.6.5"
RaidNotifier.Version = "2.6.6"
RaidNotifier.Author = "|c009ad6Kyoma, Memus, Woeler, silentgecko|r"
RaidNotifier.SV_Name = "RNVars"
RaidNotifier.SV_Version = 4
Expand Down Expand Up @@ -232,7 +232,6 @@ do ---------------------------------
end
self:SetLastNotify(category, setting, currentTime)
end
dbg("Start")
local countdownId = LCSA:CreateCountdown(timer, soundId, nil, text, nil, SetupCallback, CountdownCallback)
if countdownId > 0 then
countdownInProgress = true
Expand Down Expand Up @@ -1832,7 +1831,7 @@ do ---------------------------
--dbg("[%d](%d) %s -> %s (%d)", result, abilityId, GetAbilityName(abilityId), tName, hitValue)

if result == ACTION_RESULT_BEGIN then
if abilityId == buffsDebuffs.hoarfrost then
if buffsDebuffs.hoarfrost[abilityId] then
self.hoarfrostCount = 1
if (settings.hoarfrost >= 1) then
dbg("Hoarfrost %d on %s, hitValue= %d", self.hoarfrostCount, tName, hitValue)
Expand Down
2 changes: 1 addition & 1 deletion RaidNotifier.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Title: |cEFEBBERaidNotifier|r
## Description: Displays on-screen notifications on different events during trials.
## Author: |c009ad6Kyoma, Memus, Woeler, silentgecko|r
## Version: 2.6.5
## Version: 2.6.6
## APIVersion: 100023
## SavedVariables: RNVars
## OptionalDependsOn: LibAddonMenu-2.0 LibMapPing LibGPS2 LibGroupSocket
Expand Down
2 changes: 1 addition & 1 deletion RaidNotifier.xml
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@

</Controls>
</Control>
<Texture name="$(parent)ArrowDisplay" textureFile="RaidNotifier/assets/arrow.dds" movable="true" mouseEnabled="true" hidden="true" clampedToScreen="true" color="ff9900">
<Texture name="$(parent)ArrowDisplay" textureFile="RaidNotifier/assets/arrow.dds" movable="false" mouseEnabled="false" hidden="true" clampedToScreen="true" color="ff9900">
<Dimensions x="128" y="128" />
<Anchor point="CENTER" relativePoint="CENTER" relativeTo="GuiRoot" />
<OnInitialized>
Expand Down
12 changes: 5 additions & 7 deletions UI.lua
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ do
settings = settings.position
end
if not settings then
df("Could not find saved position for '%s'", ctrl:GetName())
--df("Could not find saved position for '%s'", ctrl:GetName())
else
local anchor = settings[3] or TOPLEFT
settings[1], settings[2] = CUSTOM_ANCHORS[anchor](ctrl)
Expand All @@ -53,7 +53,7 @@ do
settings = settings.position
end
if not settings then
df("Could not find saved position for '%s'", ctrl:GetName())
--df("Could not find saved position for '%s'", ctrl:GetName())
else
ctrl:ClearAnchors()
ctrl:SetAnchor(settings[3] or TOPLEFT, RaidNotifierUI, TOPLEFT, settings[1], settings[2])
Expand All @@ -65,11 +65,9 @@ do
if type(ctrl) == "string" then
ctrl = RaidNotifierUI:GetNamedChild(ctrl)
end
--if (not self:GetElement("", ctrl.key)) then
elements[ctrl.key] = ctrl --just save by key as it probably never conflicts
ctrl:SetHandler("OnMoveStop", SaveElementPosition)
LoadElementPosition(ctrl)
--end
elements[ctrl.key] = ctrl --just save by key as it probably never conflicts
ctrl:SetHandler("OnMoveStop", SaveElementPosition)
LoadElementPosition(ctrl)
return ctrl
end

Expand Down

0 comments on commit 7444879

Please sign in to comment.