mirror of
https://github.com/Bluewhale1337/HealBotBlue.git
synced 2026-07-27 09:44:44 +00:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 178d1184a3 | |||
| f1b7e3950f | |||
| faf040997e |
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
## Interface: 11200
|
## Interface: 11200
|
||||||
## Title: HealBotBlue
|
## Title: HealBotBlue
|
||||||
## Version: 1.6.0
|
## Version: 1.6.2
|
||||||
## Author: Bluewhale
|
## Author: Bluewhale
|
||||||
## Notes: Adds panel with skinable bars for healing and decursive
|
## Notes: Adds panel with skinable bars for healing and decursive
|
||||||
## SavedVariablesPerCharacter: HealBot_Config
|
## SavedVariablesPerCharacter: HealBot_Config
|
||||||
|
|||||||
@@ -608,47 +608,47 @@ function HealBot_InitGetSpellData(spell, id, class)
|
|||||||
|
|
||||||
HealBot_ScanTooltip:SetOwner(HealBot_ScanTooltip, "ANCHOR_NONE")
|
HealBot_ScanTooltip:SetOwner(HealBot_ScanTooltip, "ANCHOR_NONE")
|
||||||
HealBot_ScanTooltip:SetSpell(id, BOOKTYPE_SPELL);
|
HealBot_ScanTooltip:SetSpell(id, BOOKTYPE_SPELL);
|
||||||
tmpText = getglobal("HealBot_ScanTooltipTextLeft2");
|
_mana = 0;
|
||||||
if (tmpText:GetText()) then
|
_range = 40;
|
||||||
line = tmpText:GetText();
|
_cast = 0;
|
||||||
tmpTest, tmpTest, _mana = string.find(line, HEALBOT_TOOLTIP_MANA);
|
line = nil;
|
||||||
else
|
|
||||||
HealBot_Report_Error("================================");
|
for lineNum = 2, 6 do
|
||||||
HealBot_Report_Error("ERROR: HealBot_ScanTooltip is lost");
|
local lText = getglobal("HealBot_ScanTooltipTextLeft"..lineNum);
|
||||||
HealBot_Report_Error("ERROR: If BonusScanner is used, try disabling BonusScanner");
|
if lText and lText:IsVisible() and lText:GetText() then
|
||||||
|
local txt = lText:GetText();
|
||||||
|
local t1, t2, match;
|
||||||
|
t1, t2, match = string.find(txt, HEALBOT_TOOLTIP_MANA);
|
||||||
|
if match then _mana = match; end
|
||||||
|
|
||||||
|
if txt == HEALBOT_TOOLTIP_INSTANT_CAST or txt == "Instant" then
|
||||||
|
_cast = 0;
|
||||||
|
elseif txt == HEALBOT_TOOLTIP_CHANNELED then
|
||||||
|
_cast = 0;
|
||||||
|
else
|
||||||
|
t1, t2, match = string.find(txt, HEALBOT_TOOLTIP_CAST_TIME);
|
||||||
|
if match then _cast = match; end
|
||||||
|
end
|
||||||
|
|
||||||
|
t1, t2, match = string.find(txt, HEALBOT_TOOLTIP_RANGE);
|
||||||
|
if match then _range = match; end
|
||||||
|
|
||||||
|
if not string.find(txt, HEALBOT_TOOLTIP_MANA) and txt ~= HEALBOT_TOOLTIP_INSTANT_CAST and txt ~= "Instant" and txt ~= HEALBOT_TOOLTIP_CHANNELED and not string.find(txt, HEALBOT_TOOLTIP_CAST_TIME) and not string.find(txt, HEALBOT_TOOLTIP_RANGE) then
|
||||||
|
if not line then line = txt; end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
local rText = getglobal("HealBot_ScanTooltipTextRight"..lineNum);
|
||||||
|
if rText and rText:IsVisible() and rText:GetText() then
|
||||||
|
local txt = rText:GetText();
|
||||||
|
local t1, t2, match;
|
||||||
|
t1, t2, match = string.find(txt, HEALBOT_TOOLTIP_RANGE);
|
||||||
|
if match then _range = match; end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
tmpText = getglobal("HealBot_ScanTooltipTextRight2");
|
|
||||||
if (tmpText:GetText()) then
|
|
||||||
line = tmpText:GetText();
|
|
||||||
tmpTest, tmpTest, _range = string.find(line, HEALBOT_TOOLTIP_RANGE);
|
|
||||||
else
|
|
||||||
HealBot_Report_Error("================================");
|
|
||||||
HealBot_Report_Error("ERROR: HealBot_ScanTooltip is lost");
|
|
||||||
HealBot_Report_Error("ERROR: If BonusScanner is used, try disabling BonusScanner");
|
|
||||||
end
|
|
||||||
|
|
||||||
tmpText = getglobal("HealBot_ScanTooltipTextLeft3");
|
|
||||||
_cast = nil;
|
|
||||||
if (tmpText:GetText()) then
|
|
||||||
line = tmpText:GetText();
|
|
||||||
if (line == HEALBOT_TOOLTIP_INSTANT_CAST) then
|
|
||||||
_cast = 0;
|
|
||||||
elseif line == HEALBOT_TOOLTIP_CHANNELED then
|
|
||||||
_cast = 0;
|
|
||||||
elseif (tmpText) then
|
|
||||||
tmpTest, tmpTest, _cast = string.find(line, HEALBOT_TOOLTIP_CAST_TIME);
|
|
||||||
end
|
|
||||||
else
|
|
||||||
HealBot_Report_Error("================================");
|
|
||||||
HealBot_Report_Error("ERROR: HealBot_ScanTooltip is lost");
|
|
||||||
HealBot_Report_Error("ERROR: If BonusScanner is used, try disabling BonusScanner");
|
|
||||||
end
|
|
||||||
|
|
||||||
tmpText = getglobal("HealBot_ScanTooltipTextLeft4");
|
|
||||||
tmpTest = nil;
|
tmpTest = nil;
|
||||||
if (tmpText:GetText()) then
|
if line then
|
||||||
line = tmpText:GetText();
|
|
||||||
if class == "PRIEST" then
|
if class == "PRIEST" then
|
||||||
if string.sub(spell, 1, 14) == string.sub(HEALBOT_POWER_WORD_SHIELD, 1, 14) then
|
if string.sub(spell, 1, 14) == string.sub(HEALBOT_POWER_WORD_SHIELD, 1, 14) then
|
||||||
tmpTest, tmpTest, _HealsMin, _shield = string.find(line, HEALBOT_SPELL_PATTERN_SHIELD);
|
tmpTest, tmpTest, _HealsMin, _shield = string.find(line, HEALBOT_SPELL_PATTERN_SHIELD);
|
||||||
|
|||||||
@@ -635,6 +635,9 @@ function HealBot_Action_PartyChanged()
|
|||||||
else
|
else
|
||||||
for _, unit in ipairs(HealBot_Action_HealGroup) do
|
for _, unit in ipairs(HealBot_Action_HealGroup) do
|
||||||
if not HealBot_Action_UnitButtons[unit] and HealBot_MayHeal(unit) then
|
if not HealBot_Action_UnitButtons[unit] and HealBot_MayHeal(unit) then
|
||||||
|
local name = UnitName(unit) or "not known"
|
||||||
|
local class = UnitClass(unit) or "not known"
|
||||||
|
local subgroup = 1
|
||||||
if HealBot_Config.ExtraOrder == 1 then
|
if HealBot_Config.ExtraOrder == 1 then
|
||||||
order[unit] = name;
|
order[unit] = name;
|
||||||
elseif HealBot_Config.ExtraOrder == 2 then
|
elseif HealBot_Config.ExtraOrder == 2 then
|
||||||
@@ -733,6 +736,9 @@ function HealBot_Action_PartyChanged()
|
|||||||
else
|
else
|
||||||
for _, unit in ipairs(HealBot_Action_HealGroup) do
|
for _, unit in ipairs(HealBot_Action_HealGroup) do
|
||||||
if not HealBot_Action_UnitButtons[unit] and HealBot_MayHeal(unit) then
|
if not HealBot_Action_UnitButtons[unit] and HealBot_MayHeal(unit) then
|
||||||
|
local name = UnitName(unit) or "not known"
|
||||||
|
local class = UnitClass(unit) or "not known"
|
||||||
|
local subgroup = 1
|
||||||
if HealBot_Config.ExtraOrder == 1 then
|
if HealBot_Config.ExtraOrder == 1 then
|
||||||
order[unit] = name;
|
order[unit] = name;
|
||||||
elseif HealBot_Config.ExtraOrder == 2 then
|
elseif HealBot_Config.ExtraOrder == 2 then
|
||||||
|
|||||||
+40
@@ -0,0 +1,40 @@
|
|||||||
|
Druid:
|
||||||
|
Name - Rank - Effect
|
||||||
|
Genesis - 1 - increase damage and healing of periodic spells by 5%
|
||||||
|
Genesis - 2 - increase damage and healing of periodic spells by 10%
|
||||||
|
Genesis - 3 -increase damage and healing of periodic spells by 15%
|
||||||
|
|
||||||
|
Gift of Nature - 1- Increases effectivenes of all healing spells by 2%
|
||||||
|
Gift of Nature - 2- Increases effectivenes of all healing spells by 4%
|
||||||
|
Gift of Nature - 3- Increases effectivenes of all healing spells by 6%
|
||||||
|
Gift of Nature - 4- Increases effectivenes of all healing spells by 8%
|
||||||
|
Gift of Nature - 5- Increases effectivenes of all healing spells by 10%
|
||||||
|
|
||||||
|
Preservation - 1 - Increases the periodic healing of Regrowth by 10% if target is affected by Rejuvenation
|
||||||
|
Preservation - 2 - Increases the periodic healing of Regrowth by 20% if target is affected by Rejuvenation
|
||||||
|
Preservation - 3 - Increases the periodic healing of Regrowth by 30% if target is affected by Rejuvenation
|
||||||
|
|
||||||
|
Paladin:
|
||||||
|
|
||||||
|
Healing Light - 1 - Increases the amount of healed by Holy Light, Flash of Light and Holy Shock by 4%
|
||||||
|
Healing Light - 2 - Increases the amount of healed by Holy Light, Flash of Light and Holy Shock by 8%
|
||||||
|
Healing Light - 3 - Increases the amount of healed by Holy Light, Flash of Light and Holy Shock by 12%
|
||||||
|
|
||||||
|
Ironclad - 1 - Improves healing done by 1% of current armour from items
|
||||||
|
Ironclad - 2 - Improves healing done by 2% of current armour from items
|
||||||
|
|
||||||
|
Priest:
|
||||||
|
|
||||||
|
Improved Renew - 1 - Improves amount healed by renew by 5%
|
||||||
|
Improved Renew - 2 - Improves amount healed by renew by 10%
|
||||||
|
Improved Renew - 3 - Improves amount healed by renew by 15%
|
||||||
|
|
||||||
|
Spiritual Healing - 1 - Improves amount healed by all healing spells by 6%
|
||||||
|
Spiritual Healing - 2 - Improves amount healed by all healing spells by 12%
|
||||||
|
Spiritual Healing - 3 - Improves amount healed by all healing spells by 18%
|
||||||
|
Spiritual Healing - 4 - Improves amount healed by all healing spells by 24%
|
||||||
|
Spiritual Healing - 5 - Improves amount healed by all healing spells by 30%
|
||||||
|
|
||||||
|
Shaman:
|
||||||
|
|
||||||
|
none
|
||||||
Reference in New Issue
Block a user