- 1
- Posts
- 2
- Years
- Seen Aug 22, 2022
Hey everyone!
I've been trying to create a code to limit the use of healing items in battle like potions, full heals and revives. I want it to be that, once you have used 4 healing items, if you try to use a fifth one, a message appears saying "you have exceeded the limit of healing items for this battle" or something like that, and the effect of the item gets cancelled.
Does anyone knows how to do so? i tried everything i could.
Also my english is limited. Sorry for the possible errors.
I've been trying to create a code to limit the use of healing items in battle like potions, full heals and revives. I want it to be that, once you have used 4 healing items, if you try to use a fifth one, a message appears saying "you have exceeded the limit of healing items for this battle" or something like that, and the effect of the item gets cancelled.
Does anyone knows how to do so? i tried everything i could.
Also my english is limited. Sorry for the possible errors.