Skip to content

Commit

Permalink
Lua code format - (Stylua)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Feb 8, 2025
1 parent 9c25d87 commit 24d6efb
Show file tree
Hide file tree
Showing 82 changed files with 1,072 additions and 1,155 deletions.
41 changes: 20 additions & 21 deletions data-crystal/monster/aquatics/quara_looter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -76,34 +76,34 @@ monster.voices = {
}

monster.loot = {
{ name = "Amber Souvenir", chance = 7040 },
{ name = "Resinous Fish Fin", chance = 6460 },
{ id = 3039, chance = 4340 }, -- red gem
{ id = 3041, chance = 2700 }, -- blue gem
{ name = "Glacier Kilt", chance = 940 },
{ name = "Necklace of the Deep", chance = 820 },
{ name = "Crystal Crossbow", chance = 470 },
{ name = "Rift Lance", chance = 350 },
{ name = "Mantassin Tail", chance = 230 },
{ name = "platinum coin", chance = 10000, maxCount = 25 },
{ name = "Glacier Robe", chance = 1000 },
{ name = "Preserved Light Blue Seed", chance = 110 },
{ name = "Preserved Purple Seed", chance = 110 },
{ name = "Preserved Violet Seed", chance = 110 },
{ name = "Amber Souvenir", chance = 7040 },
{ name = "Resinous Fish Fin", chance = 6460 },
{ id = 3039, chance = 4340 }, -- red gem
{ id = 3041, chance = 2700 }, -- blue gem
{ name = "Glacier Kilt", chance = 940 },
{ name = "Necklace of the Deep", chance = 820 },
{ name = "Crystal Crossbow", chance = 470 },
{ name = "Rift Lance", chance = 350 },
{ name = "Mantassin Tail", chance = 230 },
{ name = "platinum coin", chance = 10000, maxCount = 25 },
{ name = "Glacier Robe", chance = 1000 },
{ name = "Preserved Light Blue Seed", chance = 110 },
{ name = "Preserved Purple Seed", chance = 110 },
{ name = "Preserved Violet Seed", chance = 110 },
}

monster.attacks = {
{name ="melee", interval = 2000, chance = 100, type = COMBAT_DEATHDAMAGE, minDamage = -150, maxDamage = -450 },
{name ="combat", interval = 2000, chance = 35, type = COMBAT_ICEDAMAGE, minDamage = -400, maxDamage = -750, range = 7, shootEffect = CONST_ANI_SHIVERARROW, effect = CONST_ME_ICEATTACK, target = true },
{name ="quarasmallicering", interval = 2000, chance = 16 },
{name ="podzillaphyschain", interval = 2000, chance = 15 },
{ name = "melee", interval = 2000, chance = 100, type = COMBAT_DEATHDAMAGE, minDamage = -150, maxDamage = -450 },
{ name = "combat", interval = 2000, chance = 35, type = COMBAT_ICEDAMAGE, minDamage = -400, maxDamage = -750, range = 7, shootEffect = CONST_ANI_SHIVERARROW, effect = CONST_ME_ICEATTACK, target = true },
{ name = "quarasmallicering", interval = 2000, chance = 16 },
{ name = "podzillaphyschain", interval = 2000, chance = 15 },
}

monster.defenses = {
defense = 95,
armor = 95,
mitigation = 2.75,
{ name = "combat", interval = 2000, chance = 7, type = COMBAT_HEALING, minDamage = 600, maxDamage = 800, effect = CONST_ME_MAGIC_BLUE, target = false },
{ name = "combat", interval = 2000, chance = 7, type = COMBAT_HEALING, minDamage = 600, maxDamage = 800, effect = CONST_ME_MAGIC_BLUE, target = false },
}

monster.elements = {
Expand All @@ -119,12 +119,11 @@ monster.elements = {
{ type = COMBAT_DEATHDAMAGE, percent = 5 },
}


monster.immunities = {
{ type = "paralyze", condition = true },
{ type = "outfit", condition = false },
{ type = "invisible", condition = true },
{ type = "bleed", condition = false },
}

mType:register(monster)
mType:register(monster)
22 changes: 11 additions & 11 deletions data-crystal/monster/aquatics/quara_plunderer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -76,19 +76,19 @@ monster.voices = {
}

monster.loot = {
{ name = "Amber Souvenir", chance = 7040 },
{ name = "Resinous Fish Fin", chance = 6460 },
{ id = 3039, chance = 4940 }, -- red gem
{ id = 3041, chance = 4900 }, -- blue gem
{ name = "Haunted Blade", chance = 350 },
{ name = "platinum coin", chance = 10000, maxCount = 25 },
{ name = "Amber Souvenir", chance = 7040 },
{ name = "Resinous Fish Fin", chance = 6460 },
{ id = 3039, chance = 4940 }, -- red gem
{ id = 3041, chance = 4900 }, -- blue gem
{ name = "Haunted Blade", chance = 350 },
{ name = "platinum coin", chance = 10000, maxCount = 25 },
}

monster.attacks = {
{name ="melee", interval = 2000, chance = 100, type = COMBAT_PHYSICALDAMAGE, minDamage = -350, maxDamage = -500},
{name ="combat", interval = 2000, chance = 25, type = COMBAT_ICEDAMAGE, minDamage = -800, maxDamage = -1100, range = 7, radius = 4, shootEffect = CONST_ANI_ICE, effect = CONST_ME_ICEAREA, target = false},
{name = "quaracrossdeath", interval = 2000, chance = 20, minDamage = -1100, maxDamage = -1700, target = false },
{name = "quarasmokedeath", interval = 2000, chance = 20, minDamage = -850, maxDamage = -1150, target = false },
{ name = "melee", interval = 2000, chance = 100, type = COMBAT_PHYSICALDAMAGE, minDamage = -350, maxDamage = -500 },
{ name = "combat", interval = 2000, chance = 25, type = COMBAT_ICEDAMAGE, minDamage = -800, maxDamage = -1100, range = 7, radius = 4, shootEffect = CONST_ANI_ICE, effect = CONST_ME_ICEAREA, target = false },
{ name = "quaracrossdeath", interval = 2000, chance = 20, minDamage = -1100, maxDamage = -1700, target = false },
{ name = "quarasmokedeath", interval = 2000, chance = 20, minDamage = -850, maxDamage = -1150, target = false },
}

monster.defenses = {
Expand Down Expand Up @@ -117,4 +117,4 @@ monster.immunities = {
{ type = "bleed", condition = false },
}

mType:register(monster)
mType:register(monster)
39 changes: 19 additions & 20 deletions data-crystal/monster/aquatics/quara_raider.lua
Original file line number Diff line number Diff line change
Expand Up @@ -76,34 +76,33 @@ monster.voices = {
}

monster.loot = {
{ name = "Amber Souvenir", chance = 7330 },
{ id = 3039, chance = 5340 }, -- red gem
{ name = "Resinous Fish Fin", chance = 4090 },
{ name = "Skull Staff", chance = 1480 },
{ id = 3041, chance = 1140 }, -- blue gem
{ name = "Glacier Robe", chance = 910 },
{ name = "Crystalline Armor", chance = 510 },
{ name = "Quara Pincers", chance = 510 },
{ name = "Abyss Hammer", chance = 170 },
{ name = "Preserved Light Blue Seed", chance = 110 },
{ name = "Preserved Purple Seed", chance = 110 },
{ name = "platinum coin", chance = 10000, maxCount = 25 },
{ name = "Amber Souvenir", chance = 7330 },
{ id = 3039, chance = 5340 }, -- red gem
{ name = "Resinous Fish Fin", chance = 4090 },
{ name = "Skull Staff", chance = 1480 },
{ id = 3041, chance = 1140 }, -- blue gem
{ name = "Glacier Robe", chance = 910 },
{ name = "Crystalline Armor", chance = 510 },
{ name = "Quara Pincers", chance = 510 },
{ name = "Abyss Hammer", chance = 170 },
{ name = "Preserved Light Blue Seed", chance = 110 },
{ name = "Preserved Purple Seed", chance = 110 },
{ name = "platinum coin", chance = 10000, maxCount = 25 },
}

monster.attacks = {
{name ="melee", interval = 2000, chance = 100, type= COMBAT_PHYSICALDAMAGE, minDamage = -250, maxDamage = -320},
{name ="quaralargeicering", interval = 2000, chance = 20, minDamage = -1250, maxDamage = -1400, target = false },
{name ="quararaidershoot", interval = 2000, chance = 35, minDamage = -650, maxDamage = -900, range = 7, target = true },
{name= "quarawatersplash", interval = 2000, chance = 18, minDamage = -1350, maxDamage = -1600, target = false},
{name ="quaraseamonster", interval = 2000, chance = 18, minDamage = -1350, maxDamage = -1600, target = false},
{ name = "melee", interval = 2000, chance = 100, type = COMBAT_PHYSICALDAMAGE, minDamage = -250, maxDamage = -320 },
{ name = "quaralargeicering", interval = 2000, chance = 20, minDamage = -1250, maxDamage = -1400, target = false },
{ name = "quararaidershoot", interval = 2000, chance = 35, minDamage = -650, maxDamage = -900, range = 7, target = true },
{ name = "quarawatersplash", interval = 2000, chance = 18, minDamage = -1350, maxDamage = -1600, target = false },
{ name = "quaraseamonster", interval = 2000, chance = 18, minDamage = -1350, maxDamage = -1600, target = false },
}


monster.defenses = {
defense = 95,
armor = 95,
mitigation = 2.75,
{ name = "combat", interval = 2000, chance = 7, type = COMBAT_HEALING, minDamage = 800, maxDamage = 1000, effect = CONST_ME_MAGIC_BLUE, target = false },
{ name = "combat", interval = 2000, chance = 7, type = COMBAT_HEALING, minDamage = 800, maxDamage = 1000, effect = CONST_ME_MAGIC_BLUE, target = false },
}

monster.elements = {
Expand All @@ -126,4 +125,4 @@ monster.immunities = {
{ type = "bleed", condition = false },
}

mType:register(monster)
mType:register(monster)
4 changes: 1 addition & 3 deletions data-crystal/monster/bosses/sugar_daddy.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ monster.outfit = {
lookMount = 0,
}



monster.bosstiary = {
bossRaceId = 2562,
bossRace = RARITY_BANE,
Expand Down Expand Up @@ -131,4 +129,4 @@ monster.immunities = {
{ type = "bleed", condition = false },
}

mType:register(monster)
mType:register(monster)
7 changes: 2 additions & 5 deletions data-crystal/monster/bosses/sugar_mommy.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ monster.outfit = {
lookMount = 0,
}



monster.bosstiary = {
bossRaceId = 2580,
bossRace = RARITY_BANE,
Expand Down Expand Up @@ -70,7 +68,7 @@ monster.voices = {
{ text = "SUGAR!!!", yell = false },
}

monster.loot = {
monster.loot = {
{ name = "platinum coin", chance = 100000, maxCount = 11 },
{ name = "cherry", chance = 100000, maxCount = 2 },
{ id = 3039, chance = 11465, maxCount = 1 }, -- red gem
Expand All @@ -79,7 +77,6 @@ monster.loot = {
{ id = 48250, chance = 28555, maxCount = 11 }, -- dark chocolate coin
{ id = 48249, chance = 26465, maxCount = 12 }, -- milk chocolate coin
{ id = 48273, chance = 16465, maxCount = 1 }, -- taiyaki ice cream

}

monster.attacks = {
Expand Down Expand Up @@ -116,4 +113,4 @@ monster.immunities = {
{ type = "bleed", condition = false },
}

mType:register(monster)
mType:register(monster)
49 changes: 24 additions & 25 deletions data-crystal/monster/bosses/the_rootkraken.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ monster.outfit = {
lookAddons = 0,
lookMount = 0,
}
monster.events = {
}
monster.events = {}

monster.bosstiary = {
bossRaceId = 2528,
Expand Down Expand Up @@ -71,28 +70,28 @@ monster.voices = {
}

monster.loot = {
{ name = "crystal coin", chance = 100000, maxCount = 3 },
{ name = "platinum coin", chance = 100000, maxCount = 93 },
{ name = "ultimate health potion", chance = 42590, maxCount = 19 },
{ name = "great spirit potion", chance = 42590, maxCount = 7 },
{ name = "great mana potion", chance = 31480, maxCount = 14 },
{ name = "supreme health potion", chance = 31480, maxCount = 4 },
{ name = "ultimate spirit potion", chance = 25930, maxCount = 14 },
{ id = 3037, chance = 24070 }, -- yellow gem
{ name = "amber with a bug", chance = 18520 },
{ name = "giant topaz", chance = 7410 },
{ name = "amber crusher", chance = 1850 },
{ id = 47375, chance = 300 }, -- amber axe
{ id = 47369, chance = 200 }, -- amber greataxe
{ id = 47368, chance = 200 }, -- amber slayer
{ id = 47374, chance = 300 }, -- amber sabre
{ id = 47376, chance = 300 }, -- amber cudgel
{ id = 47370, chance = 200 }, -- amber bludgeon
{ id = 47371, chance = 200 }, -- amber bow
{ id = 47377, chance = 300 }, -- amber crossbow
{ id = 47372, chance = 300 }, -- amber wand
{ id = 47373, chance = 300 }, -- amber rod
{ id = 48514, chance = 250 }, -- strange inedible fruit
{ name = "crystal coin", chance = 100000, maxCount = 3 },
{ name = "platinum coin", chance = 100000, maxCount = 93 },
{ name = "ultimate health potion", chance = 42590, maxCount = 19 },
{ name = "great spirit potion", chance = 42590, maxCount = 7 },
{ name = "great mana potion", chance = 31480, maxCount = 14 },
{ name = "supreme health potion", chance = 31480, maxCount = 4 },
{ name = "ultimate spirit potion", chance = 25930, maxCount = 14 },
{ id = 3037, chance = 24070 }, -- yellow gem
{ name = "amber with a bug", chance = 18520 },
{ name = "giant topaz", chance = 7410 },
{ name = "amber crusher", chance = 1850 },
{ id = 47375, chance = 300 }, -- amber axe
{ id = 47369, chance = 200 }, -- amber greataxe
{ id = 47368, chance = 200 }, -- amber slayer
{ id = 47374, chance = 300 }, -- amber sabre
{ id = 47376, chance = 300 }, -- amber cudgel
{ id = 47370, chance = 200 }, -- amber bludgeon
{ id = 47371, chance = 200 }, -- amber bow
{ id = 47377, chance = 300 }, -- amber crossbow
{ id = 47372, chance = 300 }, -- amber wand
{ id = 47373, chance = 300 }, -- amber rod
{ id = 48514, chance = 250 }, -- strange inedible fruit
}

monster.attacks = {
Expand Down Expand Up @@ -128,4 +127,4 @@ monster.immunities = {
{ type = "bleed", condition = false },
}

mType:register(monster)
mType:register(monster)
5 changes: 2 additions & 3 deletions data-crystal/monster/constructs/gingerbread_men.lua
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,7 @@ monster.voices = {
{ text = "Have you seen my truffle baker?", yell = false },
{ text = "I should visit the Candy Carnival.", yell = false },
}
monster.loot = {
}
monster.loot = {}

monster.attacks = {
{ name = "melee", interval = 2000, chance = 100, minDamage = 0, maxDamage = -1 },
Expand Down Expand Up @@ -108,4 +107,4 @@ monster.immunities = {
{ type = "bleed", condition = false },
}

mType:register(monster)
mType:register(monster)
26 changes: 13 additions & 13 deletions data-crystal/monster/constructs/goggle_cake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ local monster = {}
monster.description = "a goggle cake"
monster.experience = 2700
monster.outfit = {
lookType = 1740,
lookType = 1740,
lookHead = 0,
lookBody = 10,
lookLegs = 115,
Expand All @@ -29,7 +29,7 @@ monster.Bestiary = {
monster.health = 2700
monster.maxHealth = 2700
monster.race = "undead"
monster.corpse = 48271
monster.corpse = 48271
monster.speed = 122
monster.manaCost = 0

Expand Down Expand Up @@ -114,16 +114,16 @@ monster.defenses = {
}

monster.elements = {
{ type = COMBAT_PHYSICALDAMAGE, percent = -5 },
{ type = COMBAT_ENERGYDAMAGE, percent = -15 },
{ type = COMBAT_EARTHDAMAGE, percent = 105 },
{ type = COMBAT_FIREDAMAGE, percent = 110 },
{ type = COMBAT_LIFEDRAIN, percent = 100 },
{ type = COMBAT_MANADRAIN, percent = 100 },
{ type = COMBAT_DROWNDAMAGE, percent = 100 },
{ type = COMBAT_ICEDAMAGE, percent = -15 },
{ type = COMBAT_HOLYDAMAGE, percent = -5 },
{ type = COMBAT_DEATHDAMAGE, percent = -15 },
{ type = COMBAT_PHYSICALDAMAGE, percent = -5 },
{ type = COMBAT_ENERGYDAMAGE, percent = -15 },
{ type = COMBAT_EARTHDAMAGE, percent = 105 },
{ type = COMBAT_FIREDAMAGE, percent = 110 },
{ type = COMBAT_LIFEDRAIN, percent = 100 },
{ type = COMBAT_MANADRAIN, percent = 100 },
{ type = COMBAT_DROWNDAMAGE, percent = 100 },
{ type = COMBAT_ICEDAMAGE, percent = -15 },
{ type = COMBAT_HOLYDAMAGE, percent = -5 },
{ type = COMBAT_DEATHDAMAGE, percent = -15 },
}

monster.immunities = {
Expand All @@ -133,4 +133,4 @@ monster.immunities = {
{ type = "bleed", condition = false },
}

mType:register(monster)
mType:register(monster)
Loading

0 comments on commit 24d6efb

Please sign in to comment.