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 clamping for character initial health values. #4

Merged
merged 1 commit into from
Aug 23, 2024

Conversation

dhAlcojor
Copy link
Owner

Imported and used clamp utility function to ensure character initial health values are within the 1 to 9999 range. This prevents potential issues with out-of-bound health values affecting game logic.

Imported and used clamp utility function to ensure character initial health values are within the 1 to 9999 range. This prevents potential issues with out-of-bound health values affecting game logic.
Copy link

vercel bot commented Aug 23, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
comic-fight ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 23, 2024 7:18am

@dhAlcojor dhAlcojor merged commit 0560626 into main Aug 23, 2024
3 checks passed
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.

1 participant