profile.HandleDefault = function()
gcmelee.DoDefault()
local environment = gData.GetEnvironment()
local player = gData.GetPlayer()
local focus = gData.GetBuffCount('Focus')
if (focus == 1 and gcdisplay.IdleSet == 'LowAcc') then
gFunc.EquipSet(sets.TP_Focus)
end
if (gcdisplay.IdleSet == 'normal') or (gcdisplay.IdleSet == 'Alternate') then
if (player.Status == 'Idle') and (environment.WeatherElement == 'Water') then
if (rain_hat) then
gFunc.Equip('head', Rain_Hat)
end
end
end
if (gcdisplay.IdleSet == 'normal') or (gcdisplay.IdleSet == 'Alternate') then
if (player.Status == 'Idle') and (environment.DayElement == 'Dark') or (environment.DayElement == 'Water') then
if (Mushroom_helm) then
gFunc.Equip('head', Mushroom_Helm)
end
end
end
if (gcdisplay.IdleSet == 'normal') or (gcdisplay.IdleSet == 'Alternate') then
if (Garden_Bangles) and (environment.Time >= 6 and environment.Time < 18) then
gFunc.Equip('hands', Garden_Bangles)
end
end
if (gcdisplay.IdleSet == 'DT') then
if (player.HPP <= 75 and player.TP <= 1000) then
if (kampfer_ring) then
gFunc.Equip(kampfer_ring_slot, 'Kampfer Ring')
end
end
if (player.HPP <= 50) then
if (muscle_belt ~= '') then
gFunc.Equip('Waist', muscle_belt)
end
end
if (player.HPP <= 25 and player.TP <= 1000) then
if (kampfer_earring) then
gFunc.Equip(kampfer_earring_slot, 'Kampfer Earring')
end
end
end
if (player.SubJob == 'DRG') then
gFunc.EquipSet(sets.SJ_DRG)
elseif (player.SubJob == 'THF') then
gFunc.EquipSet(sets.SJ_THF)
end
gcmelee.DoDefaultOverride()
gFunc.EquipSet(gcinclude.BuildLockableSet(gData.GetEquipment()))
end