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

[script][combat-trainer] YACTOM: offhand_gain_check #7072

Merged
merged 12 commits into from
Jan 26, 2025

Conversation

mdr55
Copy link
Contributor

@mdr55 mdr55 commented Jan 25, 2025

offhand_gain_check is a feature that is activated by combat_trainer_offhand_gain_check: value in the yaml (suggested value of 2)

Its the offhand equivalent of the gain_check feature that was merged in PR #7068 - it will switch offhand weapons when they stop gaining.

This PR also contains a fix for a non-fatal edge case affecting gain_check (most weapons blacklisted + remainder at 34)

more details in code comments

Copy link
Collaborator

@MahtraDR MahtraDR left a comment

Choose a reason for hiding this comment

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

Small changes, see below. General theme that we need default settings in base.yaml when we introduce new settings.

Double check my logic inversions too, from if to unless

combat-trainer.lic Show resolved Hide resolved
combat-trainer.lic Outdated Show resolved Hide resolved
combat-trainer.lic Outdated Show resolved Hide resolved
combat-trainer.lic Outdated Show resolved Hide resolved
combat-trainer.lic Outdated Show resolved Hide resolved
combat-trainer.lic Outdated Show resolved Hide resolved
combat-trainer.lic Outdated Show resolved Hide resolved
@MahtraDR MahtraDR merged commit f4bdb7c into elanthia-online:main Jan 26, 2025
3 checks passed
@mdr55 mdr55 deleted the CT-offhand-gain-check branch January 26, 2025 03:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants