0
Hi everyone how can i prevent the incrementation to exceed the limit?
6 Antworten
+ 3
Which incrementation? Please show an example code.
You can use an if-statement to test if an integer variable exceeds a given limit.
+ 1
Sololearn playground is not interactive so I cannot test your code. Which variable do you want to prevent from exceeding a limit?
0
Here's the code
https://code.sololearn.com/cWaqs9Vkc8X7/?ref=app
0
Hp, Mp
0
I tried to figure it out on how to prevent skill spamming to make the game realistic, I'm a beginner