- Framework update for mage polymorph fixes.
- Fixes for battle of dazar'alor raid.
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
||||
|
||||
local dversion = 131
|
||||
local dversion = 132
|
||||
local major, minor = "DetailsFramework-1.0", dversion
|
||||
local DF, oldminor = LibStub:NewLibrary (major, minor)
|
||||
|
||||
|
||||
@@ -605,6 +605,15 @@ DF.CrowdControlSpells = {
|
||||
|
||||
[118] = "MAGE", --Polymorph
|
||||
[61305] = "MAGE", --Polymorph (black cat)
|
||||
[28271] = "MAGE", --Polymorph Turtle
|
||||
[161354] = "MAGE", --Polymorph Monkey
|
||||
[161353] = "MAGE", --Polymorph Polar Bear Cub
|
||||
[126819] = "MAGE", --Polymorph Porcupine
|
||||
[277787] = "MAGE", --Polymorph Direhorn
|
||||
[61721] = "MAGE", --Polymorph Rabbit
|
||||
[28272] = "MAGE", --Polymorph Pig
|
||||
[277792] = "MAGE", --Polymorph Bumblebee
|
||||
|
||||
[82691] = "MAGE", --Ring of Frost (debuff spellid)
|
||||
[122] = "MAGE", --Frost Nova
|
||||
[157997] = "MAGE", --Ice Nova
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
_ = nil
|
||||
_detalhes = LibStub("AceAddon-3.0"):NewAddon("_detalhes", "AceTimer-3.0", "AceComm-3.0", "AceSerializer-3.0", "NickTag-1.0")
|
||||
|
||||
_detalhes.build_counter = 6861
|
||||
_detalhes.alpha_build_counter = 6861 --if this is higher than the regular counter, use it instead
|
||||
_detalhes.build_counter = 6866
|
||||
_detalhes.alpha_build_counter = 6866 --if this is higher than the regular counter, use it instead
|
||||
_detalhes.userversion = "v8.1.0." .. _detalhes.build_counter
|
||||
_detalhes.realversion = 135 --core version, this is used to check API version for scripts and plugins (see alias below)
|
||||
_detalhes.APIVersion = _detalhes.realversion --core version
|
||||
@@ -85,6 +85,7 @@ do
|
||||
269131, --BFA Shrine of the Storm Ancient Mindbender
|
||||
260900, --BFA Waycrest Manor Heartsbane Triad Soul Manipulation
|
||||
260926, --BFA Waycrest Manor Heartsbane Triad Soul Manipulation
|
||||
284995, --BFA Battle of Dazar'alor King Rastakhan Zombie Dust
|
||||
}
|
||||
|
||||
--must fail in map and encounter id to not store data
|
||||
|
||||
+24
-1
@@ -202,6 +202,8 @@
|
||||
local SPELLID_PALADIN_LIGHTMARTYR = 196917
|
||||
--> blood shield g'huun
|
||||
local SPELLNAME_BLOODSHIELD = GetSpellInfo (263217)
|
||||
--> unliving Bwonsamdi
|
||||
local SPELLNAME_UNLIVING = GetSpellInfo (284377)
|
||||
|
||||
--> spells with special treatment
|
||||
local special_damage_spells = {
|
||||
@@ -422,7 +424,21 @@
|
||||
--end
|
||||
|
||||
--rules of specific encounters
|
||||
if (_current_encounter_id == 2122 or _current_encounter_id == 2135) then --g'huun and mythrax --REMOVE ON 9.0 LAUNCH
|
||||
if (_current_encounter_id == 2272) then --king rastakhan --REMOVE ON 9.0 LAUNCH
|
||||
if (alvo_serial) then
|
||||
local npcid = _select (6, _strsplit ("-", alvo_serial))
|
||||
if (npcid == "145644") then --Bwonsamdi
|
||||
--Bwonsamdi has two buffs: unliving and aura of death, checking the two first buff indexes
|
||||
local hasUnlivingBuff1 = _UnitBuff ("boss2", 1)
|
||||
local hasUnlivingBuff2 = _UnitBuff ("boss2", 2)
|
||||
if (hasUnlivingBuff1 == SPELLNAME_UNLIVING or hasUnlivingBuff2 == SPELLNAME_UNLIVING) then
|
||||
--> ignore the damage while Bwonsamdi is immune
|
||||
return
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
elseif (_current_encounter_id == 2122 or _current_encounter_id == 2135) then --g'huun and mythrax --REMOVE ON 9.0 LAUNCH
|
||||
--if (alvo_serial:match ("^Creature%-0%-%d+%-%d+%-%d+%-103679%-%w+$")) then --soul effigy (warlock) --50% more slow than the method below
|
||||
|
||||
--check if the target is the amorphous cyst
|
||||
@@ -1351,6 +1367,13 @@
|
||||
return
|
||||
end
|
||||
|
||||
if (alvo_serial and type (alvo_serial) == "string") then
|
||||
--Ice Block from Jaina encounter REMOVE WHEN BFA IS DONE
|
||||
if (alvo_serial:match ("^Creature%-0%-%d+%-%d+%-%d+%-148522%-%w+$")) then
|
||||
return
|
||||
end
|
||||
end
|
||||
|
||||
if (not who_name) then
|
||||
who_name = "[*] " .. spellName
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user