mirror of
https://github.com/Bluewhale1337/HealBotBlue.git
synced 2026-10-27 06:00:54 +00:00
Merge branch 'dev' of https://github.com/Bluewhale1337/HealBotBlue into dev
This commit is contained in:
@@ -510,7 +510,7 @@ function HealBot_FindHealSpells()
|
|||||||
temp_Spell_cast = HealBot_Spells[spell].CastTime;
|
temp_Spell_cast = HealBot_Spells[spell].CastTime;
|
||||||
end
|
end
|
||||||
RealHealing = ((HealBot_GetBonus() * healingbonus_penalty) * (temp_Spell_cast / 3.5));
|
RealHealing = ((HealBot_GetBonus() * healingbonus_penalty) * (temp_Spell_cast / 3.5));
|
||||||
local playerClass, englishClass = UnitClass("player");
|
local englishClass = HealBot_UnitClass("player");
|
||||||
local SpiBonus = 0;
|
local SpiBonus = 0;
|
||||||
if (englishClass == "PRIEST") then
|
if (englishClass == "PRIEST") then
|
||||||
SpiBonus = ((HealBot_SpiBonus(spell) * healingbonus_penalty) * (temp_Spell_cast / 3.5))
|
SpiBonus = ((HealBot_SpiBonus(spell) * healingbonus_penalty) * (temp_Spell_cast / 3.5))
|
||||||
|
|||||||
+1
-1
@@ -149,7 +149,7 @@ function HealBot_Model:UpdateUnitIdentity(unit)
|
|||||||
local oldName = self.units[unit].name
|
local oldName = self.units[unit].name
|
||||||
local oldEnglishClass = self.units[unit].englishClass
|
local oldEnglishClass = self.units[unit].englishClass
|
||||||
local name = UnitName(unit)
|
local name = UnitName(unit)
|
||||||
local _, englishClass = UnitClass(unit)
|
local englishClass = HealBot_UnitClass(unit)
|
||||||
|
|
||||||
if oldName ~= name or oldEnglishClass ~= englishClass then
|
if oldName ~= name or oldEnglishClass ~= englishClass then
|
||||||
self.units[unit].name = name
|
self.units[unit].name = name
|
||||||
|
|||||||
Reference in New Issue
Block a user