From b0c92c29de7e1ce7e6cecc40977a9ac2b5037ac4 Mon Sep 17 00:00:00 2001 From: Frankie-hz <105882754+Frankie-hz@users.noreply.github.com> Date: Fri, 15 May 2026 23:28:20 -0400 Subject: [PATCH] [lua] Fixes nil errors in Disaster Idol spell choose --- .../mobs/Disaster_Idol.lua | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/scripts/zones/Lower_Delkfutts_Tower/mobs/Disaster_Idol.lua b/scripts/zones/Lower_Delkfutts_Tower/mobs/Disaster_Idol.lua index 496fd0b134c..c104d144607 100644 --- a/scripts/zones/Lower_Delkfutts_Tower/mobs/Disaster_Idol.lua +++ b/scripts/zones/Lower_Delkfutts_Tower/mobs/Disaster_Idol.lua @@ -164,7 +164,7 @@ entity.onMobSpellChoose = function(mob, target, spellId) [ 6] = { xi.magic.spell.DIA_II, target, false, xi.action.type.ENFEEBLING_TARGET, xi.effect.DIA, 3, 100, 1, 99 }, [ 7] = { xi.magic.spell.DIAGA_II, target, false, xi.action.type.ENFEEBLING_TARGET, xi.effect.DIA, 3, 100, 1, 99 }, [ 8] = { xi.magic.spell.FLASH, target, false, xi.action.type.ENFEEBLING_TARGET, xi.effect.FLASH, 0, 100, 1, 99 }, - [ 9] = { xi.magic.spell.DISPELGA, target, false, xi.action.type.ENFEEBLING_TARGET, nil, 0, 100, 1, 99 }, + [ 9] = { xi.magic.spell.DISPELGA, target, false, xi.action.type.NONE, nil, 0, 100, 1, 99 }, [10] = { xi.magic.spell.BLINK, mob, false, xi.action.type.ENHANCING_TARGET, xi.effect.BLINK, 0, 100, 1, 99 }, [11] = { xi.magic.spell.STONESKIN, mob, false, xi.action.type.ENHANCING_TARGET, xi.effect.STONESKIN, 0, 100, 1, 99 }, [12] = { xi.magic.spell.HASTE, mob, false, xi.action.type.ENHANCING_TARGET, xi.effect.HASTE, 0, 100, 1, 99 }, @@ -181,14 +181,14 @@ entity.onMobSpellChoose = function(mob, target, spellId) [ 4] = { xi.magic.spell.BLIND, target, false, xi.action.type.ENFEEBLING_TARGET, xi.effect.BLINDNESS, 0, 100, 1, 99 }, [ 5] = { xi.magic.spell.SLEEPGA, target, false, xi.action.type.ENFEEBLING_TARGET, xi.effect.SLEEP_I, 0, 100, 1, 55 }, [ 6] = { xi.magic.spell.SLEEPGA_II, target, false, xi.action.type.ENFEEBLING_TARGET, xi.effect.SLEEP_II, 0, 100, 56, 99 }, - [ 7] = { xi.magic.spell.DISPEL, target, false, xi.action.type.ENFEEBLING_TARGET, nil, 0, 100, 1, 99 }, - [ 8] = { xi.magic.spell.ABSORB_STR, target, false, xi.action.type.ENFEEBLING_TARGET, nil, 0, 100, 1, 99 }, - [ 9] = { xi.magic.spell.ABSORB_DEX, target, false, xi.action.type.ENFEEBLING_TARGET, nil, 0, 100, 1, 99 }, - [10] = { xi.magic.spell.ABSORB_VIT, target, false, xi.action.type.ENFEEBLING_TARGET, nil, 0, 100, 1, 99 }, - [11] = { xi.magic.spell.ABSORB_AGI, target, false, xi.action.type.ENFEEBLING_TARGET, nil, 0, 100, 1, 99 }, - [12] = { xi.magic.spell.ABSORB_INT, target, false, xi.action.type.ENFEEBLING_TARGET, nil, 0, 100, 1, 99 }, - [13] = { xi.magic.spell.ABSORB_MND, target, false, xi.action.type.ENFEEBLING_TARGET, nil, 0, 100, 1, 99 }, - [14] = { xi.magic.spell.ABSORB_CHR, target, false, xi.action.type.ENFEEBLING_TARGET, nil, 0, 100, 1, 99 }, + [ 7] = { xi.magic.spell.DISPEL, target, false, xi.action.type.NONE, nil, 0, 100, 1, 99 }, + [ 8] = { xi.magic.spell.ABSORB_STR, target, false, xi.action.type.ENFEEBLING_TARGET, xi.effect.STR_DOWN, 0, 100, 1, 99 }, + [ 9] = { xi.magic.spell.ABSORB_DEX, target, false, xi.action.type.ENFEEBLING_TARGET, xi.effect.DEX_DOWN, 0, 100, 1, 99 }, + [10] = { xi.magic.spell.ABSORB_VIT, target, false, xi.action.type.ENFEEBLING_TARGET, xi.effect.VIT_DOWN, 0, 100, 1, 99 }, + [11] = { xi.magic.spell.ABSORB_AGI, target, false, xi.action.type.ENFEEBLING_TARGET, xi.effect.AGI_DOWN, 0, 100, 1, 99 }, + [12] = { xi.magic.spell.ABSORB_INT, target, false, xi.action.type.ENFEEBLING_TARGET, xi.effect.INT_DOWN, 0, 100, 1, 99 }, + [13] = { xi.magic.spell.ABSORB_MND, target, false, xi.action.type.ENFEEBLING_TARGET, xi.effect.MND_DOWN, 0, 100, 1, 99 }, + [14] = { xi.magic.spell.ABSORB_CHR, target, false, xi.action.type.ENFEEBLING_TARGET, xi.effect.CHR_DOWN, 0, 100, 1, 99 }, }, }