Skip to content

Commit

Permalink
Update Aff
Browse files Browse the repository at this point in the history
  • Loading branch information
doadin committed Dec 25, 2024
1 parent 4a1cd1c commit eacb90c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Specialization/Affliction.lua
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ function Affliction:aoe()
if (MaxDps:CheckSpellUsable(classtable.UnstableAffliction, 'UnstableAffliction')) and (( debuff[classtable.UnstableAfflictionDeBuff].count == 0 or debuff[classtable.UnstableAfflictionDeBuff].up ) and debuff[classtable.UnstableAfflictionDeBuff].remains <5) and cooldown[classtable.UnstableAffliction].ready then
if not setSpell then setSpell = classtable.UnstableAffliction end
end
if (MaxDps:CheckSpellUsable(classtable.Agony, 'Agony')) and (debuff[classtable.AgonyDeBuff].count <8 and ( debuff[classtable.AgonyDeBuff].remains <cooldown[classtable.VileTaint].remains + ( classtable and classtable.VileTaint and GetSpellInfo(classtable.VileTaint).castTime / 1000 ) or not talents[classtable.VileTaint] ) and gcd + ( classtable and classtable.SoulRot and GetSpellInfo(classtable.SoulRot).castTime / 1000 ) + gcd <( ( min_vt * (talents[classtable.VileTaint] and talents[classtable.VileTaint] or 0) ) <( min_ps * (talents[classtable.PhantomSingularity] and talents[classtable.PhantomSingularity] or 0) ) ) and debuff[classtable.AgonyDeBuff].remains <10) and cooldown[classtable.Agony].ready then
if (MaxDps:CheckSpellUsable(classtable.Agony, 'Agony')) and (debuff[classtable.AgonyDeBuff].count <8 and ( debuff[classtable.AgonyDeBuff].remains <cooldown[classtable.VileTaint].remains + ( classtable and classtable.VileTaint and GetSpellInfo(classtable.VileTaint).castTime / 1000 or 0) or not talents[classtable.VileTaint] ) and gcd + ( classtable and classtable.SoulRot and GetSpellInfo(classtable.SoulRot).castTime / 1000 or 0) + gcd <( ( min_vt * (talents[classtable.VileTaint] and talents[classtable.VileTaint] or 0) ) <( min_ps * (talents[classtable.PhantomSingularity] and talents[classtable.PhantomSingularity] or 0) ) and 1 or 0) and debuff[classtable.AgonyDeBuff].remains <10) and cooldown[classtable.Agony].ready then
if not setSpell then setSpell = classtable.Agony end
end
if (MaxDps:CheckSpellUsable(classtable.SoulRot, 'SoulRot')) and (vt_up and ( ps_up or vt_up ) and debuff[classtable.AgonyDeBuff].remains) and cooldown[classtable.SoulRot].ready then
Expand Down

0 comments on commit eacb90c

Please sign in to comment.