Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions addons/GearSwap/helper_functions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -701,9 +701,9 @@ end
---- false if the spell is not currently accessible
-----------------------------------------------------------------------------------
function check_spell(available_spells,spell)
-- Filter for spells that you do not know. Exclude Impact.
-- Filter for spells that you do not know. Exclude Impact / Dispelga.
local spell_jobs = copy_entry(res.spells[spell.id].levels)
if not available_spells[spell.id] and not (spell.id == 503 or spell.id == 417) then
if not available_spells[spell.id] and not (spell.id == 503 or spell.id == 417 or spell.id == 360) then
return false,"Unable to execute command. You do not know that spell ("..(res.spells[spell.id][language] or spell.id)..")"
-- Filter for spells that you know, but do not currently have access to
elseif (not spell_jobs[player.main_job_id] or not (spell_jobs[player.main_job_id] <= player.main_job_level or
Expand Down