Fixes (8)
This commit is contained in:
@@ -40,14 +40,17 @@ BUGS:
|
||||
|
||||
--]=]
|
||||
|
||||
local IsDragonflight = function()
|
||||
return select(4, GetBuildInfo()) >= 100000
|
||||
end
|
||||
|
||||
--don't load if it's not retail, emergencial patch due to classic and bcc stuff not transposed yet
|
||||
if (WOW_PROJECT_ID ~= WOW_PROJECT_MAINLINE) then
|
||||
if (WOW_PROJECT_ID ~= WOW_PROJECT_MAINLINE and not IsDragonflight()) then
|
||||
return
|
||||
end
|
||||
|
||||
local major = "LibOpenRaid-1.0"
|
||||
local CONST_LIB_VERSION = 43
|
||||
local CONST_LIB_VERSION = 44
|
||||
LIB_OPEN_RAID_CAN_LOAD = false
|
||||
|
||||
--declae the library within the LibStub
|
||||
@@ -140,7 +143,7 @@ LIB_OPEN_RAID_CAN_LOAD = false
|
||||
for i = 1, select("#", ...) do
|
||||
local clientVersion = select(i, ...)
|
||||
|
||||
if (clientVersion == "retail" and WOW_PROJECT_ID == WOW_PROJECT_MAINLINE) then --retail
|
||||
if (clientVersion == "retail" and (WOW_PROJECT_ID == WOW_PROJECT_MAINLINE or IsDragonflight())) then --retail
|
||||
return true
|
||||
|
||||
elseif (clientVersion == "classic_era" and WOW_PROJECT_ID == WOW_PROJECT_CLASSIC) then --classic era (vanila)
|
||||
|
||||
+11
-11
@@ -25,11 +25,11 @@
|
||||
|
||||
<Animations>
|
||||
<AnimationGroup name="$parentAnimIn" parentKey="animIn">
|
||||
<Alpha change="-1" duration="0" order="1"/>
|
||||
<Alpha change="1" duration="0.2" order="2"/>
|
||||
<Alpha duration="0" order="1"/>
|
||||
<Alpha duration="0.2" order="2"/>
|
||||
</AnimationGroup>
|
||||
<AnimationGroup name="$parentWaitAndAnimOut" parentKey="waitAndAnimOut">
|
||||
<Alpha startDelay="4.05" change="-1" duration="1.5" parentKey="animOut">
|
||||
<Alpha startDelay="4.05" duration="1.5" parentKey="animOut">
|
||||
<Scripts>
|
||||
<OnFinished>
|
||||
self:GetRegionParent():Hide();
|
||||
@@ -52,8 +52,8 @@
|
||||
</Anchors>
|
||||
<Animations>
|
||||
<AnimationGroup name="$parentAnimIn" parentKey="animIn">
|
||||
<Alpha change="1" duration="0.2" order="1"/>
|
||||
<Alpha change="-1" duration="0.5" order="2"/>
|
||||
<Alpha duration="0.2" order="1"/>
|
||||
<Alpha duration="0.5" order="2"/>
|
||||
<Scripts>
|
||||
<OnFinished>
|
||||
self:GetParent():Hide();
|
||||
@@ -74,9 +74,9 @@
|
||||
</Anchors>
|
||||
<Animations>
|
||||
<AnimationGroup name="$parentAnimIn" parentKey="animIn">
|
||||
<Alpha change="1" duration="0.2" order="1"/>
|
||||
<Alpha duration="0.2" order="1"/>
|
||||
<Translation offsetX="200" offsetY="0" duration="0.85" order="2"/>
|
||||
<Alpha startDelay="0.35" change="-1" duration="0.5" order="2"/>
|
||||
<Alpha startDelay="0.35" duration="0.5" order="2"/>
|
||||
<Scripts>
|
||||
<OnFinished>
|
||||
self:GetParent():Hide();
|
||||
@@ -229,8 +229,8 @@
|
||||
<Texture name="$parentShine" alphaMode="ADD" alpha="0" hidden="true" parentKey="Shine">
|
||||
<Animations>
|
||||
<AnimationGroup name="$parentFlash" parentKey="Flash">
|
||||
<Alpha startDelay="0" change="0.4" duration="0.25" order="1"/>
|
||||
<Alpha startDelay="0.05" change="-0.4" duration="0.25" order="2"/>
|
||||
<Alpha startDelay="0" duration="0.25" order="1"/>
|
||||
<Alpha startDelay="0.05" duration="0.25" order="2"/>
|
||||
<Scripts>
|
||||
<OnStop>
|
||||
self:GetParent():Hide();
|
||||
@@ -257,8 +257,8 @@
|
||||
</Anchors>
|
||||
<Animations>
|
||||
<AnimationGroup name="$parentFlash" parentKey="Flash">
|
||||
<Alpha change="0.9" duration="0.25" order="1"/>
|
||||
<Alpha startDelay="0.05" change="-0.9" duration="0.25" order="2"/>
|
||||
<Alpha duration="0.25" order="1"/>
|
||||
<Alpha startDelay="0.05" duration="0.25" order="2"/>
|
||||
<Scripts>
|
||||
<OnStop>
|
||||
self:GetParent():Hide();
|
||||
|
||||
Reference in New Issue
Block a user