- Joined
- Mar 19, 2018
- Messages
- 22
- Reaction score
- 5
- First Language
- English
- Primarily Uses
- RMMV
So I have a Javascript "$calc.shield= 2;" which gains me shield like an extra HP but blue. how can i set it so that lets say i have 9 shields and the max is 10 so how can i make the script to give me shield of to a max of 10 and not go over it?

