- delete window warning for how to fully delete a window.

- tagging v4.4d as release.
This commit is contained in:
Tercio
2016-04-04 15:17:08 -03:00
parent 836b4f61d1
commit 6d1a856fd4
3 changed files with 23 additions and 7 deletions
+5 -6
View File
File diff suppressed because one or more lines are too long
+17
View File
@@ -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