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

Allow "caps" for stats #89

Open
dfabulich opened this issue Jun 10, 2010 · 1 comment
Open

Allow "caps" for stats #89

dfabulich opened this issue Jun 10, 2010 · 1 comment

Comments

@dfabulich
Copy link
Owner

Sometimes you want stats to range between arbitrary numbers, e.g. 1-5. It would be nice to have a way to automatically cap a stat, so if I add 3 points to a stat capped at five, it just remains at 5.

@dfabulich
Copy link
Owner Author

Subroutines (via gosub) might be another good(?) way to handle this. Note that in many cases you don't really want a silent cap, but rather you want to do something unusual when you hit the cap, e.g. if wounds > 5, you die.

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

No branches or pull requests

1 participant