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

smarter characters don't lose focus faster #327

Closed
wants to merge 4 commits into from

Conversation

anoobindisguise
Copy link
Owner

Summary

none

Purpose of change

Describe the solution

Describe alternatives you've considered

Testing

Additional context

@github-actions github-actions bot added the [C++] label Jul 16, 2024
anoobindisguise and others added 3 commits July 16, 2024 17:04
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Comment on lines +2783 to +2785
focus_drain /= ( enchantment_cache->modify_value( enchant_vals::mod::LEARNING_FOCUS, focus_drain ) );
focus_drain /= ( 1.0 + ( 0.01f * ( get_int() - get_option<int>( "INT_BASED_LEARNING_BASE_VALUE" ) ) *
get_option<int>( "INT_BASED_LEARNING_FOCUS_ADJUSTMENT" ) ) );

Choose a reason for hiding this comment

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

[JSON & C++ formatters] reported by reviewdog 🐶

Suggested change
focus_drain /= ( enchantment_cache->modify_value( enchant_vals::mod::LEARNING_FOCUS, focus_drain ) );
focus_drain /= ( 1.0 + ( 0.01f * ( get_int() - get_option<int>( "INT_BASED_LEARNING_BASE_VALUE" ) ) *
get_option<int>( "INT_BASED_LEARNING_FOCUS_ADJUSTMENT" ) ) );
focus_drain /= ( enchantment_cache->modify_value( enchant_vals::mod::LEARNING_FOCUS,
focus_drain ) );
focus_drain /= ( 1.0 + ( 0.01f * ( get_int() - get_option<int>( "INT_BASED_LEARNING_BASE_VALUE" ) )
*
get_option<int>( "INT_BASED_LEARNING_FOCUS_ADJUSTMENT" ) ) );

Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Please do not bump or comment on this issue unless you are actively working on it. Stale issues, and stale issues that are closed are still considered.

@github-actions github-actions bot added the stale label Aug 16, 2024
@github-actions github-actions bot closed this Sep 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant