well obviously his source isnt gonna have the OverMaxed variable which makes it useless to him without knowing what to set the custom variable to in the first place
@ OP pretty much just add a bool to check if the user is 8/8 and then in whatever "special item" you use as long as the bool for 8/8 is true then the item can be consumed/used/whatever (if not, deny consumption and send error message saying "You aren't fully maxed yet" or somethin like that) and then add another bool called like "AllowOvermaxing" for example have that set to true once the "special item" is consumed, and then in the current stat increasing code have it check if the AllowOvermaxing is true and if it is to set the limit differently or even make it unlimitied (honestly never even looked at the stat increasing code lol)
Posts 16–21 of 21 · Page 2 of 2
Post a Reply
Tags for this Thread
None
Originally Posted by Riigged
well obviously his source isnt gonna have the OverMaxed variable which makes it useless to him without knowing what to set the custom variable to in the first place
@ OP pretty much just add a bool to check if the user is 8/8 and then in whatever "special item" you use as long as the bool for 8/8 is true then the item can be consumed/used/whatever (if not, deny consumption and send error message saying "You aren't fully maxed yet" or somethin like that) and then add another bool called like "AllowOvermaxing" for example have that set to true once the "special item" is consumed, and then in the current stat increasing code have it check if the AllowOvermaxing is true and if it is to set the limit differently or even make it unlimitied (honestly never even looked at the stat increasing code lol)
OP could've figured that out.
Originally Posted by Stone2405
//bump Didn't get any good answer.
Bro you got the answer + the code.
Don't know what a Boolean is? google it.
If you actually took the time to watch a c# course or did trial and error you would've long gotten it by now.
Originally Posted by cxydsaewq
Bro you got the answer + the code.
Don't know what a Boolean is? google it.
If you actually took the time to watch a c# course or did trial and error you would've long gotten it by now.