-
Notifications
You must be signed in to change notification settings - Fork 133
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
Amoxliatl #6237
Merged
Amoxliatl #6237
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
attackType
field should be a string, not an array. Please change"attackType": ["magic"]
to"attackType": "magic"
. This issue is also present in other entries in the file.