- delete window warning for how to fully delete a window.
- tagging v4.4d as release.
This commit is contained in:
@@ -7782,6 +7782,23 @@ end
|
||||
_detalhes:Msg (Loc ["STRING_CLOSEALL"])
|
||||
end
|
||||
|
||||
--> tutorial, how to fully delete a window
|
||||
--_detalhes:SetTutorialCVar ("FULL_DELETE_WINDOW", false)
|
||||
|
||||
if (not _detalhes:GetTutorialCVar ("FULL_DELETE_WINDOW")) then
|
||||
_detalhes:SetTutorialCVar ("FULL_DELETE_WINDOW", true)
|
||||
|
||||
local panel = gump:Create1PxPanel (UIParent, 600, 100, "|cFFFFFFFFDetails!, the window hit the ground, bang bang...|r", nil, nil, nil, nil)
|
||||
panel:SetBackdropColor (0, 0, 0, 0.9)
|
||||
panel:SetPoint ("center", UIParent, "center")
|
||||
|
||||
local s = panel:CreateFontString (nil, "overlay", "GameFontNormal")
|
||||
s:SetPoint ("center", panel, "center")
|
||||
s:SetText (Loc ["STRING_TUTORIAL_FULLY_DELETE_WINDOW"])
|
||||
|
||||
panel:Show()
|
||||
end
|
||||
|
||||
GameCooltip:Hide()
|
||||
end
|
||||
_detalhes.close_instancia_func = close_button_onclick
|
||||
|
||||
@@ -72,7 +72,7 @@ do
|
||||
f:SetScript ("OnEvent", function (self, event, time, token, hidding, who_serial, who_name, who_flags, who_flags2, target_serial, target_name, target_flags, target_flags2, spellid, spellname, spelltype, amount, overhealing, absorbed, critical, multistrike, is_shield)
|
||||
if (token == "SPELL_HEAL" and spellid == 143924) then --http://www.wowhead.com/spell=143924/leech
|
||||
|
||||
--> The next few lines of code is based on an aura for WeakAuras 2, I couldn't find who is the original author for give the credits.
|
||||
--> The next few lines of code is based on an aura for WeakAuras 2, I couldn't find who is the original author since this same code is used on many different versions of the aura.
|
||||
--> If you are the original author, please contact-me on curseforge so I can add the credits here.
|
||||
local healed = amount - overhealing
|
||||
if (healed > 0) then
|
||||
|
||||
Reference in New Issue
Block a user