-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
664 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
packages/oldschooljs/src/simulation/monsters/bosses/Amoxliatl.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
import LootTable from '../../../structures/LootTable'; | ||
import SimpleMonster from '../../../structures/SimpleMonster'; | ||
import { GemTable } from '../../subtables'; | ||
|
||
const SupplyTable = new LootTable() | ||
.add('Rune mace', 1, 2) | ||
.add('Rune pickaxe', 1, 1) | ||
.add('Rune platebody', 1, 1) | ||
.add('Rune platelegs', 1, 1) | ||
|
||
.add('Water rune', [200, 400], 5) | ||
.add('Chaos rune', [30, 60], 4) | ||
.add('Death rune', [20, 40], 4) | ||
.add('Blood rune', [15, 30], 4) | ||
.add('Soul rune', [15, 30], 4) | ||
.add('Nature rune', [30, 60], 3) | ||
|
||
.add('Coal', [20, 30], 5) | ||
.add('Gold ore', [20, 30], 5) | ||
.add('Adamantite ore', [5, 10], 4) | ||
.add('Prayer potion(3)', 1, 2) | ||
.add('Runite ore', 1, 2) | ||
.add('Blessed bone shards', [60, 100], 2) | ||
.add('Water orb', [10, 20], 2) | ||
.add('Water talisman', 1, 2) | ||
.add(GemTable, 1, 2); | ||
|
||
const TearTable = new LootTable().add('Frozen tear', [2, 4]).add('Frozen tear', [5, 10]).add('Frozen tear', [10, 20]); | ||
|
||
const AmoxliatlTable = new LootTable() | ||
.tertiary(3000, 'Moxi') | ||
.tertiary(500, 'Tooth half of key (moon key)') | ||
.tertiary(200, 'Clue scroll (elite)') | ||
.tertiary(100, 'Glacial temotli') | ||
.tertiary(25, 'Pendant of ates (inert)') | ||
.every(SupplyTable, 2) | ||
.every(TearTable); | ||
|
||
export const Amoxliatl = new SimpleMonster({ | ||
id: 13685, | ||
name: 'Amoxliatl', | ||
table: AmoxliatlTable, | ||
aliases: ['amoxliatl'] | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
packages/oldschooljs/src/simulation/monsters/low/a-f/FrostNagua.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import LootTable from '../../../../structures/LootTable'; | ||
import SimpleMonster from '../../../../structures/SimpleMonster'; | ||
import { GemTable } from '../../../subtables'; | ||
|
||
const FrostNaguaTable = new LootTable() | ||
.tertiary(7000, 'Tooth half of key (moon key)') | ||
.tertiary(500, 'Glacial temotli') | ||
.tertiary(100, 'Pendant of ates (inert)') | ||
.tertiary(10, 'Frozen tear', [5, 10]) | ||
.tertiary(256, 'Clue scroll (hard)') | ||
|
||
.add('Water rune', [10, 30], 3) | ||
.add('Water rune', [30, 100], 3) | ||
.add('Chaos rune', [20, 40], 3) | ||
.add('Death rune', [10, 30], 2) | ||
.add('Nature rune', [10, 20], 2) | ||
|
||
.add('Coal', [10, 15], 3) | ||
.add('Gold ore', [10, 20], 3) | ||
.add('Soft clay', [10, 20], 3) | ||
.add('Mithril ore', [5, 10], 2) | ||
|
||
.add('Water orb', [2, 6], 3) | ||
.add('Prayer potion(1)', 1, 2) | ||
.add('Rune mace', 1, 1) | ||
.add('Water talisman', 1, 1) | ||
.add('Blessed bone shards', [30, 50], 1) | ||
.add('Jug of water', [10, 30], 1) | ||
.add(GemTable); | ||
|
||
export const FrostNagua = new SimpleMonster({ | ||
id: 13_728, | ||
name: 'Frost Nagua', | ||
table: FrostNaguaTable, | ||
aliases: ['frost nagua'] | ||
}); |
Oops, something went wrong.