From 4cc6406a963053fd4f858f5187f8084bb55e1e97 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Mon, 10 Jun 2024 19:05:47 +0000 Subject: [PATCH] Lua code format - (Stylua) --- .../monster/quests/rotten_blood/darklight_source.lua | 2 +- .../monster/quests/rotten_blood/darklight_striker.lua | 2 +- .../monster/quests/rotten_blood/mycobiontic_beetle.lua | 4 ++-- .../monster/quests/rotten_blood/oozing_corpus.lua | 2 +- .../monster/quests/rotten_blood/sopping_carcass.lua | 2 +- .../scripts/spells/monster/large_black_ring.lua | 1 - .../scripts/spells/monster/large_energy_ring.lua | 1 - .../scripts/spells/monster/large_fire_ring.lua | 1 - .../scripts/spells/monster/large_holy_ring.lua | 1 - .../scripts/spells/monster/large_ice_ring.lua | 1 - .../scripts/spells/monster/large_pink_ring.lua | 1 - .../scripts/spells/monster/large_purple_ring_smoke.lua | 1 - .../scripts/spells/monster/large_red_ring.lua | 1 - 13 files changed, 6 insertions(+), 14 deletions(-) diff --git a/data-otservbr-global/monster/quests/rotten_blood/darklight_source.lua b/data-otservbr-global/monster/quests/rotten_blood/darklight_source.lua index 3f5a4553e21..b6e9c065399 100644 --- a/data-otservbr-global/monster/quests/rotten_blood/darklight_source.lua +++ b/data-otservbr-global/monster/quests/rotten_blood/darklight_source.lua @@ -104,7 +104,7 @@ monster.elements = { { type = COMBAT_DROWNDAMAGE, percent = 0 }, { type = COMBAT_ICEDAMAGE, percent = 40 }, { type = COMBAT_HOLYDAMAGE, percent = 0 }, - { type = COMBAT_DEATHDAMAGE, percent = 0}, + { type = COMBAT_DEATHDAMAGE, percent = 0 }, } monster.immunities = { diff --git a/data-otservbr-global/monster/quests/rotten_blood/darklight_striker.lua b/data-otservbr-global/monster/quests/rotten_blood/darklight_striker.lua index 8feff104e81..4d6a19d6dc9 100644 --- a/data-otservbr-global/monster/quests/rotten_blood/darklight_striker.lua +++ b/data-otservbr-global/monster/quests/rotten_blood/darklight_striker.lua @@ -87,7 +87,7 @@ monster.attacks = { { name = "combat", interval = 2500, chance = 15, type = COMBAT_ENERGYDAMAGE, minDamage = -1400, maxDamage = -1650, length = 8, spread = 3, effect = CONST_ME_ELECTRICALSPARK, target = false }, { name = "combat", interval = 2500, chance = 15, type = COMBAT_HOLYDAMAGE, minDamage = -1100, maxDamage = -1600, radius = 5, effect = CONST_ME_GHOSTLY_BITE, target = false }, { name = "combat", interval = 2500, chance = 10, type = COMBAT_ENERGYDAMAGE, minDamage = -1300, maxDamage = -1500, radius = 5, effect = CONST_ME_ELECTRICALSPARK, target = false }, - { name = "extended holy chain", interval = 2000, chance = 15, minDamage = -800, maxDamage = - 1200 }, + { name = "extended holy chain", interval = 2000, chance = 15, minDamage = -800, maxDamage = -1200 }, { name = "largepinkring", interval = 2500, chance = 10, minDamage = -1500, maxDamage = -1900, target = false }, } diff --git a/data-otservbr-global/monster/quests/rotten_blood/mycobiontic_beetle.lua b/data-otservbr-global/monster/quests/rotten_blood/mycobiontic_beetle.lua index 720496c39bc..6a8267c9bc8 100644 --- a/data-otservbr-global/monster/quests/rotten_blood/mycobiontic_beetle.lua +++ b/data-otservbr-global/monster/quests/rotten_blood/mycobiontic_beetle.lua @@ -93,11 +93,11 @@ monster.loot = { monster.attacks = { { name = "melee", interval = 2000, chance = 100, minDamage = 0, maxDamage = -1600 }, - { name = "combat", interval = 2500, chance = 20, type = COMBAT_EARTHDAMAGE, minDamage = -1100, maxDamage = -1400, radius = 5, effect = CONST_ME_GREEN_RINGS, target = true }, + { name = "combat", interval = 2500, chance = 20, type = COMBAT_EARTHDAMAGE, minDamage = -1100, maxDamage = -1400, radius = 5, effect = CONST_ME_GREEN_RINGS, target = true }, { name = "combat", intervall = 2000, chance = 15, type = COMBAT_EARTHDAMAGE, minDamage = -1200, maxDamage = -1600, length = 8, spread = 3, effect = CONST_ME_GREEN_RINGS, target = false }, { name = "combat", interval = 2000, chance = 20, type = COMBAT_PHYSICALDAMAGE, minDamage = -1400, maxDamage = -1700, radius = 5, effect = CONST_ME_EXPLOSIONAREA, target = false }, { name = "combat", interval = 2000, chance = 20, type = COMBAT_EARTHDAMAGE, minDamage = -1200, maxDamage = -1400, radius = 5, effect = CONST_ME_GROUNDSHAKER, target = false }, - { name ="largepoisonring", interval = 2000, chance = 10, minDamage = -900, maxDamage = -1300 }, + { name = "largepoisonring", interval = 2000, chance = 10, minDamage = -900, maxDamage = -1300 }, } monster.defenses = { diff --git a/data-otservbr-global/monster/quests/rotten_blood/oozing_corpus.lua b/data-otservbr-global/monster/quests/rotten_blood/oozing_corpus.lua index f15cb785213..7408ed46ef0 100644 --- a/data-otservbr-global/monster/quests/rotten_blood/oozing_corpus.lua +++ b/data-otservbr-global/monster/quests/rotten_blood/oozing_corpus.lua @@ -85,7 +85,7 @@ monster.loot = { monster.attacks = { { name = "melee", interval = 2000, chance = 100, minDamage = 0, maxDamage = -1600 }, - { name = "combat", interval = 2500, chance = 20, type = COMBAT_PHYSICALDAMAGE, minDamage = -1300, maxDamage = -1700, radius = 5, effect = CONST_ME_GHOSTLY_BITE, target = true }, + { name = "combat", interval = 2500, chance = 20, type = COMBAT_PHYSICALDAMAGE, minDamage = -1300, maxDamage = -1700, radius = 5, effect = CONST_ME_GHOSTLY_BITE, target = true }, { name = "combat", interval = 2000, chance = 20, type = COMBAT_PHYSICALDAMAGE, minDamage = -1400, maxDamage = -1550, length = 8, spread = 3, effect = CONST_ME_GROUNDSHAKER, target = false }, { name = "combat", interval = 2000, chance = 15, type = COMBAT_EARTHDAMAGE, minDamage = -1100, maxDamage = -1550, length = 8, spread = 3, effect = CONST_ME_GREEN_RINGS, target = false }, { name = "death chain", interval = 3000, chance = 15, minDamage = -900, maxDamage = -1300, target = true }, diff --git a/data-otservbr-global/monster/quests/rotten_blood/sopping_carcass.lua b/data-otservbr-global/monster/quests/rotten_blood/sopping_carcass.lua index 47ee1e44084..26458dfe282 100644 --- a/data-otservbr-global/monster/quests/rotten_blood/sopping_carcass.lua +++ b/data-otservbr-global/monster/quests/rotten_blood/sopping_carcass.lua @@ -75,7 +75,7 @@ monster.loot = {} monster.attacks = { { name = "melee", interval = 2000, chance = 100, minDamage = 0, maxDamage = -1100 }, { name = "combat", interval = 2000, chance = 24, type = COMBAT_DEATHDAMAGE, minDamage = -1400, maxDamage = -1500, radius = 5, effect = CONST_ME_MORTAREA, target = false }, - { name = "combat", interval = 2500, chance = 15, type = COMBAT_ICEDAMAGE, minDamage = -1200, maxDamage = -1400, radius = 5, effect = CONST_ME_GHOSTLY_BITE, target = false }, + { name = "combat", interval = 2500, chance = 15, type = COMBAT_ICEDAMAGE, minDamage = -1200, maxDamage = -1400, radius = 5, effect = CONST_ME_GHOSTLY_BITE, target = false }, { name = "combat", interval = 2000, chance = 25, type = COMBAT_EARTHDAMAGE, minDamage = -900, maxDamage = -1400, radius = 5, effect = CONST_ME_BIGPLANTS, target = false }, { name = "combat", interval = 2000, chance = 25, type = COMBAT_DEATHDAMAGE, minDamage = -1100, maxDamage = -1550, length = 8, spread = 5, effect = CONST_ME_BLACKSMOKE, target = false }, { name = "ice chain", interval = 3000, chance = 15, minDamage = -1200, maxDamage = -1500, target = false }, diff --git a/data-otservbr-global/scripts/spells/monster/large_black_ring.lua b/data-otservbr-global/scripts/spells/monster/large_black_ring.lua index 9540698cbf7..8289013ca32 100644 --- a/data-otservbr-global/scripts/spells/monster/large_black_ring.lua +++ b/data-otservbr-global/scripts/spells/monster/large_black_ring.lua @@ -21,7 +21,6 @@ combatLargeRing:setParameter(COMBAT_PARAM_TYPE, COMBAT_DEATHDAMAGE) combatLargeRing:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_BLACKSMOKE) combatLargeRing:setArea(createCombatArea(aLarge)) - local combats = { combatLargeRing } function spell.onCastSpell(creature, var) diff --git a/data-otservbr-global/scripts/spells/monster/large_energy_ring.lua b/data-otservbr-global/scripts/spells/monster/large_energy_ring.lua index 06aa52717f8..f049228927d 100644 --- a/data-otservbr-global/scripts/spells/monster/large_energy_ring.lua +++ b/data-otservbr-global/scripts/spells/monster/large_energy_ring.lua @@ -21,7 +21,6 @@ combatLargeRing:setParameter(COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE) combatLargeRing:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_ENERGYHIT) combatLargeRing:setArea(createCombatArea(aLarge)) - local combats = { combatLargeRing } function spell.onCastSpell(creature, var) diff --git a/data-otservbr-global/scripts/spells/monster/large_fire_ring.lua b/data-otservbr-global/scripts/spells/monster/large_fire_ring.lua index 435e04da7cf..7c14843c640 100644 --- a/data-otservbr-global/scripts/spells/monster/large_fire_ring.lua +++ b/data-otservbr-global/scripts/spells/monster/large_fire_ring.lua @@ -21,7 +21,6 @@ combatLargeRing:setParameter(COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE) combatLargeRing:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_FIREATTACK) combatLargeRing:setArea(createCombatArea(aLarge)) - local combats = { combatLargeRing } function spell.onCastSpell(creature, var) diff --git a/data-otservbr-global/scripts/spells/monster/large_holy_ring.lua b/data-otservbr-global/scripts/spells/monster/large_holy_ring.lua index d3a7b19a6ff..50b05444a66 100644 --- a/data-otservbr-global/scripts/spells/monster/large_holy_ring.lua +++ b/data-otservbr-global/scripts/spells/monster/large_holy_ring.lua @@ -21,7 +21,6 @@ combatLargeRing:setParameter(COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE) combatLargeRing:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_CONST_ME_HOLYAREA) combatLargeRing:setArea(createCombatArea(aLarge)) - local combats = { combatLargeRing } function spell.onCastSpell(creature, var) diff --git a/data-otservbr-global/scripts/spells/monster/large_ice_ring.lua b/data-otservbr-global/scripts/spells/monster/large_ice_ring.lua index f324f2796d5..ef1868f9585 100644 --- a/data-otservbr-global/scripts/spells/monster/large_ice_ring.lua +++ b/data-otservbr-global/scripts/spells/monster/large_ice_ring.lua @@ -21,7 +21,6 @@ combatLargeRing:setParameter(COMBAT_PARAM_TYPE, COMBAT_ICEDAMAGE) combatLargeRing:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_ICEAREA) combatLargeRing:setArea(createCombatArea(aLarge)) - local combats = { combatLargeRing } function spell.onCastSpell(creature, var) diff --git a/data-otservbr-global/scripts/spells/monster/large_pink_ring.lua b/data-otservbr-global/scripts/spells/monster/large_pink_ring.lua index 157f9834bb4..1bb28cefeb9 100644 --- a/data-otservbr-global/scripts/spells/monster/large_pink_ring.lua +++ b/data-otservbr-global/scripts/spells/monster/large_pink_ring.lua @@ -21,7 +21,6 @@ combatLargeRing:setParameter(COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE) combatLargeRing:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_ELECTRICALSPARK) combatLargeRing:setArea(createCombatArea(aLarge)) - local combats = { combatLargeRing } function spell.onCastSpell(creature, var) diff --git a/data-otservbr-global/scripts/spells/monster/large_purple_ring_smoke.lua b/data-otservbr-global/scripts/spells/monster/large_purple_ring_smoke.lua index f1b778dcb4b..7d7d40c26c3 100644 --- a/data-otservbr-global/scripts/spells/monster/large_purple_ring_smoke.lua +++ b/data-otservbr-global/scripts/spells/monster/large_purple_ring_smoke.lua @@ -21,7 +21,6 @@ combatLargeRing:setParameter(COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE) combatLargeRing:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_PURPLESMOKE) combatLargeRing:setArea(createCombatArea(aLarge)) - local combats = { combatLargeRing } function spell.onCastSpell(creature, var) diff --git a/data-otservbr-global/scripts/spells/monster/large_red_ring.lua b/data-otservbr-global/scripts/spells/monster/large_red_ring.lua index a77781ce920..0103ae5c31b 100644 --- a/data-otservbr-global/scripts/spells/monster/large_red_ring.lua +++ b/data-otservbr-global/scripts/spells/monster/large_red_ring.lua @@ -21,7 +21,6 @@ combatLargeRing:setParameter(COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) combatLargeRing:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_REDSMOKE) combatLargeRing:setArea(createCombatArea(aLarge)) - local combats = { combatLargeRing } function spell.onCastSpell(creature, var)