Commit ab802234 authored by Maiyannah Bishop's avatar Maiyannah Bishop

[Imp] Add sip mana to hotbar ( #235 )

parent bb1a4efe
......@@ -888,6 +888,20 @@ function Kauna.Imperian.Tooltips.DisplayF2Tooltip()
message = nil
end
-- ----------------------------------------------------------------------------
-- Function: Kauna.Imperian.Tooltips.DisplayF3Tooltip
-- Display the appropriate tooltip for the F3 hotbar slot depending on class.
function Kauna.Imperian.Tooltips.DisplayF3Tooltip()
Kauna.DisplayingTooltip=true
local message_title = "Sip mana"
local message_body = "<hr>".."Normally Valkryja will automate sipping mana to recover, but if it has hung up, or you have disabled that, you can use this button to do so normally."..
"<hr>"..[[<span style='color:#2c606d;font-family:]]..Config.FontFamily..[[;font-weight:bold;font-size:10pt;'>]].."Takes:</span> Elixir Balance"
message = [[<span style='color:#2c606d;font-family:]]..Config.FontFamily..[[;font-weight:bold;font-size:10pt;'>]].. message_title .."</span>"..
[[<span style='color:#000000;font-family:]]..Config.FontFamily..[[;font-weight:normal;font-size:10pt;'>]]..message_body.."</span>"
echo("infopanel", message)
message = nil
end
-- ----------------------------------------------------------------------------
-- Function: Kauna.Imperian.Tooltips.DisplayF6Tooltip
-- Display the appropriate tooltip for the F6 hotbar slot depending on class.
......@@ -1083,6 +1097,25 @@ function Kauna.Imperian.Hotbar.TemplarResurrect()
send("queue eqbal aura resurrection")
end
-- ----------------------------------------------------------------------------
-- Function: Kauna.Imperian.Hotbar.F2
-- Function to perform the appropriate action for the F2 hotbar slot, depending
-- on class.
function Kauna.Imperian.Hotbar.F2()
local prof = Character.Vitals.Class and string.lower(Character.Vitals.Class) or ""
send("sip health")
end
-- ----------------------------------------------------------------------------
-- Function: Kauna.Imperian.Hotbar.F3
-- Function to perform the appropriate action for the F3 hotbar slot, depending
-- on class.
function Kauna.Imperian.Hotbar.F3()
local prof = Character.Vitals.Class and string.lower(Character.Vitals.Class) or ""
send("sip mana")
end
-- ----------------------------------------------------------------------------
-- Function: Kauna.Imperian.Hotbar.F6
-- Function to perform the appropriate action for the F6 hotbar slot, depending
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment