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

Add #102 + Small refactor #134

Merged
merged 7 commits into from
Aug 10, 2024

Conversation

Intybyte
Copy link
Contributor

Add #102

Made a config line for AA fireball speed and refactored a small part of the code for better readibility.

I prefered implementing it in AADirectors as FireballLifespan wouldn't retain the speed, asa timer task would fix the issue I resued the AADirectors runnable.

src/main/resources/config.yml Outdated Show resolved Hide resolved
@TylerS1066
Copy link
Collaborator

TylerS1066 commented Aug 3, 2024

I am not sure how, but this PR seems to have broken AA directors. It also only applies when a fireball is directed, which I'm not sure is the intent.

@Intybyte
Copy link
Contributor Author

Intybyte commented Aug 3, 2024

What do you mean with broken AA directors, it works for me. Yeah tested it right now and it looks like it doesn't apply it to undirected fireballs, maybe it is better if i make a runnable that processes each fireball spawned

@TylerS1066
Copy link
Collaborator

Yeah tested it right now and it looks like it doesn't apply it to undirected fireballs, maybe it is better if i make a runnable that processes each fireball spawned

Probably, in which case it may be best to do it within it's own class or combine it with FireballLifespan and rename it to something like FireballBehavior.

@Intybyte Intybyte requested a review from TylerS1066 August 6, 2024 21:22
Copy link
Contributor Author

@Intybyte Intybyte left a comment

Choose a reason for hiding this comment

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

Applied all changes requested

@TylerS1066 TylerS1066 merged commit 2605f4b into APDevTeam:main Aug 10, 2024
1 check passed
TylerS1066 added a commit that referenced this pull request Aug 11, 2024
TylerS1066 added a commit that referenced this pull request Aug 11, 2024
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