Skip to content

Commit

Permalink
PLD - Use max haste when sentinel is active
Browse files Browse the repository at this point in the history
  • Loading branch information
yzyii authored Mar 21, 2024
1 parent 8259ef9 commit 498feea
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions Rag_5040/PLD.lua
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,12 @@ local sets = {
SIRD = { -- 102% to Cap
},
Haste = {},
Haste_Ichi = {},
Haste_Ichi = { -- Optional, provided here only if you wish to mix in SIRD or other stats over max haste
},

Hate = {},
Hate_Flash = {},
Hate_Flash = { -- Optional, provided here only if you wish to mix in haste or other stats over max +enmity
},
Cheat_C3HPDown = {},
Cheat_C4HPDown = {},
Cheat_HPUp = {},
Expand Down Expand Up @@ -164,9 +166,14 @@ profile.HandleMidcast = function()
local me = AshitaCore:GetMemoryManager():GetParty():GetMemberName(0)

if (action.Skill ~= 'Ninjutsu') then
gFunc.EquipSet(sets.Hate)
if (action.Name == 'Flash') then
gFunc.EquipSet(sets.Hate_Flash)
local sentinel = gData.GetBuffCount('Sentinel')
if (sentinel >= 1) then
gFunc.EquipSet(sets.Haste)
else
gFunc.EquipSet(sets.Hate)
if (action.Name == 'Flash') then
gFunc.EquipSet(sets.Hate_Flash)
end
end
else
if (action.Name == 'Utusemi: Ichi') then
Expand Down

0 comments on commit 498feea

Please sign in to comment.