Commit efb99ccb authored by Ivaria's avatar Ivaria

-- Added new bouquet validator 'Flag: Own Runes =='

-- Added new default bouquet 'Player Runes'
-- Added new text provider 'Runes: <#n>'
-- Added new bouquet validator 'Flag: Own Arcane Charges =='
-- Added new default bouquet 'Player Arcane Charges'
-- Added new text provider 'Arcane Charges: <#n>
parent e4aec504
......@@ -526,6 +526,38 @@ end
--
local function VUHDO_runesEqualsValidator(anInfo, someCustom)
if anInfo["connected"] and not anInfo["dead"] then
tPower = UnitPower(anInfo["unit"], VUHDO_UNIT_POWER_RUNES);
if tPower == someCustom["custom"][1] then
return true, nil, tPower, -1, UnitPowerMax(anInfo["unit"], VUHDO_UNIT_POWER_RUNES);
else
return false, nil, -1, -1, -1;
end
else
return false, nil, tPower, -1, -1;
end
end
--
local function VUHDO_arcaneChargesEqualsValidator(anInfo, someCustom)
if anInfo["connected"] and not anInfo["dead"] then
tPower = UnitPower(anInfo["unit"], VUHDO_UNIT_POWER_ARCANE_CHARGES);
if tPower == someCustom["custom"][1] then
return true, nil, tPower, -1, UnitPowerMax(anInfo["unit"], VUHDO_UNIT_POWER_ARCANE_CHARGES);
else
return false, nil, -1, -1, -1;
end
else
return false, nil, tPower, -1, -1;
end
end
--
local function VUHDO_durationAboveValidator(anInfo, someCustom)
if VUHDO_getIsCurrentBouquetActive() then
......@@ -1503,6 +1535,20 @@ VUHDO_BOUQUET_BUFFS_SPECIAL = {
["interests"] = { VUHDO_UPDATE_SOUL_SHARDS, VUHDO_UPDATE_DC, VUHDO_UPDATE_ALIVE },
},
["OWN_RUNES_EQUALS"] = {
["displayName"] = VUHDO_I18N_BOUQUET_OWN_RUNES_EQUALS,
["validator"] = VUHDO_runesEqualsValidator,
["custom_type"] = VUHDO_BOUQUET_CUSTOM_TYPE_HOLY_POWER,
["interests"] = { VUHDO_UPDATE_RUNES, VUHDO_UPDATE_DC, VUHDO_UPDATE_ALIVE },
},
["OWN_ARCANE_CHARGES_EQUALS"] = {
["displayName"] = VUHDO_I18N_BOUQUET_OWN_ARCANE_CHARGES_EQUALS,
["validator"] = VUHDO_arcaneChargesEqualsValidator,
["custom_type"] = VUHDO_BOUQUET_CUSTOM_TYPE_HOLY_POWER,
["interests"] = { VUHDO_UPDATE_ARCANE_CHARGES, VUHDO_UPDATE_DC, VUHDO_UPDATE_ALIVE },
},
["DURATION_ABOVE"] = {
["displayName"] = VUHDO_I18N_BOUQUET_DURATION_ABOVE,
["validator"] = VUHDO_durationAboveValidator,
......
......@@ -282,6 +282,8 @@ VUHDO_UPDATE_SUMMON = 38;
VUHDO_UPDATE_PHASE = 39;
VUHDO_UPDATE_COMBO_POINTS = 40;
VUHDO_UPDATE_SOUL_SHARDS = 41;
VUHDO_UPDATE_RUNES = 42;
VUHDO_UPDATE_ARCANE_CHARGES = 43;
......@@ -291,7 +293,7 @@ VUHDO_UNIT_POWER_RAGE = Enum.PowerType.Rage;
VUHDO_UNIT_POWER_FOCUS = Enum.PowerType.Focus;
VUHDO_UNIT_POWER_ENERGY = Enum.PowerType.Energy;
VUHDO_UNIT_POWER_COMBO_POINTS = Enum.PowerType.ComboPoints;
VUHDO_UNIT_POWER_RUNES = Enum.PowerType.RunicPower;
VUHDO_UNIT_POWER_RUNIC_POWER = Enum.PowerType.RunicPower;
VUHDO_UNIT_POWER_LUNAR_POWER = Enum.PowerType.LunarPower;
VUHDO_UNIT_POWER_MAELSTROM = Enum.PowerType.Maelstrom;
VUHDO_UNIT_POWER_INSANITY = Enum.PowerType.Insanity;
......@@ -300,6 +302,8 @@ VUHDO_UNIT_POWER_PAIN = Enum.PowerType.Pain;
VUHDO_UNIT_POWER_CHI = Enum.PowerType.Chi;
VUHDO_UNIT_POWER_HOLY_POWER = Enum.PowerType.HolyPower;
VUHDO_UNIT_POWER_SOUL_SHARDS = Enum.PowerType.SoulShards;
VUHDO_UNIT_POWER_RUNES = Enum.PowerType.Runes;
VUHDO_UNIT_POWER_ARCANE_CHARGES = Enum.PowerType.ArcaneCharges;
......
......@@ -776,7 +776,7 @@ VUHDO_DEFAULT_POWER_TYPE_COLORS = {
[VUHDO_UNIT_POWER_FOCUS] = VUHDO_makeFullColor(1, 0.5, 0.25, 1, 1, 0.5, 0.25, 1),
[VUHDO_UNIT_POWER_ENERGY] = VUHDO_makeFullColor(1, 1, 0, 1, 1, 1, 0, 1),
[VUHDO_UNIT_POWER_COMBO_POINTS] = VUHDO_makeFullColor(0, 1, 1, 1, 0, 1, 1, 1),
[VUHDO_UNIT_POWER_RUNES] = VUHDO_makeFullColor(0.5, 0.5, 0.5, 1, 0.5, 0.5, 0.5, 1),
[VUHDO_UNIT_POWER_RUNIC_POWER] = VUHDO_makeFullColor(0.5, 0.5, 0.5, 1, 0.5, 0.5, 0.5, 1),
[VUHDO_UNIT_POWER_LUNAR_POWER] = VUHDO_makeFullColor(0.87, 0.95, 1, 1, 0.87, 0.95, 1, 1),
[VUHDO_UNIT_POWER_MAELSTROM] = VUHDO_makeFullColor(0.09, 0.56, 1, 1, 0.09, 0.56, 1, 1),
[VUHDO_UNIT_POWER_INSANITY] = VUHDO_makeFullColor(0.15, 0.97, 1, 1, 0.15, 0.97, 1, 1),
......
......@@ -417,8 +417,20 @@ VUHDO_DEFAULT_CHI_BOUQUET = {
[VUHDO_I18N_DEF_PLAYER_CHI] = {
{
["name"] = "OWN_CHI_EQUALS",
["mine"] = true, ["icon"] = 13,
["mine"] = true, ["icon"] = 14,
["color"] = VUHDO_makeFullColorForBouquet(0.6, 1, 0.6, 1, 0.6, 1, 0.6, 1),
["custom"] = { [1] = 6, ["radio"] = 1, ["bright"] = 1 },
},
{
["name"] = "OWN_CHI_EQUALS",
["mine"] = true, ["icon"] = 14,
["color"] = VUHDO_makeFullColorForBouquet(0.6, 1, 0.6, 1, 0.6, 1, 0.6, 1),
["custom"] = { [1] = 5, ["radio"] = 1, ["bright"] = 1 },
},
{
["name"] = "OWN_CHI_EQUALS",
["mine"] = true, ["icon"] = 13,
["color"] = VUHDO_makeFullColorForBouquet(1, 1, 0.4, 1, 1, 1, 0.4, 1),
["custom"] = { [1] = 4, ["radio"] = 1, ["bright"] = 1 },
},
{
......@@ -446,6 +458,12 @@ VUHDO_DEFAULT_CHI_BOUQUET = {
VUHDO_DEFAULT_COMBO_POINTS_BOUQUET = {
[VUHDO_I18N_DEF_PLAYER_COMBO_POINTS] = {
{
["name"] = "OWN_COMBO_POINTS_EQUALS",
["mine"] = true, ["icon"] = 14,
["color"] = VUHDO_makeFullColorForBouquet(0.6, 1, 0.6, 1, 0.6, 1, 0.6, 1),
["custom"] = { [1] = 6, ["radio"] = 1, ["bright"] = 1 },
},
{
["name"] = "OWN_COMBO_POINTS_EQUALS",
["mine"] = true, ["icon"] = 14,
......@@ -518,6 +536,80 @@ VUHDO_DEFAULT_SOUL_SHARDS_BOUQUET = {
VUHDO_DEFAULT_RUNES_BOUQUET = {
[VUHDO_I18N_DEF_PLAYER_RUNES] = {
{
["name"] = "OWN_RUNES_EQUALS",
["mine"] = true, ["icon"] = 14,
["color"] = VUHDO_makeFullColorForBouquet(0.6, 1, 0.6, 1, 0.6, 1, 0.6, 1),
["custom"] = { [1] = 6, ["radio"] = 1, ["bright"] = 1 },
},
{
["name"] = "OWN_RUNES_EQUALS",
["mine"] = true, ["icon"] = 14,
["color"] = VUHDO_makeFullColorForBouquet(0.6, 1, 0.6, 1, 0.6, 1, 0.6, 1),
["custom"] = { [1] = 5, ["radio"] = 1, ["bright"] = 1 },
},
{
["name"] = "OWN_RUNES_EQUALS",
["mine"] = true, ["icon"] = 13,
["color"] = VUHDO_makeFullColorForBouquet(1, 1, 0.4, 1, 1, 1, 0.4, 1),
["custom"] = { [1] = 4, ["radio"] = 1, ["bright"] = 1 },
},
{
["name"] = "OWN_RUNES_EQUALS",
["mine"] = true, ["icon"] = 12,
["color"] = VUHDO_makeFullColorForBouquet(1, 1, 0.4, 1, 1, 1, 0.4, 1),
["custom"] = { [1] = 3, ["radio"] = 1, ["bright"] = 1 },
},
{
["name"] = "OWN_RUNES_EQUALS",
["mine"] = true, ["icon"] = 11,
["color"] = VUHDO_makeFullColorForBouquet(1, 0.75, 0.4, 1, 1, 0.75, 0.4, 1),
["custom"] = { [1] = 2, ["radio"] = 1, ["bright"] = 1 },
},
{
["name"] = "OWN_RUNES_EQUALS",
["mine"] = true, ["icon"] = 10,
["color"] = VUHDO_makeFullColorForBouquet(1, 0.4, 0.4, 1, 1, 0.4, 0.4, 1),
["custom"] = { [1] = 1, ["radio"] = 1, ["bright"] = 1 },
},
},
};
VUHDO_DEFAULT_ARCANE_CHARGES_BOUQUET = {
[VUHDO_I18N_DEF_PLAYER_ARCANE_CHARGES] = {
{
["name"] = "OWN_ARCANE_CHARGES_EQUALS",
["mine"] = true, ["icon"] = 13,
["color"] = VUHDO_makeFullColorForBouquet(0.6, 1, 0.6, 1, 0.6, 1, 0.6, 1),
["custom"] = { [1] = 4, ["radio"] = 1, ["bright"] = 1 },
},
{
["name"] = "OWN_ARCANE_CHARGES_EQUALS",
["mine"] = true, ["icon"] = 12,
["color"] = VUHDO_makeFullColorForBouquet(1, 1, 0.4, 1, 1, 1, 0.4, 1),
["custom"] = { [1] = 3, ["radio"] = 1, ["bright"] = 1 },
},
{
["name"] = "OWN_ARCANE_CHARGES_EQUALS",
["mine"] = true, ["icon"] = 11,
["color"] = VUHDO_makeFullColorForBouquet(1, 0.75, 0.4, 1, 1, 0.75, 0.4, 1),
["custom"] = { [1] = 2, ["radio"] = 1, ["bright"] = 1 },
},
{
["name"] = "OWN_ARCANE_CHARGES_EQUALS",
["mine"] = true, ["icon"] = 10,
["color"] = VUHDO_makeFullColorForBouquet(1, 0.4, 0.4, 1, 1, 0.4, 0.4, 1),
["custom"] = { [1] = 1, ["radio"] = 1, ["bright"] = 1 },
},
},
};
VUHDO_DEFAULT_ROLE_ICON_BOUQUET = {
[VUHDO_I18N_DEF_ROLE_ICON] = {
{
......@@ -1538,6 +1630,14 @@ function VUHDO_loadDefaultBouquets()
VUHDO_DEFAULT_COMBO_POINTS_BOUQUET = nil;
VUHDO_DEFAULT_SOUL_SHARDS_BOUQUET = nil;
if VUHDO_BOUQUETS["VERSION"] < 23 then
VUHDO_BOUQUETS["VERSION"] = 23;
VUHDO_addDefaultBouquet(VUHDO_DEFAULT_RUNES_BOUQUET);
VUHDO_addDefaultBouquet(VUHDO_DEFAULT_ARCANE_CHARGES_BOUQUET);
end
VUHDO_DEFAULT_RUNES_BOUQUET = nil;
VUHDO_DEFAULT_ARCANE_CHARGES_BOUQUET = nil;
VUHDO_buildGenericHealthBarBouquet();
VUHDO_buildGenericTargetHealthBouquet();
......
......@@ -469,9 +469,13 @@ function VUHDO_OnEvent(_, anEvent, anArg1, anArg2, anArg3, anArg4, anArg5, anArg
elseif "HOLY_POWER" == anArg2 then
if "player" == anArg1 then VUHDO_updateBouquetsForEvent("player", 31); end -- VUHDO_UPDATE_OWN_HOLY_POWER
elseif "COMBO_POINTS" == anArg2 then
if "player" == anArg1 then VUHDO_updateBouquetsForEvent("player", 40); end -- VUHDO_UPDATE_OWN_COMBO_POINTS
if "player" == anArg1 then VUHDO_updateBouquetsForEvent("player", 40); end -- VUHDO_UPDATE_COMBO_POINTS
elseif "SOUL_SHARDS" == anArg2 then
if "player" == anArg1 then VUHDO_updateBouquetsForEvent("player", 41); end -- VUHDO_UPDATE_OWN_SOUL_SHARDS
if "player" == anArg1 then VUHDO_updateBouquetsForEvent("player", 41); end -- VUHDO_UPDATE_SOUL_SHARDS
elseif "RUNES" == anArg2 then
if "player" == anArg1 then VUHDO_updateBouquetsForEvent("player", 42); end -- VUHDO_UPDATE_RUNES
elseif "ARCANE_CHARGES" == anArg2 then
if "player" == anArg1 then VUHDO_updateBouquetsForEvent("player", 43); end -- VUHDO_UPDATE_ARCANE_CHARGES
elseif "ALTERNATE" == anArg2 then
VUHDO_updateBouquetsForEvent(anArg1, 30); -- VUHDO_UPDATE_ALT_POWER
else
......@@ -911,7 +915,9 @@ function VUHDO_updateGlobalToggles()
or VUHDO_isAnyoneInterstedIn(VUHDO_UPDATE_OWN_HOLY_POWER)
or VUHDO_isAnyoneInterstedIn(VUHDO_UPDATE_CHI)
or VUHDO_isAnyoneInterstedIn(VUHDO_UPDATE_COMBO_POINTS)
or VUHDO_isAnyoneInterstedIn(VUHDO_UPDATE_SOUL_SHARDS),
or VUHDO_isAnyoneInterstedIn(VUHDO_UPDATE_SOUL_SHARDS)
or VUHDO_isAnyoneInterstedIn(VUHDO_UPDATE_RUNES)
or VUHDO_isAnyoneInterstedIn(VUHDO_UPDATE_ARCANE_CHARGES),
"UNIT_DISPLAYPOWER", "UNIT_MAXPOWER", "UNIT_POWER_UPDATE", "UNIT_POWER_FREQUENT"
);
......
......@@ -465,4 +465,8 @@ VUHDO_I18N_DEF_PLAYER_COMBO_POINTS = "Player Combo Points";
VUHDO_I18N_BOUQUET_OWN_COMBO_POINTS_EQUALS = "Flag: Own Combo Points ==";
VUHDO_I18N_DEF_PLAYER_SOUL_SHARDS = "Player Soul Shards";
VUHDO_I18N_BOUQUET_OWN_SOUL_SHARDS_EQUALS = "Flag: Own Soul Shards ==";
VUHDO_I18N_DEF_PLAYER_RUNES = "Player Runes";
VUHDO_I18N_BOUQUET_OWN_RUNES_EQUALS = "Flag: Own Runes ==";
VUHDO_I18N_DEF_PLAYER_ARCANE_CHARGES = "Player Arcane Charges";
VUHDO_I18N_BOUQUET_OWN_ARCANE_CHARGES_EQUALS = "Flag: Own Arcane Charges ==";
......@@ -474,4 +474,8 @@ VUHDO_I18N_DEF_PLAYER_COMBO_POINTS = "Player Combo Points";
VUHDO_I18N_BOUQUET_OWN_COMBO_POINTS_EQUALS = "Flag: Own Combo Points ==";
VUHDO_I18N_DEF_PLAYER_SOUL_SHARDS = "Player Soul Shards";
VUHDO_I18N_BOUQUET_OWN_SOUL_SHARDS_EQUALS = "Flag: Own Soul Shards ==";
VUHDO_I18N_DEF_PLAYER_RUNES = "Player Runes";
VUHDO_I18N_BOUQUET_OWN_RUNES_EQUALS = "Flag: Own Runes ==";
VUHDO_I18N_DEF_PLAYER_ARCANE_CHARGES = "Player Arcane Charges";
VUHDO_I18N_BOUQUET_OWN_ARCANE_CHARGES_EQUALS = "Flag: Own Arcane Charges ==";
......@@ -475,4 +475,8 @@ VUHDO_I18N_DEF_PLAYER_COMBO_POINTS = "Player Combo Points";
VUHDO_I18N_BOUQUET_OWN_COMBO_POINTS_EQUALS = "Flag: Own Combo Points ==";
VUHDO_I18N_DEF_PLAYER_SOUL_SHARDS = "Player Soul Shards";
VUHDO_I18N_BOUQUET_OWN_SOUL_SHARDS_EQUALS = "Flag: Own Soul Shards ==";
VUHDO_I18N_DEF_PLAYER_RUNES = "Player Runes";
VUHDO_I18N_BOUQUET_OWN_RUNES_EQUALS = "Flag: Own Runes ==";
VUHDO_I18N_DEF_PLAYER_ARCANE_CHARGES = "Player Arcane Charges";
VUHDO_I18N_BOUQUET_OWN_ARCANE_CHARGES_EQUALS = "Flag: Own Arcane Charges ==";
......@@ -473,4 +473,8 @@ VUHDO_I18N_DEF_PLAYER_COMBO_POINTS = "Player Combo Points";
VUHDO_I18N_BOUQUET_OWN_COMBO_POINTS_EQUALS = "Flag: Own Combo Points ==";
VUHDO_I18N_DEF_PLAYER_SOUL_SHARDS = "Player Soul Shards";
VUHDO_I18N_BOUQUET_OWN_SOUL_SHARDS_EQUALS = "Flag: Own Soul Shards ==";
VUHDO_I18N_DEF_PLAYER_RUNES = "Player Runes";
VUHDO_I18N_BOUQUET_OWN_RUNES_EQUALS = "Flag: Own Runes ==";
VUHDO_I18N_DEF_PLAYER_ARCANE_CHARGES = "Player Arcane Charges";
VUHDO_I18N_BOUQUET_OWN_ARCANE_CHARGES_EQUALS = "Flag: Own Arcane Charges ==";
......@@ -539,4 +539,8 @@ VUHDO_I18N_DEF_PLAYER_COMBO_POINTS = "Player Combo Points";
VUHDO_I18N_BOUQUET_OWN_COMBO_POINTS_EQUALS = "Flag: Own Combo Points ==";
VUHDO_I18N_DEF_PLAYER_SOUL_SHARDS = "Player Soul Shards";
VUHDO_I18N_BOUQUET_OWN_SOUL_SHARDS_EQUALS = "Flag: Own Soul Shards ==";
VUHDO_I18N_DEF_PLAYER_RUNES = "Player Runes";
VUHDO_I18N_BOUQUET_OWN_RUNES_EQUALS = "Flag: Own Runes ==";
VUHDO_I18N_DEF_PLAYER_ARCANE_CHARGES = "Player Arcane Charges";
VUHDO_I18N_BOUQUET_OWN_ARCANE_CHARGES_EQUALS = "Flag: Own Arcane Charges ==";
......@@ -467,4 +467,8 @@ VUHDO_I18N_DEF_PLAYER_COMBO_POINTS = "Player Combo Points";
VUHDO_I18N_BOUQUET_OWN_COMBO_POINTS_EQUALS = "Flag: Own Combo Points ==";
VUHDO_I18N_DEF_PLAYER_SOUL_SHARDS = "Player Soul Shards";
VUHDO_I18N_BOUQUET_OWN_SOUL_SHARDS_EQUALS = "Flag: Own Soul Shards ==";
VUHDO_I18N_DEF_PLAYER_RUNES = "Player Runes";
VUHDO_I18N_BOUQUET_OWN_RUNES_EQUALS = "Flag: Own Runes ==";
VUHDO_I18N_DEF_PLAYER_ARCANE_CHARGES = "Player Arcane Charges";
VUHDO_I18N_BOUQUET_OWN_ARCANE_CHARGES_EQUALS = "Flag: Own Arcane Charges ==";
......@@ -467,4 +467,8 @@ VUHDO_I18N_DEF_PLAYER_COMBO_POINTS = "Player Combo Points";
VUHDO_I18N_BOUQUET_OWN_COMBO_POINTS_EQUALS = "Flag: Own Combo Points ==";
VUHDO_I18N_DEF_PLAYER_SOUL_SHARDS = "Player Soul Shards";
VUHDO_I18N_BOUQUET_OWN_SOUL_SHARDS_EQUALS = "Flag: Own Soul Shards ==";
VUHDO_I18N_DEF_PLAYER_RUNES = "Player Runes";
VUHDO_I18N_BOUQUET_OWN_RUNES_EQUALS = "Flag: Own Runes ==";
VUHDO_I18N_DEF_PLAYER_ARCANE_CHARGES = "Player Arcane Charges";
VUHDO_I18N_BOUQUET_OWN_ARCANE_CHARGES_EQUALS = "Flag: Own Arcane Charges ==";
......@@ -13,7 +13,7 @@ local VUHDO_CLASS_ID_POWER_TYPES = {
[VUHDO_ID_SHAMANS] = VUHDO_UNIT_POWER_MAELSTROM,
[VUHDO_ID_DRUIDS] = VUHDO_UNIT_POWER_LUNAR_POWER,
[VUHDO_ID_PRIESTS] = VUHDO_UNIT_POWER_INSANITY,
[VUHDO_ID_DEATH_KNIGHT] = VUHDO_UNIT_POWER_RUNES,
[VUHDO_ID_DEATH_KNIGHT] = VUHDO_UNIT_POWER_RUNIC_POWER,
[VUHDO_ID_MONKS] = VUHDO_UNIT_POWER_MANA,
[VUHDO_ID_DEMON_HUNTERS] = VUHDO_UNIT_POWER_FURY,
}
......
......@@ -422,7 +422,7 @@ function VUHDO_rebuildBouquetContextEditors(anIndex)
tSlider = _G[tSubPanel:GetName() .. "Slider"];
VUHDO_lnfSetModel(tSlider, tModel .. ".custom.##1");
tSpecialName = VUHDO_BOUQUETS["STORED"][tBouquetName][tIndex]["name"];
VUHDO_lnfSliderOnLoad(tSlider, VUHDO_BOUQUET_BUFFS_SPECIAL[tSpecialName]["displayName"], 0, 5, "");
VUHDO_lnfSliderOnLoad(tSlider, VUHDO_BOUQUET_BUFFS_SPECIAL[tSpecialName]["displayName"], 0, 6, "");
tSubPanel:Show();
elseif (VUHDO_BOUQUET_BUFFS_SPECIAL[tBuffName]["custom_type"] == VUHDO_BOUQUET_CUSTOM_TYPE_SECONDS) then
tSubPanel = _G[tInnerPanel:GetName() .. "PercentFrame"];
......
......@@ -56,6 +56,28 @@ end
--
local function VUHDO_runesCalculator(anInfo)
if anInfo["connected"] and not anInfo["dead"] then
return UnitPower(anInfo["unit"], VUHDO_UNIT_POWER_RUNES), UnitPowerMax(anInfo["unit"], VUHDO_UNIT_POWER_RUNES);
else
return 0, 0;
end
end
--
local function VUHDO_arcaneChargesCalculator(anInfo)
if anInfo["connected"] and not anInfo["dead"] then
return UnitPower(anInfo["unit"], VUHDO_UNIT_POWER_ARCANE_CHARGES), UnitPowerMax(anInfo["unit"], VUHDO_UNIT_POWER_ARCANE_CHARGES);
else
return 0, 0;
end
end
--
local tAmountInc;
local function VUHDO_overhealCalculator(anInfo)
......@@ -227,6 +249,18 @@ VUHDO_TEXT_PROVIDERS = {
["validator"] = VUHDO_absoluteValidator,
["interests"] = { VUHDO_UPDATE_SOUL_SHARDS, VUHDO_UPDATE_DC, VUHDO_UPDATE_ALIVE },
},
["RUNES_N"] = {
["displayName"] = "Runes: <#n>",
["calculator"] = VUHDO_runesCalculator,
["validator"] = VUHDO_absoluteValidator,
["interests"] = { VUHDO_UPDATE_RUNES, VUHDO_UPDATE_DC, VUHDO_UPDATE_ALIVE },
},
["ARCANE_CHARGES_N"] = {
["displayName"] = "Arcane Charges: <#n>",
["calculator"] = VUHDO_arcaneChargesCalculator,
["validator"] = VUHDO_absoluteValidator,
["interests"] = { VUHDO_UPDATE_ARCANE_CHARGES, VUHDO_UPDATE_DC, VUHDO_UPDATE_ALIVE },
},
["MANA_PERCENT"] = {
["displayName"] = "Mana: <#n>%",
["calculator"] = VUHDO_manaCalculator,
......
......@@ -22,6 +22,12 @@ Improvements:
-- Added new bouquet validator 'Flag: Own Soul Shards =='
-- Added new default bouquet 'Player Soul Shards'
-- Added new text provider 'Soul Shards: <#n>'
-- Added new bouquet validator 'Flag: Own Runes =='
-- Added new default bouquet 'Player Runes'
-- Added new text provider 'Runes: <#n>'
-- Added new bouquet validator 'Flag: Own Arcane Charges =='
-- Added new default bouquet 'Player Arcane Charges'
-- Added new text provider 'Arcane Charges: <#n>'
--------------------------------------------------------------
......
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