@ Vachiusa
FIXED
Improvements:
- ES - Did u looked at old Sheuron code for it? It is casted on tank which has currently aggro. If more then 1 target with aggro ES will stay on first player who has aggro. So if 2 tanks fight it will stay on tank who first got aggro and if 1 tank fight someone will overaggro it will jump to that player then go back to tank if player lose aggro. There can be added modifier to chose tank like for Lifebloom in Buba resto druid. But "role check" is needed. PM me if u need whole profile. It is outdated but still working and doing good job in 10HC, maybe something usefull u can use.
Code:
local EarthShield
for i=1, #members do
if UnitBuffID(members[i].Unit,974,"PLAYER") then EarthShield = members[i].Unit end
end
if not EarthShield
or ( EarthShield and UnitThreatSituation(EarthShield) ~= 3 )
then
for i=1,#members do
if UnitGroupRolesAssigned(members[i].Unit) == "TANK"
and UnitThreatSituation(members[i].Unit) == 3
and not UnitBuffID(members[i].Unit,974)
then PQR_CustomTarget = members[i].Unit return true end
end
end
- Tsulong - check "deadpanstiffy" code for that fight to heal boss under buff
([PQR] Monk Mistweaver)
[PQR] Monk Mistweaver
Code:
--Boss healing Functions
--Bathed in Light (enUS only)
if UnitDebuff("player","Bathed in Light") then
tinsert(roster,{unit="boss1",
hd=500000,
hp=5,
role="BOSS"})
end
^ It is from his code, even he wrote "enUS only" for me EU it is working. After getting buff it all time of buff casting soothing mist and spamming surging mist on tsulong.
Another way what was thinking to how check if we are buffed is to check boss cast. If he is casting at end of that cast start timer which will be as long as long is buff. While it is > 0 then spamm heal on boss, if == 0 start normal rotation.
Bugs?:
- it trying to cast HW and stops, HW,stops,HW,stops u know what i mean?
Ok so found why it doing that ( i think so ;p). So in HW:
Code:
if members[1].HP > Nova_HealingWave --80 from settings in party
and members[1].HP < Nova_LightningBolt --95 from settings in party
So HW will be cast when 80<hp<95 right?
And in stop casting for HW:
Code:
elseif UnitCastingInfo("player") == GetSpellInfo(331) --HealingWave
and members[1].HP > 92 then
SpellStopCasting()
So it will stop casting HW if player above 92.
If i good understand all this codeing shit, shouldnt be?:
stop casting == Nova_LightningBolt
so:
Code:
elseif UnitCastingInfo("player") == GetSpellInfo(331) --HealingWave
and members[1].HP >= Nova_LightningBolt then
SpellStopCasting()
And next one thing,
What will happen if i set "cast GHW if HP < 85" ? Nothing. U know what i mean?

maybe not nothing but it will start cast and then stopcast over and over.
Imo (theory, didnt check it) all stop castings should have thier names from "... settings". Like above example.
Yeah found that

Pause is builtin function in Nova_data "nova_mod" it took me over 1hr to get working pause under another modifier

but iam happy i did this myself;p
Sorry for my long sentences and maybe sometimes iam writing about same things in one sentence but iam not good in english.