- function(_, timeShift, currentSpell, gcd)
- -- Ressource
- local arcaneCharge = UnitPower('player', SPELL_POWER_ARCANE_CHARGES);
- local mana = UnitMana("player");
- local maxMana = UnitManaMax("player");
- -- Offensive Abilities
- local _MarkOfAluneth = 224968;
- local _Arcane_Explosion = 1449;
- local _Arcane_Missiles = 5143;
- local _Arcane_Barrage = 44425;
- local _Arcane_Blast = 30451;
- -- Offensive Cooldowns
- local _Time_Warp = 80353 ;
- local _Arcance_Power = 12042;
- local _Presence_of_Mind = 205025;
- -- Defensive Cooldowns
- local _Ice_Block = 45438;
- local _Prismatic_Barrier = 234550;
- -- talent
- local _MirrorImage = 55342;
- local _RuneofPower = 116011;
- -- Utils
- local _Evocation = 12051;
- local hasAura, stackCount = MaxDps:PersistentAura(208081);
- local freeBlast = hasAura;
- local hasAura, stackCount = MaxDps:PersistentAura(79683);
- local maCharge = 0;
- if hasAura then
- maCharge = stackCount;
- end
- -- _Arcance_Power
- -- MaxDps:GlowCooldown(_Arcance_Power, MaxDps:SpellAvailable(_Arcance_Power, timeShift));
- -- _Presence_of_Mind
- -- MaxDps:GlowCooldown(_Presence_of_Mind, MaxDps:SpellAvailable(_Presence_of_Mind, timeShift));
- -- _Ice_Block
- MaxDps:GlowCooldown(_Ice_Block, MaxDps:SpellAvailable(_Ice_Block, timeShift));
- -- _Prismatic_Barrier
- MaxDps:GlowCooldown(_Prismatic_Barrier, MaxDps:SpellAvailable(_Prismatic_Barrier, timeShift));
- -- rune
- -- MaxDps:GlowCooldown(_RuneofPower, talents[_RuneofPower] and MaxDps:SpellAvailable(_RuneofPower, timeShift));
- -- image
- -- MaxDps:GlowCooldown(_MirrorImage, talents[_MirrorImage] and MaxDps:SpellAvailable(_MirrorImage, timeShift));
- -- legendary buff
- if freeBlast then
- return _Arcane_Blast;
- end
- -- burn
- if MaxDps:SpellAvailable(_Evocation, timeShift) then
- -- Arcane Missiles (at three stacks)
- if maCharge >= 3 then
- return _Arcane_Missiles;
- end
- -- Mark of Aluneth
- if MaxDps:SpellAvailable(_MarkOfAluneth, timeShift) then
- return _MarkOfAluneth;
- end
- if mana < 200000 then
- return _Evocation;
- end
- -- Build to four Arcane Charges ( Arcane Blast x 4, Charged Up, etc)
- if MaxDps:SpellAvailable(_Presence_of_Mind, timeShift) then
- if arcaneCharge <= 0 or not MaxDps:SpellAvailable(_Arcane_Barrage, timeShift) then
- return _Presence_of_Mind;
- else
- return _Arcane_Barrage;
- end
- end
- -- on est ici à arcaneCharge = 4
- if arcaneCharge > 3 then
- -- Rune of Power (talent)
- -- Mirror Image (talent)
- -- Arcane Power
- MaxDps:GlowCooldown(_Arcance_Power, MaxDps:SpellAvailable(_Arcance_Power, timeShift));
- -- Arcane Missiles (at four Arcane Charges)
- if maCharge > 0 then
- return _Arcane_Missiles;
- end
- end
- -- Nether Tempest (talent) (at four Arcane Charges)
- -- Arcane Blast
- return _Arcane_Blast;
- -- Supernova (talent)
- end
- --concerve
- -- Stay at a high enough mana level that you will be near to 100% when Evocation comes off of cooldown. In practice this will mean hovering between 100% and around 50%. At early gear levels you will probably need to Arcane Barrage before reaching four Arcane Charge stacks.
- -- Arcane Missiles (at four Arcane Charges or three Arcane Missiles stacks)
- if ( arcaneCharge > 3 and maCharge > 0 ) or ( maCharge >= 3 ) then
- return _Arcane_Missiles;
- end
- if maCharge > 0 and MaxDps:SpellAvailable(_Presence_of_Mind, timeShift) then
- if arcaneCharge <= 0 or not MaxDps:SpellAvailable(_Arcane_Barrage, timeShift) then
- return _Presence_of_Mind;
- else
- return _Arcane_Barrage;
- end
- end
- -- Arcane Barrage (if no Arcane Missiles stacks)
- if MaxDps:SpellAvailable(_Arcane_Barrage, timeShift) and maCharge < 2 and arcaneCharge >= 3 then
- return _Arcane_Barrage;
- end
- -- Supernova (talent)
- -- _MarkOfAluneth
- if MaxDps:SpellAvailable(_MarkOfAluneth, timeShift) and (maxMana*0.65) < mana then
- return _MarkOfAluneth;
- end
- -- Nether Tempest (talent) (at four Arcane Charges)
- -- Arcane Blast
- if MaxDps:SpellAvailable( _Arcane_Blast,timeShift) then
- return _Arcane_Blast;
- end
- return 133;
- end
Mage arcane 7.3
3 posts
Page 1 of 1
Thx for this addons, i have intialize this for me on arcane :
3 posts
Page 1 of 1