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

feat: use product in battle #90

Merged
merged 14 commits into from
Oct 16, 2024
Merged

feat: use product in battle #90

merged 14 commits into from
Oct 16, 2024

Conversation

alko89
Copy link
Contributor

@alko89 alko89 commented Sep 24, 2024

No description provided.

@alko89 alko89 requested a review from XORs33r September 24, 2024 16:31

switch (product) {
case EProduct.HERB:
attacker.healthPoints += 10;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Perhaps scale with product level? 🤔

getters: true,
},
})
export class ActiveEffect {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

is this schema still needed?

Copy link
Collaborator

Choose a reason for hiding this comment

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

no it was just an easy way to use the schema instead of using an interface when copying the user pvp object into the pvp battle fixed now

@XORs33r XORs33r merged commit c718e79 into master Oct 16, 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