- Joined
- Mar 15, 2015
- Messages
- 233
- Reaction score
- 27
- First Language
- English
- Primarily Uses
- RMMV
So I have a variety of weapons that increase stats based on things you do in the game. Saves, time, escapes, etc. How would I go about setting a cap to these stats?
Here's an example:
<Custom Parameters>
atk = $gameSystem.saveCount() / 3;
</Custom Parameters>
This takes the amount of times you saved, divides it by 3, and that's your attack power. Problem is someone could just sit there spamming save and get a bazillion attack power. How would I set a cap to this?
Here's an example:
<Custom Parameters>
atk = $gameSystem.saveCount() / 3;
</Custom Parameters>
This takes the amount of times you saved, divides it by 3, and that's your attack power. Problem is someone could just sit there spamming save and get a bazillion attack power. How would I set a cap to this?
Last edited by a moderator:
