Skip to content

Commit

Permalink
Adjust loottables
Browse files Browse the repository at this point in the history
  • Loading branch information
TastyPumPum committed Apr 6, 2024
1 parent 8d88562 commit ddab2fa
Show file tree
Hide file tree
Showing 12 changed files with 46 additions and 12 deletions.
5 changes: 4 additions & 1 deletion src/simulation/monsters/low/a-f/AbyssalDemon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,10 @@ const AbyssalDemonTable = new LootTable()
.tertiary(1200, "Clue scroll (elite)")
.tertiary(6000, "Abyssal head");

const AbyssalDemonWildyCaveTable = new LootTable().every(AbyssalDemonTable).tertiary(1.25, WildySlayerCaveTable);
const AbyssalDemonWildyCaveTable = new LootTable()
.every(AbyssalDemonTable)
.add(WildySlayerCaveTable, 1, 80)
.add(new LootTable(), 1, 20);

export default new SimpleMonster({
id: 415,
Expand Down
5 changes: 4 additions & 1 deletion src/simulation/monsters/low/a-f/Ankou.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,10 @@ const AnkouTable = new LootTable({ limit: 100 })
/* Tertiary */
.tertiary(512, "Clue scroll (hard)");

const AnkouWildyCaveTable = new LootTable().every(AnkouTable).tertiary(1.51, WildySlayerCaveTable);
const AnkouWildyCaveTable = new LootTable()
.every(AnkouTable)
.add(WildySlayerCaveTable, 1, 66)
.add(new LootTable(), 1, 34);

export default new SimpleMonster({
id: 2514,
Expand Down
5 changes: 4 additions & 1 deletion src/simulation/monsters/low/a-f/BlackDemon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,10 @@ const BlackDemonTable = new LootTable()
.tertiary(35, "Ensouled demon head")
.tertiary(128, "Clue scroll (hard)");

const BlackDemonWildyCaveTable = new LootTable().every(BlackDemonTable).tertiary(1.1, WildySlayerCaveTable);
const BlackDemonWildyCaveTable = new LootTable()
.every(BlackDemonTable)
.add(WildySlayerCaveTable, 1, 91)
.add(new LootTable(), 1, 9);

export default new SimpleMonster({
id: 240,
Expand Down
5 changes: 4 additions & 1 deletion src/simulation/monsters/low/a-f/BlackDragon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,10 @@ const BlackDragonTable = new LootTable()
.tertiary(500, "Clue scroll (elite)")
.tertiary(10_000, "Draconic visage");

const BlackDragonWildyCaveTable = new LootTable().every(BlackDragonTable).tertiary(1.1, WildySlayerCaveTable);
const BlackDragonWildyCaveTable = new LootTable()
.every(BlackDragonTable)
.add(WildySlayerCaveTable, 1, 91)
.add(new LootTable(), 1, 9);

export default new SimpleMonster({
id: 252,
Expand Down
5 changes: 4 additions & 1 deletion src/simulation/monsters/low/a-f/DustDevil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,10 @@ export const DustDevilPreTable = new LootTable()

const DustDevilTable = new LootTable().every("Bones").every(DustDevilPreTable);

const DustDevilWildyCaveTable = new LootTable().every(DustDevilTable).tertiary(1.56, WildySlayerCaveTable);
const DustDevilWildyCaveTable = new LootTable()
.every(DustDevilTable)
.add(WildySlayerCaveTable, 1, 64)
.add(new LootTable(), 1, 36);

export default new SimpleMonster({
id: 423,
Expand Down
5 changes: 4 additions & 1 deletion src/simulation/monsters/low/g-m/GreaterDemon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,10 @@ const GreaterDemonTable = new LootTable({ limit: 128 })
.tertiary(40, "Ensouled demon head")
.tertiary(128, "Clue scroll (hard)");

const GreaterDemonWildyCaveTable = new LootTable().every(GreaterDemonTable).tertiary(1.47, WildySlayerCaveTable);
const GreaterDemonWildyCaveTable = new LootTable()
.every(GreaterDemonTable)
.add(WildySlayerCaveTable, 1, 68)
.add(new LootTable(), 1, 32);

export default new SimpleMonster({
id: 2025,
Expand Down
3 changes: 2 additions & 1 deletion src/simulation/monsters/low/g-m/GreaterNechryael.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ const GreaterNechryaelTable = new LootTable()

const GreaterNechryaelWildyCaveTable = new LootTable()
.every(GreaterNechryaelTable)
.tertiary(1.09, WildySlayerCaveTable);
.add(WildySlayerCaveTable, 1, 92)
.add(new LootTable(), 1, 8);

export default new SimpleMonster({
id: 7278,
Expand Down
5 changes: 4 additions & 1 deletion src/simulation/monsters/low/g-m/GreenDragon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,10 @@ const GreenDragonTable = new LootTable()
.tertiary(35, "Ensouled dragon head")
.tertiary(128, "Clue scroll (hard)");

const GreenDragonWildyCaveTable = new LootTable().every(GreenDragonTable).tertiary(1.61, WildySlayerCaveTable);
const GreenDragonWildyCaveTable = new LootTable()
.every(GreenDragonTable)
.add(WildySlayerCaveTable, 1, 62)
.add(new LootTable(), 1, 38);

export default new SimpleMonster({
id: 260,
Expand Down
5 changes: 4 additions & 1 deletion src/simulation/monsters/low/g-m/Hellhound.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ const HellhoundTable = new LootTable()
.oneIn(32_768, "Smouldering stone")
.tertiary(64, "Clue scroll (hard)");

const HellhoundWildyCaveTable = new LootTable().every(HellhoundTable).tertiary(1.25, WildySlayerCaveTable);
const HellhoundWildyCaveTable = new LootTable()
.every(HellhoundTable)
.add(WildySlayerCaveTable, 1, 85)
.add(new LootTable(), 1, 15);

export default new SimpleMonster({
id: 104,
Expand Down
5 changes: 4 additions & 1 deletion src/simulation/monsters/low/g-m/IceGiant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,10 @@ const IceGiantTable = new LootTable()
.tertiary(5000, "Giant champion scroll")
.tertiary(5013, "Curved bone");

const IceGiantWildyCaveTable = new LootTable().every(IceGiantTable).tertiary(1.37, WildySlayerCaveTable);
const IceGiantWildyCaveTable = new LootTable()
.every(IceGiantTable)
.add(WildySlayerCaveTable, 1, 73)
.add(new LootTable(), 1, 27);

export default new SimpleMonster({
id: 2085,
Expand Down
5 changes: 4 additions & 1 deletion src/simulation/monsters/low/g-m/Jelly.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,10 @@ const JellyTable = new LootTable()
/* Tertiary */
.tertiary(128, "Clue scroll (hard)");

const JellyWildyCaveTable = new LootTable().every(JellyTable).tertiary(1.32, WildySlayerCaveTable);
const JellyWildyCaveTable = new LootTable()
.every(JellyTable)
.add(WildySlayerCaveTable, 1, 76)
.add(new LootTable(), 1, 24);

export default new SimpleMonster({
id: 437,
Expand Down
5 changes: 4 additions & 1 deletion src/simulation/monsters/low/g-m/LesserDemon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,10 @@ const LesserDemonTable = new LootTable()
.tertiary(50, "Ensouled demon head")
.tertiary(5000, "Lesser demon champion scroll");

const LesserDemonWildyCaveTable = new LootTable().every(LesserDemonTable).tertiary(1.56, WildySlayerCaveTable);
const LesserDemonWildyCaveTable = new LootTable()
.every(LesserDemonTable)
.add(WildySlayerCaveTable, 1, 64)
.add(new LootTable(), 1, 36);

export default new SimpleMonster({
id: 2005,
Expand Down

0 comments on commit ddab2fa

Please sign in to comment.