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 dt items for tames #5684

Closed
wants to merge 9,404 commits into from
Closed

Conversation

themrrobert
Copy link
Contributor

Description:

Fixes DT one-of drops for tames

Changes:

updates tames to call effects and pass it's CL

Other checks:

  • I have tested all my changes thoroughly.

themrrobert and others added 30 commits October 24, 2023 17:13
# Conflicts:
#	src/lib/MUser.ts
#	src/lib/minions/data/killableMonsters/index.ts
#	src/mahoji/commands/buy.ts
#	src/mahoji/commands/k.ts
#	src/tasks/minions/monsterActivity.ts
Bumps [get-func-name](https://github.com/chaijs/get-func-name) from 2.0.0 to 2.0.2.
- [Release notes](https://github.com/chaijs/get-func-name/releases)
- [Commits](https://github.com/chaijs/get-func-name/commits/v2.0.2)

---
updated-dependencies:
- dependency-name: get-func-name
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [tough-cookie](https://github.com/salesforce/tough-cookie) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/salesforce/tough-cookie/releases)
- [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md)
- [Commits](salesforce/tough-cookie@v4.1.2...v4.1.3)

---
updated-dependencies:
- dependency-name: tough-cookie
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md)
- [Commits](npm/node-semver@v5.7.1...v5.7.2)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.5.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](jonschlinkert/word-wrap@1.2.3...1.2.5)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.21 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](postcss/postcss@8.4.21...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.1.1 to 4.5.0.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v4.5.0/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
# Conflicts:
#	prisma/schema.prisma
#	src/lib/tickers.ts
#	src/mahoji/commands/admin.ts
#	src/mahoji/commands/rp.ts
#	src/tasks/minions/minigames/raidsActivity.ts
* Remove activities + most command calls

* Dramatically improve speed of migrate user test
# Conflicts:
#	tests/integration/migrateUser.test.ts
themrrobert and others added 19 commits February 2, 2024 18:19
…gg#5647)

* Fix edit gear preset so it doesn't wipe everything not specified

* Dont allow gearpresets to equip 2h and weapon/shield, and force unequip if so.

* Add / update tests

* Allow removal of items via gearpresets edit

* Make global presets autocomplete filter by input.
# Conflicts:
#	src/lib/bankImage.ts
#	src/lib/clues/clueUtils.ts
#	src/lib/constants.ts
#	src/lib/data/creatablesTable.txt
#	src/lib/data/filterables.ts
#	src/mahoji/commands/config.ts
#	src/mahoji/commands/mix.ts
#	src/mahoji/commands/smith.ts
#	src/mahoji/lib/abstracted_commands/gauntletCommand.ts
#	src/mahoji/lib/abstracted_commands/nightmareCommand.ts
#	src/mahoji/lib/events.ts
#	src/tasks/minions/farmingActivity.ts
#	src/tasks/minions/minigames/tobActivity.ts
#	tests/integration/util.ts
#	tests/unit/util.test.ts
* Invention master cape from bank

* Skilling outfits

* A few skilling items

* Misc skilling items / master skillcapes

* Some dwarven gear
…for Mysterious trees. (oldschoolgg#5666)

* Only use invention on harvest; correct myst tree check

* Remove obsolete tormented skull check
@themrrobert themrrobert added Type: Bug Something isn't working BSO Bot School Old labels Feb 11, 2024
@themrrobert themrrobert self-assigned this Feb 11, 2024
@nwjgit
Copy link
Contributor

nwjgit commented Feb 11, 2024

Muspah also uses the effect for charged ice if you wanted to add that in aswell.

I haven't had time to fix it but your PR looks alot better than my solution here: #5578 Vlad draken loot is still an issue aswell if you wanted to look at Magna's feedback. No worries if not, I can always just piggy back off your work here.

@nwjgit nwjgit closed this Mar 6, 2024
@nwjgit
Copy link
Contributor

nwjgit commented Mar 6, 2024

sorry closed the wrong one

@nwjgit nwjgit reopened this Mar 6, 2024
@@ -113,8 +113,9 @@ export interface KillableMonster {
effect?: (opts: {
messages: string[];
user: MUser;
tame?: Tame;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change to use MTame, so you can do tame.totalLoot instead of new Bank(tame.max_total_loot as ItemBank). Merge at your discretion when its ready.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BSO Bot School Old Type: Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants