Check Parameters

Hello!

I am trying to figure out how to isolate when one parameter is being changed (Luck)

I have created an alternative to how the equipment window shows parameters using SumRndm's Equipment upgrade as a guide, but now I have all the functionality I want, need to isolate it to just that one parameter.

So in short where as a lot of the code revolves around "paramId" I would like to know how to check just one parameter (param[7]) so i can then place that in a if condition so when it comes back true I can use my new formula and when it is not then it can carry on using the old one.

Any ideas?
Sounds like you'd have to put an "if (paramId === 7)" into the code that checks the parameters in the first place.
@Trihan i was putting ==

Works perfectly can't thank you enough!

Edit: Thread can be closed

Original thread: https://forums.rpgmakerweb.com/threads/check-parameters.77599/