diff --git a/scripts/actions/abilities/pets/glittering_ruby.lua b/scripts/actions/abilities/pets/glittering_ruby.lua index a908c52b2f3..f70826788e3 100644 --- a/scripts/actions/abilities/pets/glittering_ruby.lua +++ b/scripts/actions/abilities/pets/glittering_ruby.lua @@ -21,8 +21,8 @@ abilityObject.onPetAbility = function(target, pet, petskill, summoner, action) xi.effect.CHR_BOOST, } - effectId = utils.randomEntry(effects) - effectPower = math.random(12, 14) + local effectId = utils.randomEntry(effects) + local effectPower = math.random(12, 14) xi.job_utils.summoner.onUseBloodPact(target, petskill, summoner, action) diff --git a/scripts/actions/mobskills/glittering_ruby.lua b/scripts/actions/mobskills/glittering_ruby.lua index 47909d6f969..130622574f8 100644 --- a/scripts/actions/mobskills/glittering_ruby.lua +++ b/scripts/actions/mobskills/glittering_ruby.lua @@ -21,8 +21,8 @@ mobskillObject.onMobWeaponSkill = function(target, mob, skill) xi.effect.CHR_BOOST, } - effectId = utils.randomEntry(effects) - effectPower = math.random(12, 14) + local effectId = utils.randomEntry(effects) + local effectPower = math.random(12, 14) target:addStatusEffect(effectId, effectPower, 0, 90) skill:setMsg(xi.msg.basic.SKILL_GAIN_EFFECT) diff --git a/scripts/zones/VeLugannon_Palace/mobs/Zipacna.lua b/scripts/zones/VeLugannon_Palace/mobs/Zipacna.lua index 4448d302f90..26e4facf3dc 100644 --- a/scripts/zones/VeLugannon_Palace/mobs/Zipacna.lua +++ b/scripts/zones/VeLugannon_Palace/mobs/Zipacna.lua @@ -9,10 +9,10 @@ local ID = zones[xi.zone.VELUGANNON_PALACE] -- Spawn points from nm_spawn_points.sql local spawnPoints = { - blueShort = {x = -196, y = 0, z = 389}, - blueLong = {x = -121, y = 16, z = 420}, - yellowShort = {x = 191, y = 0, z = 399}, - yellowLong = {x = 141, y = 16, z = 440}, + blueShort = { x = -196, y = 0, z = 389 }, + blueLong = { x = -121, y = 16, z = 420 }, + yellowShort = { x = 191, y = 0, z = 399 }, + yellowLong = { x = 141, y = 16, z = 440 }, } local pathingDirection =