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

Open
wants to merge 1 commit into
base: bso
Choose a base branch
from

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 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.

None yet

3 participants