Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix zombie pirate tables #385

Merged
merged 2 commits into from
Sep 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions src/simulation/monsters/low/t-z/ZombiePirate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ import SimpleMonster from "../../../../structures/SimpleMonster";
export const ZombiePirateTable = new LootTable()
.every("Bones")

/* Pre-roll */
.oneIn(2, new LootTable()) // 'Nothing' drop
.oneIn(24, "Zombie pirate key")
.oneIn(20_000, "Teleport anchoring scroll")

/* Runes */
.add("Blood rune", [30, 60], 4)
.add("Death rune", [30, 90], 4)
Expand Down Expand Up @@ -31,13 +36,10 @@ export const ZombiePirateTable = new LootTable()
.add("Blighted super restore(4)", [1, 3], 12)

/* Other */
.add(new LootTable(), 1, 181) // 'Nothing' drop
.add("Zombie pirate key", 1, 15)
.add("Coins", [1_000, 8_000], 12)
.add("Cannonball", [20, 100], 12)
.add("Gold ore", [5, 15], 12)
.add("Adamant seeds", [5, 10], 8)
.oneIn(20_000, "Teleport anchoring scroll")

/* Tertiary */
.tertiary(5000, "Zombie champion scroll");
Expand Down
6 changes: 4 additions & 2 deletions src/simulation/openables/ZombiePiratesLocker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ import LootTable from "../../structures/LootTable";
import SimpleOpenable from "../../structures/SimpleOpenable";

const ZombiePirateLocker = new LootTable()
/* Pre-roll */
.oneIn(275, "Teleport anchoring scroll")

/* Runes */
.add("Blood rune", [60, 120], 4)
.add("Death rune", [60, 180], 4)
Expand Down Expand Up @@ -32,8 +35,7 @@ const ZombiePirateLocker = new LootTable()
.add("Coins", [2_000, 16_000], 12)
.add("Cannonball", [40, 200], 12)
.add("Gold ore", [10, 30], 12)
.add("Adamant seeds", [10, 20], 8)
.oneIn(275, "Teleport anchoring scroll");
.add("Adamant seeds", [10, 20], 8);

export default new SimpleOpenable({
id: 29_449,
Expand Down