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

Team 7 tower stat alterations #263

Merged
merged 4 commits into from
Oct 15, 2023
Merged

Conversation

ThivanW
Copy link
Contributor

@ThivanW ThivanW commented Oct 15, 2023

Altered the health, damage, and cost of all towers and changed the income amount to better match the new costs of the towers. Also fixed a bug where the towers health would be set to 5 after opening the upgrade ui.

@ThivanW ThivanW self-assigned this Oct 15, 2023
@ThivanW ThivanW added this to the Sprint 4 milestone Oct 15, 2023
@ThivanW ThivanW requested a review from The-AhmadAA October 15, 2023 06:30
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggestion for maintainability, could this fetch values from the config files you defined?

@@ -21,7 +21,7 @@ public class CurrencyTask extends DefaultTask implements PriorityTask {
private long endTime;
private int interval;
private final Scrap scrap = new Scrap(); // currency to update
private final int currencyAmount = scrap.getAmount(); // amount of currency to update
private final int currencyAmount = 30; // amount of currency to update
Copy link
Contributor

Choose a reason for hiding this comment

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

as with my other comment, could this be modified to fetch the scrap increment value from the config file?

Copy link
Contributor

@The-AhmadAA The-AhmadAA left a comment

Choose a reason for hiding this comment

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

Some maintainability suggestions, but happy with changes

@The-AhmadAA The-AhmadAA merged commit 5a4a62d into main Oct 15, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

2 participants