Skip to content

Commit

Permalink
Add preshot set for RNG
Browse files Browse the repository at this point in the history
(cherry picked from commit 54eda94)
  • Loading branch information
genshinteambuilds committed Apr 25, 2024
1 parent ecb778f commit 3df9fd5
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 8 deletions.
4 changes: 4 additions & 0 deletions DO_NOT_DELETE.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,7 @@
- MNK - Added Hundred Fists set
- Fix /dps toggling
- Add /mode for dps jobs

### v1.2.7

- RNG - Add preshot set for RNG
6 changes: 3 additions & 3 deletions Rag_5040/MNK.lua
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ local sets = {
Ear2 = 'Sanative Earring',
Body = 'Melee Cyclas',
Hands = 'Dst. Mittens +1',
-- Back = 'Melee Cape'
Back = 'Melee Cape',
Feet = 'Dst. Leggings +1',
},
Town = {},
Expand Down Expand Up @@ -200,7 +200,7 @@ local sets = {
Ring1 = 'Topaz Ring',
-- Ring1 = 'Soil Ring',
Ring2 = 'Sattva Ring',
-- Back = 'Melee Cape',
Back = 'Melee Cape',
Waist = 'Warwolf Belt',
Legs = 'Mst. Sitabaki +1',
Feet = 'Power sandals',
Expand All @@ -214,7 +214,7 @@ local sets = {
Hands = 'Dvt. Mitts +1',
Ring1 = 'Aqua Ring',
Ring2 = 'Aqua Ring',
-- Back = 'Melee Cape'
Back = 'Melee Cape',
Legs = 'Tpl. Hose +1',
Waist = 'Reverend Sash',
Feet = 'Suzaku\'s Sune-Ate',
Expand Down
10 changes: 5 additions & 5 deletions Rag_5040/PLD.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ local hercules_ring_slot = 'Ring1'
-- Replace these with '' if you do not have them
local gallant_leggings = 'Glt. Leggings +1'
local valor_gauntlets = 'Vlr. Gauntlets +1'
local valor_leggings = 'Valor Leggings'
local valor_leggings = 'Vlr. Leggings +1'

local sets = {
Idle = {
Expand Down Expand Up @@ -64,7 +64,7 @@ local sets = {
Body = 'Ducal Aketon',
Hands = 'Vlr. Gauntlets +1',
Legs = 'Valor Breeches',
Feet = 'Valor Leggings',
Feet = 'Vlr. Leggings +1',
},
Movement = {
Legs = 'Blood Cuisses',
Expand Down Expand Up @@ -279,7 +279,7 @@ local sets = {
Back = 'Valor Cape',
Waist = 'Warwolf Belt',
Legs = 'Valor Breeches',
Feet = 'Valor Leggings',
Feet = 'Vlr. Leggings +1',
},
Hate_Flash = { -- Optional, provided here only if you wish to mix in haste or other stats over max +enmity
Main = 'Durandal',
Expand Down Expand Up @@ -354,7 +354,7 @@ local sets = {
Back = 'Valor Cape',
Waist = 'Warwolf Belt',
Legs = 'Valor Breeches',
Feet = 'Valor Leggings',
Feet = 'Vlr. Leggings +1',
},

LockSet1 = {
Expand All @@ -364,7 +364,7 @@ local sets = {
Body = 'Ducal Aketon',
Hands = 'Vlr. Gauntlets +1',
Legs = 'Valor Breeches',
Feet = 'Valor Leggings',
Feet = 'Vlr. Leggings +1',
},
LockSet2 = {},
LockSet3 = {},
Expand Down
4 changes: 4 additions & 0 deletions Rag_5040/RNG.lua
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ local sets = {
LockSet2 = {},
LockSet3 = {},

Preshot = {},

TP_LowAcc = {},
TP_HighAcc = {},

Expand Down Expand Up @@ -97,6 +99,8 @@ profile.HandleItem = function()
end

profile.HandlePreshot = function()
gFunc.EquipSet(sets.Preshot)

local equipment = gData.GetEquipment()
local unlimitedShot = gData.GetBuffCount('Unlimited Shot')
if (unlimitedShot == 0 and equipment.Ammo ~= nil and equipment.Ammo.Name == special_ammo) then
Expand Down

0 comments on commit 3df9fd5

Please sign in to comment.