Skip to content

Commit 1af9eaa

Browse files
authored
Merge pull request #10048 from Frankie-hz/spellnilerror
[lua] Fixes nil errors in Disaster Idol spell choose
2 parents 6b54860 + b0c92c2 commit 1af9eaa

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

scripts/zones/Lower_Delkfutts_Tower/mobs/Disaster_Idol.lua

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ entity.onMobSpellChoose = function(mob, target, spellId)
164164
[ 6] = { xi.magic.spell.DIA_II, target, false, xi.action.type.ENFEEBLING_TARGET, xi.effect.DIA, 3, 100, 1, 99 },
165165
[ 7] = { xi.magic.spell.DIAGA_II, target, false, xi.action.type.ENFEEBLING_TARGET, xi.effect.DIA, 3, 100, 1, 99 },
166166
[ 8] = { xi.magic.spell.FLASH, target, false, xi.action.type.ENFEEBLING_TARGET, xi.effect.FLASH, 0, 100, 1, 99 },
167-
[ 9] = { xi.magic.spell.DISPELGA, target, false, xi.action.type.ENFEEBLING_TARGET, nil, 0, 100, 1, 99 },
167+
[ 9] = { xi.magic.spell.DISPELGA, target, false, xi.action.type.NONE, nil, 0, 100, 1, 99 },
168168
[10] = { xi.magic.spell.BLINK, mob, false, xi.action.type.ENHANCING_TARGET, xi.effect.BLINK, 0, 100, 1, 99 },
169169
[11] = { xi.magic.spell.STONESKIN, mob, false, xi.action.type.ENHANCING_TARGET, xi.effect.STONESKIN, 0, 100, 1, 99 },
170170
[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)
181181
[ 4] = { xi.magic.spell.BLIND, target, false, xi.action.type.ENFEEBLING_TARGET, xi.effect.BLINDNESS, 0, 100, 1, 99 },
182182
[ 5] = { xi.magic.spell.SLEEPGA, target, false, xi.action.type.ENFEEBLING_TARGET, xi.effect.SLEEP_I, 0, 100, 1, 55 },
183183
[ 6] = { xi.magic.spell.SLEEPGA_II, target, false, xi.action.type.ENFEEBLING_TARGET, xi.effect.SLEEP_II, 0, 100, 56, 99 },
184-
[ 7] = { xi.magic.spell.DISPEL, target, false, xi.action.type.ENFEEBLING_TARGET, nil, 0, 100, 1, 99 },
185-
[ 8] = { xi.magic.spell.ABSORB_STR, target, false, xi.action.type.ENFEEBLING_TARGET, nil, 0, 100, 1, 99 },
186-
[ 9] = { xi.magic.spell.ABSORB_DEX, target, false, xi.action.type.ENFEEBLING_TARGET, nil, 0, 100, 1, 99 },
187-
[10] = { xi.magic.spell.ABSORB_VIT, target, false, xi.action.type.ENFEEBLING_TARGET, nil, 0, 100, 1, 99 },
188-
[11] = { xi.magic.spell.ABSORB_AGI, target, false, xi.action.type.ENFEEBLING_TARGET, nil, 0, 100, 1, 99 },
189-
[12] = { xi.magic.spell.ABSORB_INT, target, false, xi.action.type.ENFEEBLING_TARGET, nil, 0, 100, 1, 99 },
190-
[13] = { xi.magic.spell.ABSORB_MND, target, false, xi.action.type.ENFEEBLING_TARGET, nil, 0, 100, 1, 99 },
191-
[14] = { xi.magic.spell.ABSORB_CHR, target, false, xi.action.type.ENFEEBLING_TARGET, nil, 0, 100, 1, 99 },
184+
[ 7] = { xi.magic.spell.DISPEL, target, false, xi.action.type.NONE, nil, 0, 100, 1, 99 },
185+
[ 8] = { xi.magic.spell.ABSORB_STR, target, false, xi.action.type.ENFEEBLING_TARGET, xi.effect.STR_DOWN, 0, 100, 1, 99 },
186+
[ 9] = { xi.magic.spell.ABSORB_DEX, target, false, xi.action.type.ENFEEBLING_TARGET, xi.effect.DEX_DOWN, 0, 100, 1, 99 },
187+
[10] = { xi.magic.spell.ABSORB_VIT, target, false, xi.action.type.ENFEEBLING_TARGET, xi.effect.VIT_DOWN, 0, 100, 1, 99 },
188+
[11] = { xi.magic.spell.ABSORB_AGI, target, false, xi.action.type.ENFEEBLING_TARGET, xi.effect.AGI_DOWN, 0, 100, 1, 99 },
189+
[12] = { xi.magic.spell.ABSORB_INT, target, false, xi.action.type.ENFEEBLING_TARGET, xi.effect.INT_DOWN, 0, 100, 1, 99 },
190+
[13] = { xi.magic.spell.ABSORB_MND, target, false, xi.action.type.ENFEEBLING_TARGET, xi.effect.MND_DOWN, 0, 100, 1, 99 },
191+
[14] = { xi.magic.spell.ABSORB_CHR, target, false, xi.action.type.ENFEEBLING_TARGET, xi.effect.CHR_DOWN, 0, 100, 1, 99 },
192192
},
193193
}
194194

0 commit comments

Comments
 (0)